html-snapshots 1.3.2 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/common/index.js +57 -3
- package/lib/common/sitemap/sitemap-collection.js +3 -2
- package/lib/common/sitemap/sitemap-index.js +1 -4
- package/lib/common/sitemap/sitemap.js +15 -13
- package/lib/html-snapshots.js +5 -6
- package/lib/input-generators/_base.js +5 -5
- package/package.json +5 -6
- package/.c8rc.json +0 -5
- package/.eslintignore +0 -5
- package/.eslintrc.json +0 -16
- package/.github/issue_template.md +0 -16
- package/.github/workflows/verify.yml +0 -32
- package/docs/example-heroku-redis.md +0 -43
- package/docs/notes.md +0 -42
- package/examples/README.md +0 -149
- package/examples/custom/README.md +0 -22
- package/examples/custom/myFilter.js +0 -22
- package/examples/custom/package-lock.json +0 -2804
- package/examples/custom/package.json +0 -12
- package/examples/custom/snapshot.js +0 -28
- package/examples/debug-phantomjs/README.md +0 -38
- package/examples/debug-phantomjs/package-lock.json +0 -2922
- package/examples/debug-phantomjs/package.json +0 -12
- package/examples/debug-phantomjs/snapshot.js +0 -60
- package/examples/debug-puppeteer/README.md +0 -18
- package/examples/debug-puppeteer/package-lock.json +0 -2804
- package/examples/debug-puppeteer/package.json +0 -12
- package/examples/debug-puppeteer/snapshot.js +0 -30
- package/examples/html5rocks/README.md +0 -22
- package/examples/html5rocks/package-lock.json +0 -3218
- package/examples/html5rocks/package.json +0 -12
- package/examples/html5rocks/snapshot.js +0 -59
- package/examples/process-limit/README.md +0 -24
- package/examples/process-limit/package-lock.json +0 -2830
- package/examples/process-limit/package.json +0 -12
- package/examples/process-limit/snapshot.js +0 -30
- package/examples/simple-promise/README.md +0 -20
- package/examples/simple-promise/package-lock.json +0 -2830
- package/examples/simple-promise/package.json +0 -12
- package/examples/simple-promise/snapshot.js +0 -30
- package/examples/sitemap-index/README.md +0 -20
- package/examples/sitemap-index/package-lock.json +0 -2830
- package/examples/sitemap-index/package.json +0 -12
- package/examples/sitemap-index/snapshot.js +0 -34
- package/examples/verbose/README.md +0 -22
- package/examples/verbose/package-lock.json +0 -2805
- package/examples/verbose/package.json +0 -12
- package/examples/verbose/snapshot.js +0 -34
- package/test/helpers/options.js +0 -55
- package/test/helpers/result.js +0 -32
- package/test/helpers/sitemap.js +0 -130
- package/test/mocha/async/test.js +0 -416
- package/test/mocha/browsers/puppeteer.js +0 -129
- package/test/mocha/browsers/server/index.html +0 -9
- package/test/mocha/browsers/test.js +0 -11
- package/test/mocha/common/helpers.js +0 -87
- package/test/mocha/common/test.js +0 -188
- package/test/mocha/html-snapshots/basics.js +0 -88
- package/test/mocha/html-snapshots/myFilter.js +0 -10
- package/test/mocha/html-snapshots/phantomjs-options.js +0 -156
- package/test/mocha/html-snapshots/process-limit.js +0 -156
- package/test/mocha/html-snapshots/puppeteer.js +0 -47
- package/test/mocha/html-snapshots/robots.js +0 -194
- package/test/mocha/html-snapshots/server/contact/index.html +0 -57
- package/test/mocha/html-snapshots/server/favicon.ico +0 -0
- package/test/mocha/html-snapshots/server/fonts/facebolf-webfont.eot +0 -0
- package/test/mocha/html-snapshots/server/fonts/facebolf-webfont.svg +0 -220
- package/test/mocha/html-snapshots/server/fonts/facebolf-webfont.ttf +0 -0
- package/test/mocha/html-snapshots/server/fonts/facebolf-webfont.woff +0 -0
- package/test/mocha/html-snapshots/server/images/ajax-loader.gif +0 -0
- package/test/mocha/html-snapshots/server/images/art1.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpet.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet1.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet1_th.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet2.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet2_th.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet3.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet3_th.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet4.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/carpets/carpet4_th.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/floor.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/bullets.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/left-arrow-small.png +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/left-arrow.png +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/loading.gif +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/mask-black.png +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/pause-black.png +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/right-arrow-small.png +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/right-arrow.png +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/rotator-black.png +0 -0
- package/test/mocha/html-snapshots/server/images/foundation/orbit/timer-black.png +0 -0
- package/test/mocha/html-snapshots/server/images/home-sprite/certification.png +0 -0
- package/test/mocha/html-snapshots/server/images/home-sprite/cleantrust.png +0 -0
- package/test/mocha/html-snapshots/server/images/home-sprite/institute.png +0 -0
- package/test/mocha/html-snapshots/server/images/home-sprite-s1a48fdbd81.png +0 -0
- package/test/mocha/html-snapshots/server/images/logo-300.png +0 -0
- package/test/mocha/html-snapshots/server/images/slider1-lg.jpg +0 -0
- package/test/mocha/html-snapshots/server/images/slider1.jpg +0 -0
- package/test/mocha/html-snapshots/server/index.css +0 -1
- package/test/mocha/html-snapshots/server/index.html +0 -57
- package/test/mocha/html-snapshots/server/nojq/index.html +0 -46
- package/test/mocha/html-snapshots/server/pjsopts/index.html +0 -55
- package/test/mocha/html-snapshots/server/public/page-sitemap.xml +0 -16
- package/test/mocha/html-snapshots/server/public/wordpress/category-sitemap.xml +0 -13
- package/test/mocha/html-snapshots/server/public/wordpress/page-sitemap.xml +0 -16
- package/test/mocha/html-snapshots/server/public/wordpress/post-sitemap.xml +0 -27
- package/test/mocha/html-snapshots/server/public/wordpress/post_tag-sitemap.xml +0 -17
- package/test/mocha/html-snapshots/server/public/wordpress/product-sitemap.xml +0 -13
- package/test/mocha/html-snapshots/server/public/wordpress-2/category-sitemap.xml +0 -13
- package/test/mocha/html-snapshots/server/public/wordpress-2/page-sitemap.xml +0 -16
- package/test/mocha/html-snapshots/server/public/wordpress-2/post-sitemap.xml +0 -27
- package/test/mocha/html-snapshots/server/public/wordpress-2/post_tag-sitemap.xml +0 -17
- package/test/mocha/html-snapshots/server/public/wordpress-2/product-sitemap.xml +0 -13
- package/test/mocha/html-snapshots/server/require.js +0 -1
- package/test/mocha/html-snapshots/server/services/carpets/index.html +0 -57
- package/test/mocha/html-snapshots/server/test_robots.txt +0 -13
- package/test/mocha/html-snapshots/server/test_robots_sitemap.txt +0 -15
- package/test/mocha/html-snapshots/server/test_robots_sitemap.xml +0 -22
- package/test/mocha/html-snapshots/server/test_sitemap_index-2.xml +0 -25
- package/test/mocha/html-snapshots/server/test_sitemap_index-3.xml +0 -25
- package/test/mocha/html-snapshots/server/test_sitemap_index.xml +0 -25
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/extras/custom-validity.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/extras/modernizr-custom.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/extras/mousepress.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/polyfiller.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvas/canvas2png.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvas/flashcanvas.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvas/flashcanvas.swf +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvas/proxy.php +0 -73
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvas/save.php +0 -49
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/canvas2png.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/flash10canvas.swf +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/flash9canvas.swf +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/flashcanvas.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/proxy.php +0 -73
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/FlashCanvasPro/save.php +0 -49
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/1.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/10.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/11.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/12.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/13.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/14.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/15.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/16.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/17.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/18.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/19.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/2.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/20.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/21.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/22.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/23.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/24.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/25.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/26.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/27.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/3.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/4.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/5.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/59.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/6.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/7.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/8.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/combos/9.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/details.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/dom-extend.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/es5.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/excanvas.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-core.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-datalist.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-message.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-native-extend.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-number-date-api.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-number-date-ui.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/form-shim-extend.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/geolocation.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-ar.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-ch-ZN.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-de.txt +0 -33
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-el.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-en.txt +0 -34
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-es.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-fr.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-he.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-hi.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-hu.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-it.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-ja.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-nl.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-pt-PT.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-ru.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/i18n/errormessages-sv.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/json-storage.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/jwplayer/license.txt +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/jwplayer/player.swf +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/jwplayer/readme.html +0 -87
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-core.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-jaris.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-native-fix.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-swf.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-yt.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/styles/details-arrows.png +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/styles/forms.png +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/styles/polyfill-loader.gif +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/styles/shim.css +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/swf/JarisFLVPlayer.swf +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/swf/jwwebshims.swf +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/swf/localStorage.swf +0 -0
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/track-ui.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/track.js +0 -1
- package/test/mocha/html-snapshots/server/vendor/js/plugins/cload.js +0 -49
- package/test/mocha/html-snapshots/server/vendor/js/plugins/modernizr.js +0 -4
- package/test/mocha/html-snapshots/server/vendor/js/plugins/oldie.js +0 -74
- package/test/mocha/html-snapshots/sitemap-index.js +0 -140
- package/test/mocha/html-snapshots/sitemap.js +0 -104
- package/test/mocha/html-snapshots/snapshot-scripts.js +0 -206
- package/test/mocha/html-snapshots/test.js +0 -105
- package/test/mocha/html-snapshots/test_robots.txt +0 -13
- package/test/mocha/html-snapshots/test_sitemap.xml +0 -22
- package/test/mocha/html-snapshots/use-jquery.js +0 -144
- package/test/mocha/html-snapshots/utils.js +0 -200
- package/test/mocha/input-generators/server/public/wordpress/category-sitemap.xml +0 -13
- package/test/mocha/input-generators/server/public/wordpress/page-sitemap.xml +0 -16
- package/test/mocha/input-generators/server/public/wordpress/post-sitemap.xml +0 -55
- package/test/mocha/input-generators/server/public/wordpress/post_tag-sitemap.xml +0 -25
- package/test/mocha/input-generators/server/public/wordpress/product-sitemap.xml +0 -13
- package/test/mocha/input-generators/server/test_robots.txt +0 -15
- package/test/mocha/input-generators/server/test_robots_bad.txt +0 -11
- package/test/mocha/input-generators/server/test_robots_sitemap.txt +0 -17
- package/test/mocha/input-generators/server/test_robots_sitemap_bad.txt +0 -17
- package/test/mocha/input-generators/server/test_robots_sitemap_multi.txt +0 -18
- package/test/mocha/input-generators/server/test_sitemap.xml +0 -34
- package/test/mocha/input-generators/server/test_sitemap.xml.gz +0 -0
- package/test/mocha/input-generators/server/test_sitemap_bad.xml.gz +0 -0
- package/test/mocha/input-generators/server/test_sitemap_index.xml +0 -25
- package/test/mocha/input-generators/server/test_sitemap_index.xml.gz +0 -0
- package/test/mocha/input-generators/server/test_sitemap_index_empty.xml +0 -3
- package/test/mocha/input-generators/server/test_sitemap_index_malformed.xml +0 -2
- package/test/mocha/input-generators/sitemap-index.js +0 -87
- package/test/mocha/input-generators/sitemap.js +0 -320
- package/test/mocha/input-generators/test.js +0 -1447
- package/test/mocha/input-generators/test_line.txt +0 -5
- package/test/mocha/input-generators/test_robots.txt +0 -15
- package/test/mocha/input-generators/test_robots_bad.txt +0 -11
- package/test/mocha/input-generators/test_robots_sitemap.txt +0 -17
- package/test/mocha/input-generators/test_robots_sitemap_bad.txt +0 -17
- package/test/mocha/input-generators/test_robots_sitemap_multi.txt +0 -18
- package/test/mocha/input-generators/test_sitemap.xml +0 -34
- package/test/mocha/input-generators/test_sitemap.xml.gz +0 -0
- package/test/mocha/input-generators/test_sitemap_bad.xml.gz +0 -0
- package/test/mocha/input-generators/test_sitemap_index.xml +0 -25
- package/test/mocha/input-generators/test_sitemap_index.xml.gz +0 -0
- package/test/server/index.js +0 -32
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
//errormessages for de are already included in webshims core, this is only for information:
|
|
2
|
-
jQuery.webshims.validityMessages.de = {
|
|
3
|
-
"typeMismatch": {
|
|
4
|
-
"email": "{%value} ist keine zulässige E-Mail-Adresse",
|
|
5
|
-
"url": "{%value} ist keine zulässige Webadresse",
|
|
6
|
-
"number": "{%value} ist keine Nummer!",
|
|
7
|
-
"date": "{%value} ist kein Datum",
|
|
8
|
-
"time": "{%value} ist keine Uhrzeit",
|
|
9
|
-
"range": "{%value} ist keine Nummer!",
|
|
10
|
-
"datetime-local": "{%value} ist kein Datum-Uhrzeit Format."
|
|
11
|
-
},
|
|
12
|
-
"tooLong": "Der eingegebene Text ist zu lang! Sie haben {%valueLen} Zeichen eingegeben, dabei sind {%maxlength} das Maximum.",
|
|
13
|
-
"patternMismatch": "{%value} hat für dieses Eingabefeld ein falsches Format! {%title}",
|
|
14
|
-
"valueMissing": {
|
|
15
|
-
"defaultMessage": "Bitte geben Sie einen Wert ein",
|
|
16
|
-
"checkbox": "Bitte aktivieren Sie das Kästchen",
|
|
17
|
-
"select": "Bitte wählen Sie eine Option aus",
|
|
18
|
-
"radio": "Bitte wählen Sie eine Option aus"
|
|
19
|
-
},
|
|
20
|
-
"rangeUnderflow": {
|
|
21
|
-
"defaultMessage": "{%value} ist zu niedrig. {%min} ist der unterste Wert, den Sie benutzen können.",
|
|
22
|
-
"date": "{%value} ist zu früh. {%min} ist die früheste Zeit, die Sie benutzen können.",
|
|
23
|
-
"time": "{%value} ist zu früh. {%min} ist die früheste Zeit, die Sie benutzen können.",
|
|
24
|
-
"datetime-local": "{%value} ist zu früh. {%min} ist die früheste Zeit, die Sie benutzen können."
|
|
25
|
-
},
|
|
26
|
-
"rangeOverflow": {
|
|
27
|
-
"defaultMessage": "{%value} ist zu hoch. {%max} ist der oberste Wert, den Sie benutzen können.",
|
|
28
|
-
"date": "{%value} ist zu spät. {%max} ist die späteste Zeit, die Sie benutzen können.",
|
|
29
|
-
"time": "{%value} ist zu spät. {%max} ist die späteste Zeit, die Sie benutzen können.",
|
|
30
|
-
"datetime-local": "{%value} ist zu spät. {%max} ist die späteste Zeit, die Sie benutzen können."
|
|
31
|
-
},
|
|
32
|
-
"stepMismatch": "Der Wert {%value} ist in diesem Feld nicht zulässig. Hier sind nur bestimmte Werte zulässig. {%title}"
|
|
33
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.validityMessages.el={typeMismatch:{email:"\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b5\u03b9\u03c3\u03ac\u03b3\u03b5\u03c4\u03b5 \u03bc\u03b9\u03b1 \u03b4\u03b9\u03b5\u03cd\u03b8\u03c5\u03bd\u03c3\u03b7 email.",url:"\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b5\u03b9\u03c3\u03ac\u03b3\u03b5\u03c4\u03b5 \u03ad\u03bd\u03b1 URL.",number:"\u039c\u03b7 \u03ad\u03b3\u03ba\u03c5\u03c1\u03b7 \u03c4\u03b9\u03bc\u03ae.",date:"\u039c\u03b7 \u03ad\u03b3\u03ba\u03c5\u03c1\u03b7 \u03c4\u03b9\u03bc\u03ae.",time:"\u039c\u03b7 \u03ad\u03b3\u03ba\u03c5\u03c1\u03b7 \u03c4\u03b9\u03bc\u03ae.",range:"\u039c\u03b7 \u03ad\u03b3\u03ba\u03c5\u03c1\u03b7 \u03c4\u03b9\u03bc\u03ae.","datetime-local":"\u039c\u03b7 \u03ad\u03b3\u03ba\u03c5\u03c1\u03b7 \u03c4\u03b9\u03bc\u03ae."},tooLong:"\u039c\u03b7 \u03ad\u03b3\u03ba\u03c5\u03c1\u03b7 \u03c4\u03b9\u03bc\u03ae.",patternMismatch:"\u0391\u03bd\u03c4\u03b9\u03c3\u03c4\u03bf\u03b9\u03c7\u03af\u03c3\u03c4\u03b5 \u03c4\u03b7 \u03b6\u03b7\u03c4\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7 \u03bc\u03bf\u03c1\u03c6\u03ae. {%title}.",valueMissing:{defaultMessage:"\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03c3\u03c5\u03bc\u03c0\u03bb\u03b7\u03c1\u03ce\u03c3\u03c4\u03b5 \u03b1\u03c5\u03c4\u03cc \u03c4\u03bf \u03c0\u03b5\u03b4\u03af\u03bf.",checkbox:"\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b5\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03b1\u03c5\u03c4\u03cc \u03c4\u03bf \u03ba\u03bf\u03c5\u03c4\u03af \u03b1\u03bd \u03b8\u03ad\u03bb\u03b5\u03c4\u03b5 \u03bd\u03b1 \u03c3\u03c5\u03bd\u03b5\u03c7\u03af\u03c3\u03b5\u03c4\u03b5.",select:"\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b5\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03ad\u03bd\u03b1 \u03b1\u03bd\u03c4\u03b9\u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03bf \u03c3\u03c4\u03b7 \u03bb\u03af\u03c3\u03c4\u03b1.",radio:"\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03ad\u03bd\u03b1 \u03b1\u03c0\u03cc \u03c4\u03b1 \u03c0\u03b1\u03c1\u03b1\u03ba\u03ac\u03c4\u03c9."},rangeUnderflow:{defaultMessage:"\u0397 \u03c4\u03b9\u03bc\u03ae \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b5\u03b3\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03b7 \u03ae \u03af\u03c3\u03b7 \u03c4\u03bf\u03c5 {%min}.",date:"\u0397 \u03c4\u03b9\u03bc\u03ae \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b5\u03b3\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03b7 \u03ae \u03af\u03c3\u03b7 \u03c4\u03bf\u03c5 {%min}.",time:"\u0397 \u03c4\u03b9\u03bc\u03ae \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b5\u03b3\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03b7 \u03ae \u03af\u03c3\u03b7 \u03c4\u03bf\u03c5 {%min}.","datetime-local":"\u0397 \u03c4\u03b9\u03bc\u03ae \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b5\u03b3\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03b7 \u03ae \u03af\u03c3\u03b7 \u03c4\u03bf\u03c5 {%min}."},rangeOverflow:{defaultMessage:"\u0397 \u03c4\u03b9\u03bc\u03ae \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b9\u03ba\u03c1\u03cc\u03c4\u03b5\u03c1\u03b7 \u03ae \u03af\u03c3\u03b7 \u03c4\u03bf\u03c5 {%max}.",date:"\u0397 \u03c4\u03b9\u03bc\u03ae \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b9\u03ba\u03c1\u03cc\u03c4\u03b5\u03c1\u03b7 \u03ae \u03af\u03c3\u03b7 \u03c4\u03bf\u03c5 {%max}.",time:"\u0397 \u03c4\u03b9\u03bc\u03ae \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b9\u03ba\u03c1\u03cc\u03c4\u03b5\u03c1\u03b7 \u03ae \u03af\u03c3\u03b7 \u03c4\u03bf\u03c5 {%max}.","datetime-local":"\u0397 \u03c4\u03b9\u03bc\u03ae \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b9\u03ba\u03c1\u03cc\u03c4\u03b5\u03c1\u03b7 \u03ae \u03af\u03c3\u03b7 \u03c4\u03bf\u03c5 {%max}."},stepMismatch:"\u039c\u03b7 \u03ad\u03b3\u03ba\u03c5\u03c1\u03b7 \u03c4\u03b9\u03bc\u03ae."};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
//errormessages for en are already included in webshims core, this is only for information (by default en is equal to jQuery.webshims.validityMessages[""]):
|
|
2
|
-
|
|
3
|
-
jQuery.webshims.validityMessages.en = {
|
|
4
|
-
"typeMismatch": {
|
|
5
|
-
"email": "Please enter an email address.",
|
|
6
|
-
"url": "Please enter a URL.",
|
|
7
|
-
"number": "Please enter a number.",
|
|
8
|
-
"date": "Please enter a date.",
|
|
9
|
-
"time": "Please enter a time.",
|
|
10
|
-
"range": "Invalid input.",
|
|
11
|
-
"datetime-local": "Please enter a datetime."
|
|
12
|
-
},
|
|
13
|
-
"tooLong": "Please enter at most {%maxlength} character(s). You entered {%valueLen}.",
|
|
14
|
-
"patternMismatch": "Invalid input. {%title}",
|
|
15
|
-
"valueMissing": {
|
|
16
|
-
"defaultMessage": "Please fill out this field.",
|
|
17
|
-
"checkbox": "Please check this box if you want to proceed.",
|
|
18
|
-
"select": "Please select an option.",
|
|
19
|
-
"radio": "Please select an option."
|
|
20
|
-
},
|
|
21
|
-
"rangeUnderflow": {
|
|
22
|
-
"defaultMessage": "Value must be greater than or equal to {%min}.",
|
|
23
|
-
"date": "Value must be at or after {%min}.",
|
|
24
|
-
"time": "Value must be at or after {%min}.",
|
|
25
|
-
"datetime-local": "Value must be at or after {%min}."
|
|
26
|
-
},
|
|
27
|
-
"rangeOverflow": {
|
|
28
|
-
"defaultMessage": "Value must be less than or equal to {%max}.",
|
|
29
|
-
"date": "Value must be at or before {%max}.",
|
|
30
|
-
"time": "Value must be at or before {%max}.",
|
|
31
|
-
"datetime-local": "Value must be at or before {%max}."
|
|
32
|
-
},
|
|
33
|
-
"stepMismatch": "Invalid input."
|
|
34
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.validityMessages.es={typeMismatch:{email:"Por favor, introduzca una direcci\u00f3n de correo.",url:"Por favor, introduzca una URL.",number:"Valor no v\u00e1lido",date:"Valor no v\u00e1lido",time:"Valor no v\u00e1lido",range:"Valor no v\u00e1lido","datetime-local":"Valor no v\u00e1lido"},tooLong:"Valor no v\u00e1lido",patternMismatch:"Por favor, aj\u00fastese al formato solicitado: {%title}.",valueMissing:{defaultMessage:"Por favor, rellene este campo.",checkbox:"Por favor, marque esta casilla si desea continuar.",select:"Por favor, seleccione un elemento de la lista.",radio:"Por favor, seleccione una de estas opciones."},rangeUnderflow:{defaultMessage:"El valor debe superior o igual a {%min}.",date:"El valor debe superior o igual a {%min}.",time:"El valor debe superior o igual a {%min}.","datetime-local":"El valor debe superior o igual a {%min}."},rangeOverflow:{defaultMessage:"El valor debe inferior o igual a {%max}.",date:"El valor debe inferior o igual a {%max}.",time:"El valor debe inferior o igual a {%max}.","datetime-local":"El valor debe inferior o igual a {%max}."},stepMismatch:"Valor no v\u00e1lido"};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.validityMessages.fr={typeMismatch:{email:"Veuillez saisir une adresse courriel valide.",url:"Veuillez saisir une URL.",number:"Valeur incorrecte",date:"Valeur incorrecte",time:"Valeur incorrecte",range:"Valeur incorrecte","datetime-local":"Valeur incorrecte"},tooLong:"Valeur incorrecte",patternMismatch:"Veuillez modifier la valeur du champ pour correspondre au format demand\u00e9 : {%title}.",valueMissing:{defaultMessage:"Veuillez compl\u00e9ter ce champ.",checkbox:"Veuillez cocher cette case si vous d\u00e9sirez poursuivre.",select:"Veuillez s\u00e9lectionner un \u00e9l\u00e9ment de la liste.",radio:"Veuillez s\u00e9lectionner l'une de ces options."},rangeUnderflow:{defaultMessage:"Cette valeur doit \u00eatre sup\u00e9rieure ou \u00e9gale \u00e0 {%min}.",date:"Cette valeur doit \u00eatre sup\u00e9rieure ou \u00e9gale \u00e0 {%min}.",time:"Cette valeur doit \u00eatre sup\u00e9rieure ou \u00e9gale \u00e0 {%min}.","datetime-local":"Cette valeur doit \u00eatre sup\u00e9rieure ou \u00e9gale \u00e0 {%min}."},rangeOverflow:{defaultMessage:"Cette valeur doit \u00eatre inf\u00e9rieure ou \u00e9gale \u00e0 {%max}",date:"Cette valeur doit \u00eatre inf\u00e9rieure ou \u00e9gale \u00e0 {%max}",time:"Cette valeur doit \u00eatre inf\u00e9rieure ou \u00e9gale \u00e0 {%max}","datetime-local":"Cette valeur doit \u00eatre inf\u00e9rieure ou \u00e9gale \u00e0 {%max}"},stepMismatch:"Valeur incorrecte"};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.validityMessages.he={typeMismatch:{email:"\u05e0\u05d0 \u05dc\u05d4\u05d6\u05d9\u05df \u05db\u05ea\u05d5\u05d1\u05ea \u05d3\u05d5\u05d0\u05f4\u05dc.",url:"\u05e0\u05d0 \u05dc\u05d4\u05d6\u05d9\u05df \u05db\u05ea\u05d5\u05d1\u05ea.",number:"\u05e2\u05e8\u05da \u05dc\u05d0 \u05d7\u05d5\u05e7\u05d9.",date:"\u05e2\u05e8\u05da \u05dc\u05d0 \u05d7\u05d5\u05e7\u05d9.",time:"\u05e2\u05e8\u05da \u05dc\u05d0 \u05d7\u05d5\u05e7\u05d9.",range:"\u05e2\u05e8\u05da \u05dc\u05d0 \u05d7\u05d5\u05e7\u05d9.","datetime-local":"\u05e2\u05e8\u05da \u05dc\u05d0 \u05d7\u05d5\u05e7\u05d9."},tooLong:"\u05e2\u05e8\u05da \u05dc\u05d0 \u05d7\u05d5\u05e7\u05d9.",patternMismatch:"\u05e0\u05d0 \u05dc\u05d4\u05ea\u05d0\u05d9\u05dd \u05dc\u05de\u05d1\u05e0\u05d4 \u05d4\u05de\u05d1\u05d5\u05e7\u05e9: {%title}.",valueMissing:{defaultMessage:"\u05d0\u05e0\u05d0 \u05de\u05dc\u05d0 \u05d0\u05ea \u05e9\u05d3\u05d4 \u05d6\u05d4.",checkbox:"\u05e1\u05de\u05df \u05d0\u05ea \u05ea\u05d9\u05d1\u05d4 \u05d6\u05d5 \u05d0\u05dd \u05d1\u05e8\u05e6\u05d5\u05e0\u05da \u05dc\u05d4\u05de\u05e9\u05d9\u05da.",select:"\u05e0\u05d0 \u05dc\u05d1\u05d7\u05d5\u05e8 \u05e4\u05e8\u05d9\u05d8 \u05de\u05d4\u05e8\u05e9\u05d9\u05de\u05d4.",radio:"\u05d0\u05e0\u05d0 \u05d1\u05d7\u05e8 \u05d0\u05d7\u05ea \u05de\u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea \u05d0\u05dc\u05d5."},rangeUnderflow:{defaultMessage:"\u05d4\u05e2\u05e8\u05da \u05d7\u05d9\u05d9\u05d1 \u05dc\u05d4\u05d9\u05d5\u05ea \u05d2\u05d3\u05d5\u05dc \u05de-{%min} \u05d0\u05d5 \u05e9\u05d5\u05d5\u05d4 \u05dc\u05d5.",date:"\u05d4\u05e2\u05e8\u05da \u05d7\u05d9\u05d9\u05d1 \u05dc\u05d4\u05d9\u05d5\u05ea \u05d2\u05d3\u05d5\u05dc \u05de-{%min} \u05d0\u05d5 \u05e9\u05d5\u05d5\u05d4 \u05dc\u05d5.",time:"\u05d4\u05e2\u05e8\u05da \u05d7\u05d9\u05d9\u05d1 \u05dc\u05d4\u05d9\u05d5\u05ea \u05d2\u05d3\u05d5\u05dc \u05de-{%min} \u05d0\u05d5 \u05e9\u05d5\u05d5\u05d4 \u05dc\u05d5.","datetime-local":"\u05d4\u05e2\u05e8\u05da \u05d7\u05d9\u05d9\u05d1 \u05dc\u05d4\u05d9\u05d5\u05ea \u05d2\u05d3\u05d5\u05dc \u05de-{%min} \u05d0\u05d5 \u05e9\u05d5\u05d5\u05d4 \u05dc\u05d5."},rangeOverflow:{defaultMessage:"\u05d4\u05e2\u05e8\u05da \u05d7\u05d9\u05d9\u05d1 \u05dc\u05d4\u05d9\u05d5\u05ea \u05e7\u05d8\u05df \u05de-{%max} \u05d0\u05d5 \u05e9\u05d5\u05d5\u05d4 \u05dc\u05d5.",date:"\u05d4\u05e2\u05e8\u05da \u05d7\u05d9\u05d9\u05d1 \u05dc\u05d4\u05d9\u05d5\u05ea \u05e7\u05d8\u05df \u05de-{%max} \u05d0\u05d5 \u05e9\u05d5\u05d5\u05d4 \u05dc\u05d5.",time:"\u05d4\u05e2\u05e8\u05da \u05d7\u05d9\u05d9\u05d1 \u05dc\u05d4\u05d9\u05d5\u05ea \u05e7\u05d8\u05df \u05de-{%max} \u05d0\u05d5 \u05e9\u05d5\u05d5\u05d4 \u05dc\u05d5.","datetime-local":"\u05d4\u05e2\u05e8\u05da \u05d7\u05d9\u05d9\u05d1 \u05dc\u05d4\u05d9\u05d5\u05ea \u05e7\u05d8\u05df \u05de-{%max} \u05d0\u05d5 \u05e9\u05d5\u05d5\u05d4 \u05dc\u05d5."},stepMismatch:"\u05e2\u05e8\u05da \u05dc\u05d0 \u05d7\u05d5\u05e7\u05d9."};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.validityMessages.hi={typeMismatch:{email:"\u0915\u0943\u092a\u092f\u093e \u0908-\u092e\u0947\u0932 \u092a\u0924\u093e \u0926\u0930\u094d\u091c \u0915\u0930\u0947\u0902.",url:"\u0915\u0943\u092a\u092f\u093e URL \u0932\u093f\u0916\u0947\u0902.",number:"\u0905\u092e\u093e\u0928\u094d\u092f \u092e\u093e\u0928.",date:"\u0905\u092e\u093e\u0928\u094d\u092f \u092e\u093e\u0928.",time:"\u0905\u092e\u093e\u0928\u094d\u092f \u092e\u093e\u0928.",range:"\u0905\u092e\u093e\u0928\u094d\u092f \u092e\u093e\u0928.","datetime-local":"\u0905\u092e\u093e\u0928\u094d\u092f \u092e\u093e\u0928."},tooLong:"\u0905\u092e\u093e\u0928\u094d\u092f \u092e\u093e\u0928.",patternMismatch:"\u0915\u0943\u092a\u092f\u093e \u0905\u0928\u0941\u0930\u094b\u0927\u093f\u0924 \u092a\u094d\u0930\u093e\u0930\u0942\u092a \u0915\u093e \u092e\u093f\u0932\u093e\u0928 \u0915\u0930\u0947\u0902. {%title}.",valueMissing:{defaultMessage:"\u0915\u0943\u092a\u092f\u093e \u0907\u0938 \u095e\u0940\u0932\u094d\u0921 \u0915\u094b \u092d\u0930\u0947\u0902.",checkbox:"\u092f\u0926\u093f \u0906\u092a \u0906\u0917\u0947 \u092c\u0922\u093c\u0928\u093e \u091a\u093e\u0939\u0924\u0947 \u0939\u0948\u0902 \u0924\u094b \u0907\u0938 \u092c\u0949\u0915\u094d\u200d\u0938 \u0915\u094b \u091a\u0947\u0915 \u0915\u0930\u0947\u0902.",select:"\u0915\u0943\u092a\u092f\u093e \u0938\u0942\u091a\u0940 \u092e\u0947\u0902 \u0915\u093f\u0938\u0940 \u0906\u0907\u091f\u092e \u0915\u093e \u091a\u092f\u0928 \u0915\u0930\u0947\u0902.",radio:"\u0915\u0943\u092a\u092f\u093e \u0907\u0928\u092e\u0947\u0902 \u0938\u0947 \u0915\u094b\u0908 \u0935\u093f\u0915\u0932\u094d\u092a \u091a\u0941\u0928\u0947\u0902."},rangeUnderflow:{defaultMessage:"\u092e\u093e\u0928 {%min} \u0938\u0947 \u0915\u092e \u092f\u093e \u0907\u0938\u0915\u0947 \u092c\u0930\u093e\u092c\u0930 \u0939\u094b\u0928\u093e \u091a\u093e\u0939\u093f\u090f.",date:"\u092e\u093e\u0928 {%min} \u0938\u0947 \u0915\u092e \u092f\u093e \u0907\u0938\u0915\u0947 \u092c\u0930\u093e\u092c\u0930 \u0939\u094b\u0928\u093e \u091a\u093e\u0939\u093f\u090f.",time:"\u092e\u093e\u0928 {%min} \u0938\u0947 \u0915\u092e \u092f\u093e \u0907\u0938\u0915\u0947 \u092c\u0930\u093e\u092c\u0930 \u0939\u094b\u0928\u093e \u091a\u093e\u0939\u093f\u090f.","datetime-local":"\u092e\u093e\u0928 {%min} \u0938\u0947 \u0915\u092e \u092f\u093e \u0907\u0938\u0915\u0947 \u092c\u0930\u093e\u092c\u0930 \u0939\u094b\u0928\u093e \u091a\u093e\u0939\u093f\u090f."},rangeOverflow:{defaultMessage:"\u092e\u093e\u0928 {%max} \u0938\u0947 \u0915\u092e \u092f\u093e \u0907\u0938\u0915\u0947 \u092c\u0930\u093e\u092c\u0930 \u0939\u094b\u0928\u093e \u091a\u093e\u0939\u093f\u090f.",date:"\u092e\u093e\u0928 {%max} \u0938\u0947 \u0915\u092e \u092f\u093e \u0907\u0938\u0915\u0947 \u092c\u0930\u093e\u092c\u0930 \u0939\u094b\u0928\u093e \u091a\u093e\u0939\u093f\u090f.",time:"\u092e\u093e\u0928 {%max} \u0938\u0947 \u0915\u092e \u092f\u093e \u0907\u0938\u0915\u0947 \u092c\u0930\u093e\u092c\u0930 \u0939\u094b\u0928\u093e \u091a\u093e\u0939\u093f\u090f.","datetime-local":"\u092e\u093e\u0928 {%max} \u0938\u0947 \u0915\u092e \u092f\u093e \u0907\u0938\u0915\u0947 \u092c\u0930\u093e\u092c\u0930 \u0939\u094b\u0928\u093e \u091a\u093e\u0939\u093f\u090f."},stepMismatch:"\u0905\u092e\u093e\u0928\u094d\u092f \u092e\u093e\u0928."};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.validityMessages.hu={typeMismatch:{email:"\u00cdrjon be egy e-mail c\u00edmet.",url:"\u00cdrjon be egy URL-t.",number:"\u00c9rv\u00e9nytelen \u00e9rt\u00e9k.",date:"\u00c9rv\u00e9nytelen \u00e9rt\u00e9k.",time:"\u00c9rv\u00e9nytelen \u00e9rt\u00e9k.",range:"\u00c9rv\u00e9nytelen \u00e9rt\u00e9k.","datetime-local":"\u00c9rv\u00e9nytelen \u00e9rt\u00e9k."},tooLong:"\u00c9rv\u00e9nytelen \u00e9rt\u00e9k.",patternMismatch:"A k\u00e9rt form\u00e1tumban adja meg az adatot: {%title}.",valueMissing:{defaultMessage:"T\u00f6ltse ki ezt a mez\u0151t.",checkbox:"Jel\u00f6lje be ezt a n\u00e9gyzetet a folytat\u00e1shoz.",select:"Jel\u00f6lj\u00f6n ki egy elemet a list\u00e1b\u00f3l.",radio:"Jel\u00f6lj\u00f6n ki egyet a lehet\u0151s\u00e9gek k\u00f6z\u00fcl."},rangeUnderflow:{defaultMessage:"Az \u00e9rt\u00e9k legyen nagyobb vagy egyenl\u0151, mint {%min}.",date:"Az \u00e9rt\u00e9k legyen nagyobb vagy egyenl\u0151, mint {%min}.",time:"Az \u00e9rt\u00e9k legyen nagyobb vagy egyenl\u0151, mint {%min}.","datetime-local":"Az \u00e9rt\u00e9k legyen nagyobb vagy egyenl\u0151, mint {%min}."},rangeOverflow:{defaultMessage:"Az \u00e9rt\u00e9k legyen kisebb vagy egyenl\u0151, mint {%max}.",date:"Az \u00e9rt\u00e9k legyen kisebb vagy egyenl\u0151, mint {%max}.",time:"Az \u00e9rt\u00e9k legyen kisebb vagy egyenl\u0151, mint {%max}.","datetime-local":"Az \u00e9rt\u00e9k legyen kisebb vagy egyenl\u0151, mint {%max}."},stepMismatch:"\u00c9rv\u00e9nytelen \u00e9rt\u00e9k."};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.validityMessages.it={typeMismatch:{email:"Inserire un indirizzo e-mail",url:"Inserire un URL",number:"Valore non valido.",date:"Valore non valido.",time:"Valore non valido.",range:"Valore non valido.","datetime-local":"Valore non valido."},tooLong:"Valore non valido.",patternMismatch:"Inserire un valore nel formato richiesto: {%title}",valueMissing:{defaultMessage:"Compilare questo campo",checkbox:"Selezionare questa casella per procedere",select:"Selezionare un elemento dall'elenco",radio:"Selezionare una delle opzioni disponibili"},rangeUnderflow:{defaultMessage:"Il valore deve essere superiore o uguale a {%min}.",date:"Il valore deve essere superiore o uguale a {%min}.",time:"Il valore deve essere superiore o uguale a {%min}.","datetime-local":"Il valore deve essere superiore o uguale a {%min}."},rangeOverflow:{defaultMessage:"Il valore deve essere inferiore o uguale a {%max}.",date:"Il valore deve essere inferiore o uguale a {%max}.",time:"Il valore deve essere inferiore o uguale a {%max}.","datetime-local":"Il valore deve essere inferiore o uguale a {%max}."},stepMismatch:"Valore non valido."};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.validityMessages.ja={typeMismatch:{email:"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002",url:"URL \u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002",number:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002",date:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002",time:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002",range:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002","datetime-local":"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002"},tooLong:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002",patternMismatch:"\u5165\u529b\u3055\u308c\u305f\u5024\u304c\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u6307\u5b9a\u3055\u308c\u305f\u66f8\u5f0f\u3068\u7570\u306a\u308a\u307e\u3059: {%title}",valueMissing:{defaultMessage:"\u3053\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u5165\u529b\u5fc5\u9808\u3067\u3059\u3002",checkbox:"\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u304f\u3060\u3055\u3044\u3002",select:"\u30ea\u30b9\u30c8\u304b\u3089\u9805\u76ee\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002",radio:"\u3044\u305a\u308c\u304b\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002"},rangeUnderflow:{defaultMessage:"\u5024\u306f {%min} \u4ee5\u4e0a\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002",date:"\u5024\u306f {%min} \u4ee5\u4e0a\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002",time:"\u5024\u306f {%min} \u4ee5\u4e0a\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002","datetime-local":"\u5024\u306f {%min} \u4ee5\u4e0a\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002"},rangeOverflow:{defaultMessage:"\u5024\u306f {%max} \u4ee5\u4e0b\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002",date:"\u5024\u306f {%max} \u4ee5\u4e0b\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002",time:"\u5024\u306f {%max} \u4ee5\u4e0b\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002","datetime-local":"\u5024\u306f {%max} \u4ee5\u4e0b\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002"},stepMismatch:"\u5024\u304c\u7121\u52b9\u3067\u3059\u3002"};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.validityMessages.nl={typeMismatch:{email:"Voer een e-mailadres in.",url:"Voer een URL in.",number:"Ongeldige waarde.",date:"Ongeldige waarde.",time:"Ongeldige waarde.",range:"Ongeldige waarde.","datetime-local":"Ongeldige waarde."},tooLong:"Ongeldige waarde.",patternMismatch:"Gebruik de verzochte opmaak: {%title}.",valueMissing:{defaultMessage:"Vul dit veld in.",checkbox:"Vink dit vakje aan als u wilt doorgaan.",select:"Selecteer een item in de lijst.",radio:"Selecteer een van deze opties."},rangeUnderflow:{defaultMessage:"Waarde moet groter dan of gelijk zijn aan {%min}.",date:"Waarde moet groter dan of gelijk zijn aan {%min}.",time:"Waarde moet groter dan of gelijk zijn aan {%min}.","datetime-local":"Waarde moet groter dan of gelijk zijn aan {%min}."},rangeOverflow:{defaultMessage:"Waarde moet kleiner dan of gelijk zijn aan {%max}.",date:"Waarde moet kleiner dan of gelijk zijn aan {%max}.",time:"Waarde moet kleiner dan of gelijk zijn aan {%max}.","datetime-local":"Waarde moet kleiner dan of gelijk zijn aan {%max}."},stepMismatch:"Ongeldige waarde."};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.validityMessages["pt-PT"]={typeMismatch:{email:"Por favor escreva um endere\u00e7o de correio.",url:"Por favor escreva o URL.",number:"Valor inv\u00e1lido.",date:"Valor inv\u00e1lido.",time:"Valor inv\u00e1lido.",range:"Valor inv\u00e1lido.","datetime-local":"Valor inv\u00e1lido."},tooLong:"Valor inv\u00e1lido.",patternMismatch:"Por favor corresponda ao formato pedido: {%title}.",valueMissing:{defaultMessage:"Por favor preencha este campo.",checkbox:"Por favor seleccione esta caixa se deseja continuar.",select:"Por favor seleccione um item da lista.",radio:"Por favor seleccione uma destas op\u00e7\u00f5es."},rangeUnderflow:{defaultMessage:"O valor tem de ser superior ou igual a {%min}.",date:"O valor tem de ser superior ou igual a {%min}.",time:"O valor tem de ser superior ou igual a {%min}.","datetime-local":"O valor tem de ser superior ou igual a {%min}."},rangeOverflow:{defaultMessage:"O valor tem de ser inferior ou igual a {%max}.",date:"O valor tem de ser inferior ou igual a {%max}.",time:"O valor tem de ser inferior ou igual a {%max}.","datetime-local":"O valor tem de ser inferior ou igual a {%max}."},stepMismatch:"Valor inv\u00e1lido."};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.validityMessages.ru={typeMismatch:{email:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 e-mail.",url:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b (URL).",number:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043b\u043e.",date:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443.",time:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0432\u0440\u0435\u043c\u044f.",range:"\u0412\u0432\u0435\u0434\u0435\u043d\u043e \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.","datetime-local":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043c\u044f."},tooLong:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 {%maxlength} \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432(\u0430). \u0412\u044b \u0432\u0432\u0435\u043b\u0438 {%valueLen}.",patternMismatch:"\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. {%title}",valueMissing:{defaultMessage:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u044d\u0442\u043e \u043f\u043e\u043b\u0435.",checkbox:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u044d\u0442\u043e\u0442 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c, \u0435\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c.",select:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.",radio:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435."},rangeUnderflow:{defaultMessage:"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e {%min}.",date:"\u0414\u0430\u0442\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c {%min} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0437\u0434\u043d\u044f\u044f.",time:"\u0412\u0440\u0435\u043c\u044f \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c {%min} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0437\u0434\u043d\u0435\u0435.","datetime-local":"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c {%min} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0437\u0434\u043d\u0435\u0435."},rangeOverflow:{defaultMessage:"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e {%max}.",date:"\u0414\u0430\u0442\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c {%max} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u044f\u044f.",time:"\u0412\u0435\u0440\u043c\u044f \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c {%max} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u0435\u0435.","datetime-local":"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c {%max} \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u0435\u0435."},stepMismatch:"\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435."};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.validityMessages.sv={typeMismatch:{email:"Fyll i en e-postadress.",url:"Fyll i en URL.",number:"Fyll i ett nummer.",date:"Fyll i ett datum.",time:"Fyll i en tid.",range:"Felaktig inmatning.","datetime-local":"Fyll i datum och tid."},tooLong:"Fyll i max {%maxlength} tecken. Du fyllde i {%valueLen} tecken.",patternMismatch:"Felaktig inmatning. {%title}",valueMissing:{defaultMessage:"Fyll i detta f\u00e4lt.",checkbox:"Bocka dennaa ruta f\u00f6r att g\u00e5 vidare.",select:"V\u00e4lj n\u00e5got ur listan.",radio:"V\u00e4lj ett av valen."},rangeUnderflow:{defaultMessage:"V\u00e4rdet m\u00e5ste vara st\u00f6rre eller lika med {%min}.",date:"Datumet m\u00e5ste vara efter eller lika med {%min}.",time:"Tiden m\u00e5ste vara efter eller lika med {%min}.","datetime-local":"V\u00e4rdet m\u00e5ste vara efter eller lika med {%min}."},rangeOverflow:{defaultMessage:"V\u00e4rdet m\u00e5ste vara mindre eller lika med {%max}.",date:"Datumet m\u00e5ste vara f\u00f6re eller lika med {%max}.",time:"Tiden m\u00e5ste vara f\u00f6re eller lika med {%max}.","datetime-local":"V\u00e4rdet m\u00e5ste vara f\u00f6re eller lika med {%max}."},stepMismatch:"Felaktig inmatning."};
|
package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/json-storage.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(){if("JSON"in window&&JSON.stringify&&JSON.parse)return;this.JSON||(this.JSON={}),function(){function f(e){return e<10?"0"+e:e}function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,function(e){var t=meta[e];return typeof t=="string"?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var n,r,i,s,o=gap,u,a=t[e];a&&typeof a=="object"&&typeof a.toJSON=="function"&&(a=a.toJSON(e)),typeof rep=="function"&&(a=rep.call(t,e,a));switch(typeof a){case"string":return quote(a);case"number":return isFinite(a)?String(a):"null";case"boolean":case"null":return String(a);case"object":if(!a)return"null";gap+=indent,u=[];if(Object.prototype.toString.apply(a)==="[object Array]"){s=a.length;for(n=0;n<s;n+=1)u[n]=str(n,a)||"null";return i=u.length===0?"[]":gap?"[\n"+gap+u.join(",\n"+gap)+"\n"+o+"]":"["+u.join(",")+"]",gap=o,i}if(rep&&typeof rep=="object"){s=rep.length;for(n=0;n<s;n+=1)r=rep[n],typeof r=="string"&&(i=str(r,a),i&&u.push(quote(r)+(gap?": ":":")+i))}else for(r in a)Object.hasOwnProperty.call(a,r)&&(i=str(r,a),i&&u.push(quote(r)+(gap?": ":":")+i));return i=u.length===0?"{}":gap?"{\n"+gap+u.join(",\n"+gap)+"\n"+o+"}":"{"+u.join(",")+"}",gap=o,i}}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(e){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(e){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;typeof JSON.stringify!="function"&&(JSON.stringify=function(e,t,n){var r;gap="",indent="";if(typeof n=="number")for(r=0;r<n;r+=1)indent+=" ";else typeof n=="string"&&(indent=n);rep=t;if(!t||typeof t=="function"||typeof t=="object"&&typeof t.length=="number")return str("",{"":e});throw new Error("JSON.stringify")}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){function walk(e,t){var n,r,i=e[t];if(i&&typeof i=="object")for(n in i)Object.hasOwnProperty.call(i,n)&&(r=walk(i,n),r!==undefined?i[n]=r:delete i[n]);return reviver.call(e,t,i)}var j;text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()})(),function(){var e=jQuery;if("localStorage"in window&&"sessionStorage"in window){e.webshims.isReady("json-storage",!0);return}var t=function(t){t&&t.indexOf&&t.indexOf(";")!=-1&&setTimeout(function(){e.webshims.warn("Bad key for localStorage: ; in localStorage. name was: "+t)},0)},n,r=!1;e.each(["opener","top","parent"],function(e,t){try{n=window[t];if(n&&"name"in n){var r=n.name;return!1}n=!1}catch(i){n=!1}}),n||(n=window,r=!0);var i=function(e){if(!r)try{window.name=e}catch(t){}try{n.name=e}catch(t){n=window,r=!0}},s=function(){var e;if(!r)try{e=window.name}catch(t){}if(!e)try{e=n.name}catch(t){n=window,r=!0}return e},o=function(e){function n(e,t,n){var r,i;n?(r=new Date,r.setTime(r.getTime()+n*24*60*60*1e3),i="; expires="+r.toGMTString()):i="",document.cookie=e+"="+t+i+"; path=/"}function r(e){var t=e+"=",n=document.cookie.split(";"),r,i;for(r=0;r<n.length;r++){i=n[r];while(i.charAt(0)==" ")i=i.substring(1,i.length);if(i.indexOf(t)===0)return i.substring(t.length,i.length)}return null}function o(t){t=JSON.stringify(t),e=="session"?i(t):n("localStorage",t,365)}function u(){e=="session"?i(""):n("localStorage","",365)}function a(){var t;e=="session"?t=s():t=r("localStorage");if(t)try{t=JSON.parse(t)}catch(n){t={}}return t||{}}var f=a();return{clear:function(){f={},u()},getItem:function(e){return e in f?f[e]:null},key:function(e){var t=0;for(var n in f){if(t==e)return n;t++}return null},removeItem:function(e){delete f[e],o(f)},setItem:function(e,n){t(e),f[e]=n+"",o(f)}}};"sessionStorage"in window||(window.sessionStorage=new o("session")),function(){var n,r="(empty string)+1287520303738",i,s,u=function(i){clearTimeout(n);if(window.localStorage&&(i!="swf"||s&&s.key)){e.webshims.isReady("json-storage",!0);return}if(i==="swf"){s=document.getElementById("swflocalstorageshim");if(!s||typeof s.GetVariable=="undefined")s=document.swflocalstorageshim;if(!s||typeof s.GetVariable=="undefined")s=window.localstorageshim;s&&typeof s.GetVariable!="undefined"&&(window.localStorage={},window.localStorage.clear=function(){s.clear&&s.clear()},window.localStorage.key=function(e){s.key&&s.key(e)},window.localStorage.removeItem=function(e){s.removeItem&&s.removeItem(e)},window.localStorage.setItem=function(e,n){t(e),n+="",n||(n=r),s.setItem&&s.setItem(e,n)},window.localStorage.getItem=function(e){if(!s.getItem)return null;var t=s.getItem(e,t);return t==r&&(t=""),t},e.webshims.log("flash-localStorage was implemented"))}"localStorage"in window||(window.localStorage=new o("local"),e.webshims.warn("implement cookie-localStorage")),e.webshims.isReady("json-storage",!0)},a=e.webshims.cfg["json-storage"];e.webshims.swfLocalStorage={show:function(){a.exceededMessage&&e("#swflocalstorageshim-wrapper").prepend('<div class="polyfill-exceeded-message">'+a.exceededMessage+"</div>"),e("#swflocalstorageshim-wrapper").css({top:e(window).scrollTop()+20,left:e(window).width()/2-e("#swflocalstorageshim-wrapper").outerWidth()/2})},hide:function(t){e("#swflocalstorageshim-wrapper").css({top:"",left:""}).find("div.polyfill-exceeded-message").remove();if(!t){var n=new Error("DOMException: QUOTA_EXCEEDED_ERR");throw n.code=22,n.name="DOMException",n}},isReady:u},e.webshims.ready("DOM swfobject",function(){if(i||"localStorage"in window&&document.getElementById("swflocalstorageshim"))return;i=!0,window.swfobject&&swfobject.hasFlashPlayerVersion("8.0.0")?(e("body").append('<div id="swflocalstorageshim-wrapper"><div id="swflocalstorageshim" /></div>'),swfobject.embedSWF(e.webshims.cfg.basePath+"swf/localStorage.swf"+(e.webshims.cfg.addCacheBuster||""),"swflocalstorageshim","295","198","8.0.0","",{allowscriptaccess:"always"},{name:"swflocalstorageshim"},function(e){!e.success&&!window.localStorage&&u()}),clearTimeout(n),n=setTimeout(function(){"localStorage"in window||e.webshims.warn("Add your development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"),u()},location.protocol.indexOf("file")===0?500:9999)):u()})}()}();
|
package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/jwplayer/license.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
|
package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/jwplayer/player.swf
DELETED
|
Binary file
|
package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/jwplayer/readme.html
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
3
|
-
<head>
|
|
4
|
-
|
|
5
|
-
<title>About the JW Player 5</title>
|
|
6
|
-
|
|
7
|
-
<style type="text/css">
|
|
8
|
-
body { background-color: #fff; padding: 0 20px; color:#000; font: 13px/18px Arial, sans-serif; }
|
|
9
|
-
a { color: #360; }
|
|
10
|
-
h3 { padding-top: 20px; }
|
|
11
|
-
ol { margin:5px 0 15px 16px; padding:0; list-style-type:square; }
|
|
12
|
-
</style>
|
|
13
|
-
|
|
14
|
-
</head>
|
|
15
|
-
<body>
|
|
16
|
-
|
|
17
|
-
<h1>About the JW Player 5</h1>
|
|
18
|
-
<p>Thank you for downloading the JW Player, the leading open source video player for Flash and HTML5 on the Web. Not only is the JW Player the easiest way to put video on your website, but we offer a host of other products and services to assist in providing the best possible video experience for your users.</p>
|
|
19
|
-
|
|
20
|
-
<h3>Quickstart</h3>
|
|
21
|
-
<p>The quickest way to get started is to unzip the file you downloaded (you must have done that if you're reading this!) and copy the contents into a folder called 'jwplayer' at the root of your website. The end result should be:</p>
|
|
22
|
-
<ol>
|
|
23
|
-
<li>{webroot}/jwplayer/player.swf</li>
|
|
24
|
-
<li>{webroot}/jwplayer/jwplayer.js</li>
|
|
25
|
-
<li>etc...</li>
|
|
26
|
-
</ol>
|
|
27
|
-
<p>You can then view the source of this page and copy the code from the example below onto your webpage. That's it! You should see a player on your site.</p>
|
|
28
|
-
|
|
29
|
-
<h3>An Example of the JW Player</h3>
|
|
30
|
-
<p>Below you see a simple embedded example of the JW Player.</p>
|
|
31
|
-
|
|
32
|
-
<!-- START OF THE PLAYER EMBEDDING TO COPY-PASTE -->
|
|
33
|
-
<div id="mediaplayer">JW Player goes here</div>
|
|
34
|
-
|
|
35
|
-
<script type="text/javascript" src="jwplayer.js"></script>
|
|
36
|
-
<script type="text/javascript">
|
|
37
|
-
jwplayer("mediaplayer").setup({
|
|
38
|
-
flashplayer: "player.swf",
|
|
39
|
-
file: "video.mp4",
|
|
40
|
-
image: "preview.jpg"
|
|
41
|
-
});
|
|
42
|
-
</script>
|
|
43
|
-
<!-- END OF THE PLAYER EMBEDDING -->
|
|
44
|
-
|
|
45
|
-
<h3>Support, Documentation and Source Code</h3>
|
|
46
|
-
|
|
47
|
-
<p>If you need help, the LongTail Support Community contains a wealth of information, include a large <a href="http://www.longtailvideo.com/support/jw-player/">library of documentation</a>, a very active <a href="http://www.longtailvideo.com/support/forums/jw-player/">support forum</a>, and a <a href="http://www.longtailvideo.com/support/blog">blog</a> on the latest releases and tips on publishing video.</p>
|
|
48
|
-
|
|
49
|
-
<p>Some documents you might find useful are:</p>
|
|
50
|
-
<ol>
|
|
51
|
-
<li><a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12539/supported-video-and-audio-formats">Supported file formats</a>.</li>
|
|
52
|
-
<li><a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12537/xml-playlist-support">Supported XML playlist formats</a>.</li>
|
|
53
|
-
<li><a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12536/configuration-options">Complete list of configuration options</a> (for customizing the player).</li>
|
|
54
|
-
<li><a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12540/javascript-api-reference">Supported JavaScript API calls</a> (for JavaScript interaction).</li>
|
|
55
|
-
<li><a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/14/skinning-the-jw-player-5">Supported skinning elements</a> (for creating your own graphics).</li>
|
|
56
|
-
<li><a href="http://developer.longtailvideo.com/trac/roadmap/">Roadmap with full changelogs</a> for each version.</li>
|
|
57
|
-
</ol>
|
|
58
|
-
<p>Last, the source code of all different versions of the player can <a href="http://developer.longtailvideo.com/trac/browser/tags">be found here</a>. You can click a version and download the ZIP files (the links are at the bottom).</p>
|
|
59
|
-
|
|
60
|
-
<h3>Licensing</h3>
|
|
61
|
-
<p>The player is licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/">Creative Commons License</a>. It allows you to use, modify and redistribute the script, but only for <b>non-commercial</b> purposes.</p>
|
|
62
|
-
<p>Examples of <b>commercial use</b> include:
|
|
63
|
-
|
|
64
|
-
<ul>
|
|
65
|
-
<li>websites with any advertisements; </li>
|
|
66
|
-
<li>websites owned or operated by corporations; </li>
|
|
67
|
-
<li>websites designed to promote other products, such as a band or artist;</li>
|
|
68
|
-
<li>products (e.g. a CMS) that bundle LongTail products into its offering. </li>
|
|
69
|
-
</ul>
|
|
70
|
-
|
|
71
|
-
If any of the above conditions apply to you, then <a href="http://www.longtailvideo.com/order/" title="Order commercial licenses">please purchase a license for the player</a>. If you are still unsure whether you need to purchase a license, please <a href="http://www.longtailvideo.com/support/contact-us">contact us</a>.</p>
|
|
72
|
-
|
|
73
|
-
<h3>Related Products</h3>
|
|
74
|
-
<p>In addition to the JW Player, <a href="http://www.longtailvideo.com">LongTail Video</a> has a suite of products to help you publish video.</p>
|
|
75
|
-
<p>Learn more about them here:</p>
|
|
76
|
-
|
|
77
|
-
<ul>
|
|
78
|
-
<li><a href="http://www.longtailvideo.com/addons/skins">Skins</a> - Change the look of your player to match your site. <a href="http://www.longtailvideo.com/addons/skins">View our library</a>.</li>
|
|
79
|
-
<li><a href="http://www.longtailvideo.com/addons/plugins">Plugins</a> - Add functionality to your player, like sharing, social networking, analytics, advertising and more. <a href="http://www.longtailvideo.com/addons/plugins">Find one for you</a>.</li>
|
|
80
|
-
<li><a href="http://www.longtailvideo.com/referral.aspx?page=pubreferral&ref=xvwjuhgktajeelu">AdSolution</a> - Monetize your videos with LongTail's AdSolution. Integrate pre-roll, overlay and post-roll ads into your site and starting making money today. <a href="http://www.longtailvideo.com/referral.aspx?page=pubreferral&ref=xvwjuhgktajeelu">Sign up now</a>.</li>
|
|
81
|
-
<li><a href="http://www.bitsontherun.com/via/longtailvideo">Bits on the Run</a> - Upload, encode, store, manage and stream your videos with Bits on the Run, LongTail's end-to-end online video platform. <a href="http://www.bitsontherun.com/via/longtailvideo">Sign up now</a>.</li>
|
|
82
|
-
</ul>
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
</body>
|
|
87
|
-
</html>
|
package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-core.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(e,t,n){"use strict";var r=t.audio&&t.video,i=!1,s=n.bugs,o=function(){n.ready(a,function(){n.mediaelement.createSWF||(n.mediaelement.loadSwf=!0,n.reTest([a],r))})},u=n.cfg.mediaelement,a=u&&u.player=="jwplayer"?"mediaelement-swf":"mediaelement-jaris",f;if(!u){n.error("mediaelement wasn't implemented but loaded");return}if(r){var l=document.createElement("video");t.videoBuffered="buffered"in l,i="loop"in l,n.capturingEvents(["play","playing","waiting","paused","ended","durationchange","loadedmetadata","canplay","volumechange"]),t.videoBuffered||(n.addPolyfill("mediaelement-native-fix",{f:"mediaelement",test:t.videoBuffered,d:["dom-support"]}),n.reTest("mediaelement-native-fix"))}if(r&&!u.preferFlash){var c={1:1,2:1},h=function(t){var r,i=t.target.parentNode;!u.preferFlash&&(e(t.target).is("audio, video")||i&&e("source:last",i)[0]==t.target)&&(r=e(t.target).closest("audio, video"))&&!c[r.prop("error")]&&e(function(){f&&!u.preferFlash?(o(),n.ready("WINDOWLOAD "+a,function(){setTimeout(function(){!u.preferFlash&&n.mediaelement.createSWF&&!r.is(".nonnative-api-active")&&(u.preferFlash=!0,document.removeEventListener("error",h,!0),e("audio, video").each(function(){n.mediaelement.selectSource(this)}),n.info("switching mediaelements option to 'preferFlash', due to an error with native player: "+t.target.src+" Mediaerror: "+r.prop("error")))},9)})):document.removeEventListener("error",h,!0)})};document.addEventListener("error",h,!0),e("audio, video").each(function(){var t=e.prop(this,"error");if(t&&!c[t])return h({target:this}),!1})}t.track&&!s.track&&function(){s.track||(s.track=typeof e("<track />")[0].readyState!="number");if(!s.track)try{new TextTrackCue(2,3,"")}catch(t){s.track=!0}var r=n.cfg.track,i=function(t){e(t.target).filter("track").each(o)},o=function(){if(s.track||!r.override&&e.prop(this,"readyState")==3)r.override=!0,n.reTest("track"),document.removeEventListener("error",i,!0),this&&e.nodeName(this,"track")?n.error("track support was overwritten. Please check your vtt including your vtt mime-type"):n.info("track support was overwritten. due to bad browser support")},u=function(){document.addEventListener("error",i,!0),s.track?o():e("track").each(o)};r.override||(n.isReady("track")?u():e(u))}(),n.register("mediaelement-core",function(e,n,l,c,h){f=swfobject.hasFlashPlayerVersion("9.0.115"),e("html").addClass(f?"swf":"no-swf");var p=n.mediaelement;p.parseRtmp=function(e){var t=e.src.split("://"),r=t[1].split("/"),i,s,o;e.server=t[0]+"://"+r[0]+"/",e.streamId=[];for(i=1,s=r.length;i<s;i++)!o&&r[i].indexOf(":")!==-1&&(r[i]=r[i].split(":")[1],o=!0),o?e.streamId.push(r[i]):e.server+=r[i]+"/";e.streamId.length||n.error("Could not parse rtmp url"),e.streamId=e.streamId.join("/")};var d=function(t,n){t=e(t);var r={src:t.attr("src")||"",elem:t,srcProp:t.prop("src")},i;if(!r.src)return r;i=t.attr("data-server"),i!=null&&(r.server=i),i=t.attr("type"),i?(r.type=i,r.container=e.trim(i.split(";")[0])):(n||(n=t[0].nodeName.toLowerCase(),n=="source"&&(n=(t.closest("video, audio")[0]||{nodeName:"video"}).nodeName.toLowerCase())),r.server?(r.type=n+"/rtmp",r.container=n+"/rtmp"):(i=p.getTypeForSrc(r.src,n,r),i&&(r.type=i,r.container=i))),i=t.attr("media"),i&&(r.media=i);if(r.type=="audio/rtmp"||r.type=="video/rtmp")r.server?r.streamId=r.src:p.parseRtmp(r);return r},v=!f&&"postMessage"in l&&r,m=function(){if(m.loaded)return;m.loaded=!0,e(function(){n.loader.loadList(["track-ui"])})},g=function(){var t;return function(){if(t||!v)return;t=!0,n.loader.loadScript("https://www.youtube.com/player_api"),e(function(){n.polyfill("mediaelement-yt")})}}(),y=function(){f?o():g()};n.addPolyfill("mediaelement-yt",{test:!v,d:["dom-support"]}),p.mimeTypes={audio:{"audio/ogg":["ogg","oga","ogm"],'audio/ogg;codecs="opus"':"opus","audio/mpeg":["mp2","mp3","mpga","mpega"],"audio/mp4":["mp4","mpg4","m4r","m4a","m4p","m4b","aac"],"audio/wav":["wav"],"audio/3gpp":["3gp","3gpp"],"audio/webm":["webm"],"audio/fla":["flv","f4a","fla"],"application/x-mpegURL":["m3u8","m3u"]},video:{"video/ogg":["ogg","ogv","ogm"],"video/mpeg":["mpg","mpeg","mpe"],"video/mp4":["mp4","mpg4","m4v"],"video/quicktime":["mov","qt"],"video/x-msvideo":["avi"],"video/x-ms-asf":["asf","asx"],"video/flv":["flv","f4v"],"video/3gpp":["3gp","3gpp"],"video/webm":["webm"],"application/x-mpegURL":["m3u8","m3u"],"video/MP2T":["ts"]}},p.mimeTypes.source=e.extend({},p.mimeTypes.audio,p.mimeTypes.video),p.getTypeForSrc=function(t,n,r){if(t.indexOf("youtube.com/watch?")!=-1||t.indexOf("youtube.com/v/")!=-1)return"video/youtube";if(t.indexOf("rtmp")===0)return n+"/rtmp";t=t.split("?")[0].split("."),t=t[t.length-1];var i;return e.each(p.mimeTypes[n],function(e,n){if(n.indexOf(t)!==-1)return i=e,!1}),i},p.srces=function(t,n){t=e(t);if(!n){n=[];var r=t[0].nodeName.toLowerCase(),i=d(t,r);return i.src?n.push(i):e("source",t).each(function(){i=d(this,r),i.src&&n.push(i)}),n}t.removeAttr("src").removeAttr("type").find("source").remove(),e.isArray(n)||(n=[n]),n.forEach(function(e){var n=c.createElement("source");typeof e=="string"&&(e={src:e}),n.setAttribute("src",e.src),e.type&&n.setAttribute("type",e.type),e.media&&n.setAttribute("media",e.media),t.append(n)})},e.fn.loadMediaSrc=function(t,n){return this.each(function(){n!==h&&(e(this).removeAttr("poster"),n&&e.attr(this,"poster",n)),p.srces(this,t),e(this).mediaLoad()})},p.swfMimeTypes=["video/3gpp","video/x-msvideo","video/quicktime","video/x-m4v","video/mp4","video/m4p","video/x-flv","video/flv","audio/mpeg","audio/aac","audio/mp4","audio/x-m4a","audio/m4a","audio/mp3","audio/x-fla","audio/fla","youtube/flv","jwplayer/jwplayer","video/youtube","video/rtmp","audio/rtmp"],p.canThirdPlaySrces=function(t,n){var r="";if(f||v)t=e(t),n=n||p.srces(t),e.each(n,function(e,t){if(t.container&&t.src&&(f&&p.swfMimeTypes.indexOf(t.container)!=-1||v&&t.container=="video/youtube"))return r=t,!1});return r};var b={};p.canNativePlaySrces=function(t,n){var i="";if(r){t=e(t);var s=(t[0].nodeName||"").toLowerCase();if(!b[s])return i;n=n||p.srces(t),e.each(n,function(e,n){if(n.type&&b[s].prop._supvalue.call(t[0],n.type))return i=n,!1})}return i},p.setError=function(t,r){r||(r="can't play sources"),e(t).pause().data("mediaerror",r),n.warn("mediaelementError: "+r),setTimeout(function(){e(t).data("mediaerror")&&e(t).trigger("mediaerror")},1)};var w=function(){var e;return function(t,r,i){e||m(),n.ready(f?a:"mediaelement-yt",function(){p.createSWF?p.createSWF(t,r,i):e||(e=!0,y(),w(t,r,i))}),!e&&v&&!p.createSWF&&g()}}(),E=function(e,t,n,r,i){var s;n||n!==!1&&t&&t.isActive=="third"?(s=p.canThirdPlaySrces(e,r),s?w(e,s,t):i?p.setError(e,!1):E(e,t,!1,r,!0)):(s=p.canNativePlaySrces(e,r),s?t&&t.isActive=="third"&&p.setActive(e,"html5",t):i?(p.setError(e,!1),t&&t.isActive=="third"&&p.setActive(e,"html5",t)):E(e,t,!0,r,!0))},S=/^(?:embed|object|datalist)$/i,x=function(t,r){var i=n.data(t,"mediaelementBase")||n.data(t,"mediaelementBase",{}),s=p.srces(t),o=t.parentNode;clearTimeout(i.loadTimer),e.data(t,"mediaerror",!1);if(!s.length||!o||o.nodeType!=1||S.test(o.nodeName||""))return;r=r||n.data(t,"mediaelement"),E(t,r,u.preferFlash||h,s)};p.selectSource=x,e(c).on("ended",function(t){var r=n.data(t.target,"mediaelement");if(i&&(!r||r.isActive=="html5")&&!e.prop(t.target,"loop"))return;setTimeout(function(){if(e.prop(t.target,"paused")||!e.prop(t.target,"loop"))return;e(t.target).prop("currentTime",0).play()},1)}),i||n.defineNodeNamesBooleanProperty(["audio","video"],"loop"),["audio","video"].forEach(function(t){var i=n.defineNodeNameProperty(t,"load",{prop:{value:function(){var e=n.data(this,"mediaelement");x(this,e),r&&(!e||e.isActive=="html5")&&i.prop._supvalue&&i.prop._supvalue.apply(this,arguments)}}});b[t]=n.defineNodeNameProperty(t,"canPlayType",{prop:{value:function(n){var i="";return r&&b[t].prop._supvalue&&(i=b[t].prop._supvalue.call(this,n),i=="no"&&(i="")),!i&&f&&(n=e.trim((n||"").split(";")[0]),p.swfMimeTypes.indexOf(n)!=-1&&(i="maybe")),i}}})}),n.onNodeNamesPropertyModify(["audio","video"],["src","poster"],{set:function(){var e=this,t=n.data(e,"mediaelementBase")||n.data(e,"mediaelementBase",{});clearTimeout(t.loadTimer),t.loadTimer=setTimeout(function(){x(e),e=null},9)}});var T=function(){n.addReady(function(t,i){var s=e("video, audio",t).add(i.filter("video, audio")).each(function(){var t=n.data(this,"mediaelement");r&&e.prop(this,"paused")&&!e.prop(this,"readyState")&&e(this).is('audio[preload="none"][controls]:not([autoplay])')&&(!t||t.isActive=="html5")?e(this).prop("preload","metadata").mediaLoad():x(this,t),r&&function(){var t,n,r=this,i=function(){var t=e.prop(r,"buffered");if(!t)return;var n="";for(var i=0,s=t.length;i<s;i++)n+=t.end(i);return n},s=function(){var t=i();t!=n&&(n=t,e(r).triggerHandler("progress"))};e(this).on({"play loadstart progress":function(e){e.type=="progress"&&(n=i()),clearTimeout(t),t=setTimeout(s,999)},"emptied stalled mediaerror abort suspend":function(e){e.type=="emptied"&&(n=!1),clearTimeout(t)}})}()});!m.loaded&&e("track",s).length&&m(),s=null})};t.track&&!s.track&&n.defineProperty(TextTrack.prototype,"shimActiveCues",{get:function(){return this._shimActiveCues||this.activeCues}}),r?(n.isReady("mediaelement-core",!0),T(),n.ready("WINDOWLOAD mediaelement",y)):n.ready(a,T),n.ready("WINDOWLOAD mediaelement",m)})})(jQuery,Modernizr,jQuery.webshims);
|
package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-jaris.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.register("mediaelement-jaris",function(e,t,n,r,i,s){"use strict";var o=t.mediaelement,u=n.swfobject,a=Modernizr.audio&&Modernizr.video,f=u.hasFlashPlayerVersion("9.0.115"),l=0,c={paused:!0,ended:!1,currentSrc:"",duration:n.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(e){if(e){t.error("buffered index size error");return}return 0},end:function(e){if(e){t.error("buffered index size error");return}return 0},length:0}},h=Object.keys(c),p={currentTime:0,volume:1,muted:!1},d=Object.keys(p),v=e.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,currentTime:0,_ppFlag:i,_calledMeta:!1,lastDuration:0},c,p),m=/^jarisplayer-/,g=function(e){var n=r.getElementById(e.replace(m,""));if(!n)return;var i=t.data(n,"mediaelement");return i.isActive=="third"?i:null},y=function(e){try{e.nodeName}catch(n){return null}var r=t.data(e,"mediaelement");return r&&r.isActive=="third"?r:null},b=function(t,n){n=e.Event(n),n.preventDefault(),e.event.trigger(n,i,t)},w=s.playerPath||t.cfg.basePath+"swf/"+(s.playerName||"JarisFLVPlayer.swf");t.extendUNDEFProp(s.params,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent",allowNetworking:"all"}),t.extendUNDEFProp(s.vars,{controltype:"1",jsapi:"1"}),t.extendUNDEFProp(s.attrs,{bgcolor:"#000000"});var E=function(e,t){e<3&&clearTimeout(t._canplaythroughTimer),e>=3&&t.readyState<3&&(t.readyState=e,b(t._elem,"canplay"),t.paused||b(t._elem,"playing"),clearTimeout(t._canplaythroughTimer),t._canplaythroughTimer=setTimeout(function(){E(4,t)},4e3)),e>=4&&t.readyState<4&&(t.readyState=e,b(t._elem,"canplaythrough")),t.readyState=e};e.extend(e.event.customEvent,{updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0}),o.jarisEvent={};var S,x={onPlayPause:function(e,t,n){var r,i;if(n==null)try{r=t.api.api_get("isPlaying")}catch(s){}else r=n;r==t.paused&&(t.paused=!r,i=t.paused?"pause":"play",t._ppFlag=!0,b(t._elem,i),t.readyState<3&&E(3,t),t.paused||b(t._elem,"playing"))},onNotBuffering:function(e,t){E(3,t)},onDataInitialized:function(e,t){var n=t.duration,r;t.duration=e.duration;if(n==t.duration||isNaN(t.duration))return;if(t._calledMeta&&(r=Math.abs(t.lastDuration-t.duration))<2)return;t.videoHeight=e.height,t.videoWidth=e.width,t.networkState||(t.networkState=2),t.readyState<1&&E(1,t),clearTimeout(t._durationChangeTimer),t._calledMeta&&t.duration?t._durationChangeTimer=setTimeout(function(){t.lastDuration=t.duration,b(t._elem,"durationchange")},r>50?0:r>9?9:99):(t.lastDuration=t.duration,t.duration&&b(t._elem,"durationchange"),t._calledMeta||b(t._elem,"loadedmetadata")),t._calledMeta=!0},onBuffering:function(e,t){t.ended&&(t.ended=!1),E(1,t),b(t._elem,"waiting")},onTimeUpdate:function(e,t){t.ended&&(t.ended=!1),t.readyState<3&&(E(3,t),b(t._elem,"playing")),b(t._elem,"timeupdate")},onProgress:function(t,n){n.ended&&(n.ended=!1);if(!n.duration||isNaN(n.duration))return;var r=t.loaded/t.total;r>.02&&r<.2?E(3,n):r>.2&&(r>.99&&(n.networkState=1),E(4,n)),n._bufferedEnd&&n._bufferedEnd>r&&(n._bufferedStart=n.currentTime||0),n._bufferedEnd=r,n.buffered.length=1,e.event.trigger("progress",i,n._elem,!0)},onPlaybackFinished:function(e,t){t.readyState<4&&E(4,t),t.ended=!0,b(t._elem,"ended")},onVolumeChange:function(e,t){if(t.volume!=e.volume||t.muted!=e.mute)t.volume=e.volume,t.muted=e.mute,b(t._elem,"volumechange")},ready:function(){var n=function(e){var t=!0;try{e.api.api_get("volume")}catch(n){t=!1}return t};return function(r,i){var s=0,o=function(){if(s>9){i.tryedReframeing=0;return}s++,i.tryedReframeing++,n(i)?(i.wasSwfReady=!0,i.tryedReframeing=0,N(i),T(i)):i.tryedReframeing<6?i.tryedReframeing<3?(i.reframeTimer=setTimeout(o,9),i.shadowElem.css({overflow:"visible"}),setTimeout(function(){i.shadowElem.css({overflow:"hidden"})},1)):(i.shadowElem.css({overflow:"hidden"}),e(i._elem).mediaLoad()):(clearTimeout(i.reframeTimer),t.error("reframing error"))};if(!i||!i.api)return;i.tryedReframeing||(i.tryedReframeing=0),clearTimeout(S),clearTimeout(i.reframeTimer),i.shadowElem.removeClass("flashblocker-assumed"),s?i.reframeTimer=setTimeout(o,9):o()}}()};x.onMute=x.onVolumeChange;var T=function(e){var n=e.actionQueue.length,r=0,i;if(n&&e.isActive=="third")while(e.actionQueue.length&&n>r){r++,i=e.actionQueue.shift();try{e.api[i.fn].apply(e.api,i.args)}catch(s){t.warn(s)}}e.actionQueue.length&&(e.actionQueue=[])},N=function(t){if(!t)return;(t._ppFlag===i&&e.prop(t._elem,"autoplay")||!t.paused)&&setTimeout(function(){if(t.isActive=="third"&&(t._ppFlag===i||!t.paused))try{e(t._elem).play(),t._ppFlag=!0}catch(n){}},1),t.muted&&e.prop(t._elem,"muted",!0),t.volume!=1&&e.prop(t._elem,"volume",t.volume)},C=e.noop;if(a){var k={play:1,playing:1},L=["play","pause","playing","canplay","progress","waiting","ended","loadedmetadata","durationchange","emptied"],A=L.map(function(e){return e+".webshimspolyfill"}).join(" "),O={html5:"third",third:"html5"},M=function(n){var r=t.data(n.target,"mediaelement");if(!r)return;var i=n.originalEvent&&n.originalEvent.type===n.type;i==(r.activating=="third")&&(n.stopImmediatePropagation(),k[n.type]&&(r.isActive!=r.activating?e(n.target).pause():(r.isActive=O[r.isActive],e(n.target).pause(),r.isActive=O[r.isActive])))};C=function(n){e(n).off(A).on(A,M),L.forEach(function(e){t.moveToFirstEvent(n,e)})},C(r)}o.setActive=function(n,r,i){i||(i=t.data(n,"mediaelement"));if(!i||i.isActive==r)return;r!="html5"&&r!="third"&&t.warn("wrong type for mediaelement activating: "+r);var s=t.data(n,"shadowData");i.activating=r,e(n).pause(),i.isActive=r,r=="third"?(s.shadowElement=s.shadowFocusElement=i.shadowElem[0],e(n).addClass("swf-api-active nonnative-api-active").hide().getShadowElement().show()):(e(n).removeClass("swf-api-active nonnative-api-active").show().getShadowElement().hide(),s.shadowElement=s.shadowFocusElement=!1),e(n).trigger("mediaelementapichange")};var _=function(){var e=["_calledMeta","lastDuration","_bufferedEnd","_bufferedStart","_ppFlag","currentSrc","currentTime","duration","ended","networkState","paused","videoHeight","videoWidth"],t=e.length;return function(n){if(!n)return;var r=t,i=n.networkState;E(0,n),clearTimeout(n._durationChangeTimer);while(--r>-1)delete n[e[r]];n.actionQueue=[],n.buffered.length=0,i&&b(n._elem,"emptied")}}(),D=function(t,n){var r=t._elem,i=t.shadowElem;e(r)[n?"addClass":"removeClass"]("webshims-controls"),t._elemNodeName=="audio"&&!n?i.css({width:0,height:0}):i.css({width:r.style.width||e(r).width(),height:r.style.height||e(r).height()})};o.createSWF=function(n,i,c){if(!f){setTimeout(function(){e(n).mediaLoad()},1);return}l<1?l=1:l++;var h=i.type=="audio/rtmp"||i.type=="video/rtmp",p=e.extend({},s.vars,{poster:e.attr(n,"poster")&&e.prop(n,"poster")||"",source:i.streamId||i.srcProp,server:i.server||""}),d=e(n).data("vars")||{};c||(c=t.data(n,"mediaelement"));var m=e.prop(n,"controls"),g="jarisplayer-"+t.getID(n),y=e.extend({},s.params,e(n).data("params")),b=n.nodeName.toLowerCase(),E=e.extend({},s.attrs,{name:g,id:g},e(n).data("attrs")),T;if(c&&c.swfCreated)o.setActive(n,"third",c),c.currentSrc=i.srcProp,c.shadowElem.html('<div id="'+g+'">'),c.api=!1,c.actionQueue=[],T=c.shadowElem,_(c);else{var N=function(){D(c,e.prop(n,"controls"))};T=e('<div class="polyfill-'+b+' polyfill-mediaelement" id="wrapper-'+g+'"><div id="'+g+'"></div>').css({position:"relative",overflow:"hidden"}),c=t.data(n,"mediaelement",t.objectCreate(v,{actionQueue:{value:[]},shadowElem:{value:T},_elemNodeName:{value:b},_elem:{value:n},currentSrc:{value:i.srcProp},swfCreated:{value:!0},id:{value:g.replace(/-/g,"")},buffered:{value:{start:function(e){if(e>=c.buffered.length){t.error("buffered index size error");return}return 0},end:function(e){if(e>=c.buffered.length){t.error("buffered index size error");return}return(c.duration-c._bufferedStart)*c._bufferedEnd+c._bufferedStart},length:0}}})),D(c,m),T.insertBefore(n),a&&e.extend(c,{volume:e.prop(n,"volume"),muted:e.prop(n,"muted"),paused:e.prop(n,"paused")}),t.addShadowDom(n,T),C(n),o.setActive(n,"third",c),e(r).on("updateshadowdom",N),e(n).on("updatemediaelementdimensions",N)}o.jarisEvent[c.id]||(o.jarisEvent[c.id]=function(e){e.type=="ready"?c.api?x[e.type](e,c):setTimeout(function(){x[e.type](e,c)},9):(c.currentTime=e.position,c.api&&(!c._calledMeta&&isNaN(e.duration)&&c.duration!=e.duration&&isNaN(c.duration)&&x.onDataInitialized(e,c),!c._ppFlag&&e.type!="onPlayPause"&&x.onPlayPause(e,c),x[e.type]&&x[e.type](e,c)),c.duration=e.duration)}),e.extend(p,{id:g,evtId:c.id,controls:""+m,autostart:"false",nodename:b},d),h?p.streamtype="rtmp":i.type=="audio/mpeg"||i.type=="audio/mp3"?(p.type="audio",p.streamtype="file"):i.type=="video/youtube"&&(p.streamtype="youtube"),s.changeSWF(p,n,i,c,"embed"),clearTimeout(c.flashBlock),u.embedSWF(w,g,"100%","100%","9.0.0",!1,p,y,E,function(r){r.success&&(c.api=r.ref,m||e(r.ref).attr("tabindex","-1").css("outline","none"),c.flashBlock=setTimeout(function(){if(!r.ref.parentNode&&T[0].parentNode||r.ref.style.display=="none")T.addClass("flashblocker-assumed"),e(n).trigger("flashblocker"),t.warn("flashblocker assumed");e(r.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),S||(clearTimeout(S),S=setTimeout(function(){var n=e(r.ref);n[0].offsetWidth>1&&n[0].offsetHeight>1&&location.protocol.indexOf("file:")===0?t.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):(n[0].offsetWidth<2||n[0].offsetHeight<2)&&t.warn("JS-SWF connection can't be established on hidden or unconnected flash objects"),n=null},8e3)))})};var P=function(e,t,n,r){return r=r||y(e),r?(r.api&&r.api[t]?r.api[t].apply(r.api,n||[]):(r.actionQueue.push({fn:t,args:n}),r.actionQueue.length>10&&setTimeout(function(){r.actionQueue.length>5&&r.actionQueue.shift()},99)),r):!1};["audio","video"].forEach(function(n){var r={},i,s=function(e){if(n=="audio"&&(e=="videoHeight"||e=="videoWidth"))return;r[e]={get:function(){var t=y(this);return t?t[e]:a&&i[e].prop._supget?i[e].prop._supget.apply(this):v[e]},writeable:!1}},o=function(e,t){s(e),delete r[e].writeable,r[e].set=t};o("volume",function(e){var n=y(this);if(n)e*=1,isNaN(e)||((e<0||e>1)&&t.error("volume greater or less than allowed "+e/100),P(this,"api_volume",[e],n),n.volume!=e&&(n.volume=e,b(n._elem,"volumechange")),n=null);else if(i.volume.prop._supset)return i.volume.prop._supset.apply(this,arguments)}),o("muted",function(e){var t=y(this);if(t)e=!!e,P(this,"api_muted",[e],t),t.muted!=e&&(t.muted=e,b(t._elem,"volumechange")),t=null;else if(i.muted.prop._supset)return i.muted.prop._supset.apply(this,arguments)}),o("currentTime",function(e){var t=y(this);if(t)e*=1,isNaN(e)||P(this,"api_seek",[e],t);else if(i.currentTime.prop._supset)return i.currentTime.prop._supset.apply(this,arguments)}),["play","pause"].forEach(function(e){r[e]={value:function(){var t=y(this);if(t)t.stopPlayPause&&clearTimeout(t.stopPlayPause),P(this,e=="play"?"api_play":"api_pause",[],t),t._ppFlag=!0,t.paused!=(e!="play")&&(t.paused=e!="play",b(t._elem,e));else if(i[e].prop._supvalue)return i[e].prop._supvalue.apply(this,arguments)}}}),h.forEach(s),t.onNodeNamesPropertyModify(n,"controls",function(r,i){var s=y(this);e(this)[i?"addClass":"removeClass"]("webshims-controls"),s&&(t.warn("changing controls currently not fully supported with jaris player"),n=="audio"&&D(s,i),P(this,"api_controls",[i],s))}),i=t.defineNodeNameProperties(n,r,"prop")});if(f&&e.cleanData){var H=e.cleanData,B={object:1,OBJECT:1};e.cleanData=function(e){var t,n,r;if(e&&(n=e.length)&&l)for(t=0;t<n;t++)if(B[e[t].nodeName]){if("api_pause"in e[t]){l--;try{e[t].api_pause()}catch(i){}}try{for(r in e[t])typeof e[t][r]=="function"&&(e[t][r]=null)}catch(i){}}return H.apply(this,arguments)}}a||(["poster","src"].forEach(function(e){t.defineNodeNamesProperty(e=="src"?["audio","video","source"]:["video"],e,{reflect:!0,propType:"src"})}),["autoplay","controls"].forEach(function(e){t.defineNodeNamesBooleanProperty(["audio","video"],e)}),t.defineNodeNamesProperties(["audio","video"],{HAVE_CURRENT_DATA:{value:2},HAVE_ENOUGH_DATA:{value:4},HAVE_FUTURE_DATA:{value:3},HAVE_METADATA:{value:1},HAVE_NOTHING:{value:0},NETWORK_EMPTY:{value:0},NETWORK_IDLE:{value:1},NETWORK_LOADING:{value:2},NETWORK_NO_SOURCE:{value:3}},"prop"))});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.register("mediaelement-native-fix",function(e,t,n,r,i){if(Modernizr.videoBuffered)return;var s=function(e){var n=t.data(e,"mediaelementBuffered");return n||(n={buffered:{start:function(e){if(e>=n.buffered.length){t.error("buffered index size error");return}return 0},end:function(e){if(e>=n.buffered.length){t.error("buffered index size error");return}return n.loaded},length:0},loaded:0},t.data(e,"mediaelementBuffered",n)),n},o=function(n){n=n.originalEvent;if(!n||!("lengthComputable"in n))return;var r=t.data(n.target,"mediaelement");if(r&&r.isActive!="html5")return;if(n.lengthComputable&&"loaded"in n){var i=n.target.duration,o=s(n.target);o.loaded=i?n.loaded/n.total*i:0,o.loaded&&(o.buffered.length=1),n.type=="load"&&e(n.target).triggerHandler("progress")}},u=function(e){var t=s(e.target);t.buffered.length=0,t.loaded=0};["audio","video"].forEach(function(e){var n=t.defineNodeNameProperty(e,"buffered",{prop:{get:function(){var e=t.data(this,"mediaelement");if(!e||e.isActive!="flash"||!n.prop._supget)return s(this).buffered;n.prop._supget.apply(this)}}})}),function(){var e=r.createElement("video");if(!("preload"in e)&&"autobuffer"in e){var n={metadata:1,none:1};t.onNodeNamesPropertyModify(["audio","video"],["preload"],{set:function(e,r,i){n[e]||i=="removeAttr"?this.autobuffer=!1:!(t.data(this,"mediaelement")||{}).isActive=="html5"&&(this.autobuffer=!0)},initAttr:!0})}}(),t.addReady(function(t,n){e("video, audio",t).add(n.filter("video, audio")).on("load progress",o).on("emptied",u)})});
|
package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-swf.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.register("mediaelement-swf",function(e,t,n,r,i,s){"use strict";var o="sendEvent",u=t.mediaelement,a=n.swfobject,f=Modernizr.audio&&Modernizr.video,l=a.hasFlashPlayerVersion("9.0.115"),c=0,h={paused:!0,ended:!1,currentSrc:"",duration:n.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(e){if(e){t.error("buffered index size error");return}return 0},end:function(e){if(e){t.error("buffered index size error");return}return 0},length:0}},p=Object.keys(h),d={currentTime:0,volume:1,muted:!1},v=Object.keys(d),m=e.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_bufferedEnd:0,_bufferedStart:0,_metadata:!1,_durationCalcs:-1,_callMeta:!1,currentTime:0,_ppFlag:i},h,d),g=/^jwplayer-/,y=function(e){var n=r.getElementById(e.replace(g,""));if(!n)return;var i=t.data(n,"mediaelement");return i.isActive=="third"?i:null},b=function(e){try{e.nodeName}catch(n){return null}var r=t.data(e,"mediaelement");return r&&r.isActive=="third"?r:null},w=function(t,n){n=e.Event(n),n.preventDefault(),e.event.trigger(n,i,t)},E=s.playerPath||t.cfg.basePath+"jwplayer/"+(s.playerName||"player.swf"),S=s.pluginPath||t.cfg.basePath+"swf/jwwebshims.swf";t.extendUNDEFProp(s.params,{allowscriptaccess:"always",allowfullscreen:"true",wmode:"transparent"}),t.extendUNDEFProp(s.vars,{screencolor:"ffffffff"}),t.extendUNDEFProp(s.attrs,{bgcolor:"#000000"});var x=function(t,n){var r=t.duration;if(r&&t._durationCalcs>0)return;try{t.duration=t.jwapi.getPlaylist()[0].duration;if(!t.duration||t.duration<=0||t.duration===t._lastDuration)t.duration=r}catch(i){}t.duration&&t.duration!=t._lastDuration?(w(t._elem,"durationchange"),(t._elemNodeName=="audio"||t._callMeta)&&u.jwEvents.Model.META(e.extend({duration:t.duration},n),t),t._durationCalcs--):t._durationCalcs++},T=function(e,t){e<3&&clearTimeout(t._canplaythroughTimer),e>=3&&t.readyState<3&&(t.readyState=e,w(t._elem,"canplay"),clearTimeout(t._canplaythroughTimer),t._canplaythroughTimer=setTimeout(function(){T(4,t)},4e3)),e>=4&&t.readyState<4&&(t.readyState=e,w(t._elem,"canplaythrough")),t.readyState=e};e.extend(e.event.customEvent,{updatemediaelementdimensions:!0,flashblocker:!0,swfstageresize:!0,mediaelementapichange:!0}),u.jwEvents={View:{PLAY:function(e){var t=y(e.id);if(!t||t.stopPlayPause)return;t._ppFlag=!0,t.paused==e.state&&(t.paused=!e.state,t.ended&&(t.ended=!1),w(t._elem,e.state?"play":"pause"))}},Model:{BUFFER:function(t){var n=y(t.id);if(!n||!("percentage"in t)||n._bufferedEnd==t.percentage)return;n.networkState=t.percentage==100?1:2,(isNaN(n.duration)||t.percentage>5&&t.percentage<25||t.percentage===100)&&x(n,t),n.ended&&(n.ended=!1);if(!n.duration)return;t.percentage>2&&t.percentage<20?T(3,n):t.percentage>20&&T(4,n),n._bufferedEnd&&n._bufferedEnd>t.percentage&&(n._bufferedStart=n.currentTime||0),n._bufferedEnd=t.percentage,n.buffered.length=1,t.percentage==100&&(n.networkState=1,T(4,n)),e.event.trigger("progress",i,n._elem,!0)},META:function(e,t){t=t&&t.networkState?t:y(e.id);if(!t)return;if(!("duration"in e)){t._callMeta=!0;return}if(t._metadata&&(!e.height||t.videoHeight==e.height)&&e.duration===t.duration)return;t._metadata=!0;var n=t.duration;e.duration&&(t.duration=e.duration),t._lastDuration=t.duration;if(e.height||e.width)t.videoHeight=e.height||0,t.videoWidth=e.width||0;t.networkState||(t.networkState=2),t.readyState<1&&T(1,t),t.duration&&n!==t.duration&&w(t._elem,"durationchange"),w(t._elem,"loadedmetadata")},TIME:function(e){var t=y(e.id);if(!t||t.currentTime===e.position)return;t.currentTime=e.position,t.duration&&t.duration<t.currentTime&&x(t,e),t.readyState<2&&T(2,t),t.ended&&(t.ended=!1),w(t._elem,"timeupdate")},STATE:function(e){var t=y(e.id);if(!t)return;switch(e.newstate){case"BUFFERING":t.ended&&(t.ended=!1),T(1,t),w(t._elem,"waiting");break;case"PLAYING":t.paused=!1,t._ppFlag=!0,t.duration||x(t,e),t.readyState<3&&T(3,t),t.ended&&(t.ended=!1),w(t._elem,"playing");break;case"PAUSED":!t.paused&&!t.stopPlayPause&&(t.paused=!0,t._ppFlag=!0,w(t._elem,"pause"));break;case"COMPLETED":t.readyState<4&&T(4,t),t.ended=!0,w(t._elem,"ended")}}},Controller:{ERROR:function(e){var t=y(e.id);if(!t)return;u.setError(t._elem,e.message)},SEEK:function(e){var t=y(e.id);if(!t)return;t.ended&&(t.ended=!1);if(t.paused)try{t.jwapi[o]("play","false")}catch(n){}t.currentTime!=e.position&&(t.currentTime=e.position,w(t._elem,"timeupdate"))},VOLUME:function(e){var t=y(e.id);if(!t)return;var n=e.percentage/100;if(t.volume==n)return;t.volume=n,w(t._elem,"volumechange")},MUTE:function(e){if(e.state)return;var t=y(e.id);if(!t)return;if(t.muted==e.state)return;t.muted=e.state,w(t._elem,"volumechange")}}};var N=function(t){var n=!0;return e.each(u.jwEvents,function(r,i){e.each(i,function(e){try{t.jwapi["add"+r+"Listener"](e,"jQuery.webshims.mediaelement.jwEvents."+r+"."+e)}catch(i){return n=!1,!1}})}),n},C=function(e){var t=e.actionQueue.length,n=0,r;if(t&&e.isActive=="third")while(e.actionQueue.length&&t>n)n++,r=e.actionQueue.shift(),e.jwapi[r.fn].apply(e.jwapi,r.args);e.actionQueue.length&&(e.actionQueue=[])},k=function(t){if(!t)return;(t._ppFlag===i&&e.prop(t._elem,"autoplay")||!t.paused)&&setTimeout(function(){if(t.isActive=="third"&&(t._ppFlag===i||!t.paused))try{e(t._elem).play()}catch(n){}},1)};u.playerResize=function(t){if(!t)return;var n=r.getElementById(t.replace(g,""));n&&e(n).triggerHandler("swfstageresize"),n=null},e(r).on("emptied",function(e){var t=b(e.target);k(t)});var L;u.jwPlayerReady=function(n){var r=y(n.id),i=!0,s=0,o=function(){if(s>9)return;s++;if(N(r)){if(!r.wasSwfReady){var i=parseFloat(n.version,10);(i<5.1||i>=6)&&t.warn("mediaelement-swf is only testet with jwplayer 5.6+")}else e(r._elem).mediaLoad();r.wasSwfReady=!0,r.tryedReframeing=0,C(r),k(r)}else clearTimeout(r.reframeTimer),r.reframeTimer=setTimeout(o,9*s),s>2&&r.tryedReframeing<9&&(r.tryedReframeing++,r.shadowElem.css({overflow:"visible"}),setTimeout(function(){r.shadowElem.css({overflow:"hidden"})},16))};if(!r||!r.jwapi)return;r.tryedReframeing||(r.tryedReframeing=0),clearTimeout(L),r.jwData=n,r.shadowElem.removeClass("flashblocker-assumed"),e.prop(r._elem,"volume",r.volume),e.prop(r._elem,"muted",r.muted),o()};var A=e.noop;if(f){var O={play:1,playing:1},M=["play","pause","playing","canplay","progress","waiting","ended","loadedmetadata","durationchange","emptied"],_=M.map(function(e){return e+".webshimspolyfill"}).join(" "),D={html5:"third",third:"html5"},P=function(n){var r=t.data(n.target,"mediaelement");if(!r)return;var i=n.originalEvent&&n.originalEvent.type===n.type;i==(r.activating=="third")&&(n.stopImmediatePropagation(),O[n.type]&&(r.isActive!=r.activating?e(n.target).pause():(r.isActive=D[r.isActive],e(n.target).pause(),r.isActive=D[r.isActive])))};A=function(n){e(n).off(_).on(_,P),M.forEach(function(e){t.moveToFirstEvent(n,e)})},A(r)}u.setActive=function(n,r,i){i||(i=t.data(n,"mediaelement"));if(!i||i.isActive==r)return;r!="html5"&&r!="third"&&t.warn("wrong type for mediaelement activating: "+r);var s=t.data(n,"shadowData");i.activating=r,e(n).pause(),i.isActive=r,r=="third"?(s.shadowElement=s.shadowFocusElement=i.shadowElem[0],e(n).addClass("swf-api-active nonnative-api-active").hide().getShadowElement().show()):(e(n).removeClass("swf-api-active nonnative-api-active").show().getShadowElement().hide(),s.shadowElement=s.shadowFocusElement=!1),e(n).trigger("mediaelementapichange")};var H=function(){var e=["_bufferedEnd","_bufferedStart","_metadata","_ppFlag","currentSrc","currentTime","duration","ended","networkState","paused","videoHeight","videoWidth","_callMeta","_durationCalcs"],t=e.length;return function(n){if(!n)return;var r=t,i=n.networkState;T(0,n);while(--r)delete n[e[r]];n.actionQueue=[],n.buffered.length=0,i&&w(n._elem,"emptied")}}(),B=function(t,n){var r=t._elem,i=t.shadowElem;e(r)[n?"addClass":"removeClass"]("webshims-controls"),t._elemNodeName=="audio"&&!n?i.css({width:0,height:0}):i.css({width:r.style.width||e(r).width(),height:r.style.height||e(r).height()})};u.createSWF=function(n,i,h){if(!l){setTimeout(function(){e(n).mediaLoad()},1);return}c<1?c=1:c++;var p=e.extend({},s.vars,{image:e.attr(n,"poster")&&e.prop(n,"poster")||"",file:i.streamId||i.srcProp}),d=e(n).data("vars")||{};i.server&&(p.streamer=i.server),h||(h=t.data(n,"mediaelement"));if(h&&h.swfCreated){u.setActive(n,"third",h),H(h),h.currentSrc=i.srcProp,e.extend(p,d),s.changeSWF(p,n,i,h,"load"),j(n,o,["LOAD",p]);return}var v=e.prop(n,"controls"),g="jwplayer-"+t.getID(n),y=e.extend({},s.params,e(n).data("params")),b=n.nodeName.toLowerCase(),w=e.extend({},s.attrs,{name:g,id:g},e(n).data("attrs")),x=e('<div class="polyfill-'+b+' polyfill-mediaelement" id="wrapper-'+g+'"><div id="'+g+'"></div>').css({position:"relative",overflow:"hidden"}),T=function(){B(h,e.prop(n,"controls"))};h=t.data(n,"mediaelement",t.objectCreate(m,{actionQueue:{value:[]},shadowElem:{value:x},_elemNodeName:{value:b},_elem:{value:n},currentSrc:{value:i.srcProp},swfCreated:{value:!0},buffered:{value:{start:function(e){if(e>=h.buffered.length){t.error("buffered index size error");return}return 0},end:function(e){if(e>=h.buffered.length){t.error("buffered index size error");return}return(h.duration-h._bufferedStart)*h._bufferedEnd/100+h._bufferedStart},length:0}}})),B(h,v),x.insertBefore(n),f&&e.extend(h,{volume:e.prop(n,"volume"),muted:e.prop(n,"muted")}),e.extend(p,{id:g,controlbar:v?s.vars.controlbar||(b=="video"?"over":"bottom"):b=="video"?"none":"bottom",icons:""+(v&&b=="video")},d,{playerready:"jQuery.webshims.mediaelement.jwPlayerReady"}),p.plugins?p.plugins+=","+S:p.plugins=S,t.addShadowDom(n,x),A(n),u.setActive(n,"third",h),s.changeSWF(p,n,i,h,"embed"),e(r).on("updateshadowdom",T),e(n).on("updatemediaelementdimensions",T),a.embedSWF(E,g,"100%","100%","9.0.0",!1,p,y,w,function(r){r.success&&(h.jwapi=r.ref,v||e(r.ref).attr("tabindex","-1").css("outline","none"),setTimeout(function(){if(!r.ref.parentNode&&x[0].parentNode||r.ref.style.display=="none")x.addClass("flashblocker-assumed"),e(n).trigger("flashblocker"),t.warn("flashblocker assumed");e(r.ref).css({minHeight:"2px",minWidth:"2px",display:"block"})},9),L||(clearTimeout(L),L=setTimeout(function(){var n=e(r.ref);n[0].offsetWidth>1&&n[0].offsetHeight>1&&location.protocol.indexOf("file:")===0?t.error("Add your local development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"):(n[0].offsetWidth<2||n[0].offsetHeight<2)&&t.warn("JS-SWF connection can't be established on hidden or unconnected flash objects"),n=null},8e3)))})};var j=function(e,t,n,r){return r=r||b(e),r?(r.jwapi&&r.jwapi[t]?r.jwapi[t].apply(r.jwapi,n||[]):(r.actionQueue.push({fn:t,args:n}),r.actionQueue.length>10&&setTimeout(function(){r.actionQueue.length>5&&r.actionQueue.shift()},99)),r):!1};["audio","video"].forEach(function(n){var r={},i,s=function(e){if(n=="audio"&&(e=="videoHeight"||e=="videoWidth"))return;r[e]={get:function(){var t=b(this);return t?t[e]:f&&i[e].prop._supget?i[e].prop._supget.apply(this):m[e]},writeable:!1}},u=function(e,t){s(e),delete r[e].writeable,r[e].set=t};u("volume",function(e){var n=b(this);if(n){e*=100;if(!isNaN(e)){var r=n.muted;(e<0||e>100)&&t.error("volume greater or less than allowed "+e/100),j(this,o,["VOLUME",e],n);if(r)try{n.jwapi.sendEvent("mute","true")}catch(s){}e/=100;if(n.volume==e||n.isActive!="third")return;n.volume=e,w(n._elem,"volumechange"),n=null}}else if(i.volume.prop._supset)return i.volume.prop._supset.apply(this,arguments)}),u("muted",function(e){var t=b(this);if(t){e=!!e,j(this,o,["mute",""+e],t);if(t.muted==e||t.isActive!="third")return;t.muted=e,w(t._elem,"volumechange"),t=null}else if(i.muted.prop._supset)return i.muted.prop._supset.apply(this,arguments)}),u("currentTime",function(e){var t=b(this);if(t){e*=1;if(!isNaN(e)){t.paused&&(clearTimeout(t.stopPlayPause),t.stopPlayPause=setTimeout(function(){t.paused=!0,t.stopPlayPause=!1},50)),j(this,o,["SEEK",""+e],t);if(t.paused){t.readyState>0&&(t.currentTime=e,w(t._elem,"timeupdate"));try{t.jwapi[o]("play","false")}catch(n){}}}}else if(i.currentTime.prop._supset)return i.currentTime.prop._supset.apply(this,arguments)}),["play","pause"].forEach(function(e){r[e]={value:function(){var t=b(this);if(t)t.stopPlayPause&&clearTimeout(t.stopPlayPause),j(this,o,["play",e=="play"],t),setTimeout(function(){t.isActive=="third"&&(t._ppFlag=!0,t.paused!=(e!="play")&&(t.paused=e!="play",w(t._elem,e)))},1);else if(i[e].prop._supvalue)return i[e].prop._supvalue.apply(this,arguments)}}}),p.forEach(s),t.onNodeNamesPropertyModify(n,"controls",function(r,i){var s=b(this);e(this)[i?"addClass":"removeClass"]("webshims-controls");if(s){try{j(this,i?"showControls":"hideControls",[n],s)}catch(o){t.warn("you need to generate a crossdomain.xml")}n=="audio"&&B(s,i),e(s.jwapi).attr("tabindex",i?"0":"-1")}}),i=t.defineNodeNameProperties(n,r,"prop")});if(l&&e.cleanData){var F=e.cleanData,I={object:1,OBJECT:1};e.cleanData=function(e){var t,n,r;if(e&&(n=e.length)&&c)for(t=0;t<n;t++)if(I[e[t].nodeName]){if(o in e[t]){c--;try{e[t][o]("play",!1)}catch(i){}}try{for(r in e[t])typeof e[t][r]=="function"&&(e[t][r]=null)}catch(i){}}return F.apply(this,arguments)}}f||(["poster","src"].forEach(function(e){t.defineNodeNamesProperty(e=="src"?["audio","video","source"]:["video"],e,{reflect:!0,propType:"src"})}),["autoplay","controls"].forEach(function(e){t.defineNodeNamesBooleanProperty(["audio","video"],e)}),t.defineNodeNamesProperties(["audio","video"],{HAVE_CURRENT_DATA:{value:2},HAVE_ENOUGH_DATA:{value:4},HAVE_FUTURE_DATA:{value:3},HAVE_METADATA:{value:1},HAVE_NOTHING:{value:0},NETWORK_EMPTY:{value:0},NETWORK_IDLE:{value:1},NETWORK_LOADING:{value:2},NETWORK_NO_SOURCE:{value:3}},"prop"))});
|
package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/mediaelement-yt.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.register("mediaelement-yt",function(e,t,n,r,i,s){"use strict";var o=t.mediaelement,u=jQuery.Deferred();n.onYouTubePlayerAPIReady=function(){u.resolve()},n.YT&&YT.Player&&n.onYouTubePlayerAPIReady();var a={paused:!0,ended:!1,currentSrc:"",duration:n.NaN,readyState:0,networkState:0,videoHeight:0,videoWidth:0,error:null,buffered:{start:function(e){if(e){t.error("buffered index size error");return}return 0},end:function(e){if(e){t.error("buffered index size error");return}return 0},length:0}},f=Object.keys(a),l={currentTime:0,volume:1,muted:!1},c=Object.keys(l),h=e.extend({isActive:"html5",activating:"html5",wasSwfReady:!1,_metadata:!1,_callMeta:!1,currentTime:0,_buffered:0,_ppFlag:i},a,l),p=function(t,n){n=e.Event(n),n.preventDefault(),e.event.trigger(n,i,t)},d=function(){var e=["_buffered","_metadata","_ppFlag","currentSrc","currentTime","duration","ended","networkState","paused","videoHeight","videoWidth","_callMeta"],t=e.length;return function(n){if(!n)return;var r=t,i=n.networkState;n.readyState=0;while(--r)delete n[e[r]];n.buffered.length=0,clearInterval(n._timeInterval),i&&p(n._elem,"emptied")}}(),v=function(t){var n=t._elem,r=t.shadowElem;r.css({width:n.style.width||e(n).width(),height:n.style.height||e(n).height()})},m=function(e){try{e.nodeName}catch(n){return null}var r=t.data(e,"mediaelement");return r&&r.isActive=="third"?r:null},g=function(n){var r;return n=n.split("?"),n[0].indexOf("youtube.com/watch")!=-1&&n[1]?(n=n[1].split("&"),e.each(n,function(e,t){t=t.split("=");if(t[0]=="v")return n=t[1],r=!0,!1})):n[0].indexOf("youtube.com/v/")!=-1&&(n=n[0].split("/"),e.each(n,function(e,t){if(r)return n=t,!1;t=="v"&&(r=!0)})),r||t.warn("no youtube id found: "+n),n},y=function(t){if(!t)return;(t._ppFlag===i&&e.prop(t._elem,"autoplay")||!t.paused)&&setTimeout(function(){if(t.isActive=="third"&&(t._ppFlag===i||!t.paused))try{e(t._elem).play()}catch(n){}},1)},b=e.noop;(function(){var n={play:1,playing:1},i=["play","pause","playing","canplay","progress","waiting","ended","loadedmetadata","durationchange","emptied"],s=i.map(function(e){return e+".webshimspolyfill"}).join(" "),o={html5:"third",third:"html5"},u=function(r){var i=t.data(r.target,"mediaelement");if(!i)return;var s=r.originalEvent&&r.originalEvent.type===r.type;s==(i.activating=="third")&&(r.stopImmediatePropagation(),n[r.type]&&(i.isActive!=i.activating?e(r.target).pause():(i.isActive=o[i.isActive],e(r.target).pause(),i.isActive=o[i.isActive])))};b=function(n){e(n).off(s).on(s,u),i.forEach(function(e){t.moveToFirstEvent(n,e)})},b(r)})(),e(r).on("emptied",function(e){var t=m(e.target);y(t)}),o.setActive=function(n,r,i){i||(i=t.data(n,"mediaelement"));if(!i||i.isActive==r)return;r!="html5"&&r!="third"&&t.warn("wrong type for mediaelement activating: "+r);var s=t.data(n,"shadowData");i.activating=r,e(n).pause(),i.isActive=r,r=="third"?(s.shadowElement=s.shadowFocusElement=i.shadowElem[0],e(n).addClass("yt-api-active nonnative-api-active").hide().getShadowElement().show()):(clearInterval(i._timeInterval),e(n).removeClass("yt-api-active nonnative-api-active").show().getShadowElement().hide(),s.shadowElement=s.shadowFocusElement=!1),e(n).trigger("mediaelementapichange")};var w=function(t,n){n._ppFlag=!0,t=="playing"&&(w("play",n),n.readyState<3&&(n.readyState=3,p(n._elem,"canplay")),e(n._elem).trigger("playing")),t=="play"&&n.paused?(n.paused=!1,p(n._elem,"play")):t=="pause"&&!n.paused&&(n.paused=!0,p(n._elem,"pause"))},E=function(t,n,r,i){u.done(function(){var s=function(){var n,i;r._metadata&&r._ytAPI.getVideoLoadedFraction&&(i=r._ytAPI.getVideoLoadedFraction(),n=i*r.duration,r._buffered!==n&&(r._buffered=n,r.buffered.length=1,e(t).trigger("progress")),i>.99&&(r.networkState=1),r.readyState<4&&r.currentTime&&(r._buffered-r.currentTime>9||i>.9)&&(r.readyState=4,p(r._elem,"canplaythrough")))},o=function(){if(r._ytAPI&&r._ytAPI.getCurrentTime){var n=r._ytAPI.getCurrentTime();r.currentTime!=n&&(r.currentTime=n,e(t).trigger("timeupdate")),s()}},u=function(){if(r.isActive=="third"&&r._ytAPI&&r._ytAPI.getVolume){var n=r._ytAPI.getVolume()/100,i=r._ytAPI.isMuted(),u;n!=r.volume&&(r.volume=n,u=!0),i!=r.muted&&(r.muted=i,u=!0),o(),s(),u&&e(t).trigger("volumechange")}},a=function(){clearInterval(r._timeInterval),r._timeInterval=setInterval(function(){var n=r._ytAPI.getCurrentTime();r.currentTime!=n&&(r.currentTime=n,e(t).trigger("timeupdate"))},350)};r._ytAPI=new YT.Player(n,{height:"100%",width:"100%",playerVars:{allowfullscreen:!0,fs:1,rel:0,showinfo:0,autohide:1,controls:e.prop(t,"controls")?1:0},videoId:i,events:{onReady:function(e){y(r),setTimeout(u,9),setInterval(u,5e3)},onStateChange:function(n){if(!n.target.getDuration)return;var i;if(!r._metadata){var s=n.target.getDuration();s&&(r._metadata=!0,r.duration=s,r.readyState<1&&(r.readyState=1),r.networkState<1&&(r.networkState=2),i=!0)}i&&e(t).trigger("durationchange").trigger("loadedmetadata"),setTimeout(u,9),n.data==1?(w("playing",r),a()):n.data==2?(clearInterval(r._timeInterval),w("pause",r)):n.data==3?(r.readyState>2&&(r.readyState=2),r.networkState=2,e(t).trigger("waiting")):n.data===0&&(r.readyState>4&&(r.readyState=4),r.networkState=1,clearInterval(r._timeInterval),e(t).trigger("ended"))}}}),e(t).on("updateytdata",u)})};o.createSWF=function(n,i,s){s||(s=t.data(n,"mediaelement"));var a=g(i.src);if(s){o.setActive(n,"third",s),d(s),s.currentSrc=i.srcProp,u.done(function(){s._ytAPI.loadVideoById&&s._ytAPI.loadVideoById(a)});return}var f=e.prop(n,"controls"),l="yt-"+t.getID(n),c=e('<div class="polyfill-video polyfill-mediaelement" id="wrapper-'+l+'"><div id="'+l+'"></div>').css({position:"relative",overflow:"hidden"}),p=function(){v(s)};s=t.data(n,"mediaelement",t.objectCreate(h,{shadowElem:{value:c},_elem:{value:n},currentSrc:{value:i.srcProp},buffered:{value:{start:function(e){if(e>=s.buffered.length){t.error("buffered index size error");return}return 0},end:function(e){if(e>=s.buffered.length){t.error("buffered index size error");return}return s._buffered},length:0}}})),v(s),c.insertBefore(n),t.addShadowDom(n,c),o.setActive(n,"third",s),b(n),E(n,l,s,a),e(r).on("updateshadowdom",p),e(n).on("updatemediaelementdimensions",p)},function(){var n=function(t){clearTimeout(t.updateDataTimer),t.updateDataTimer=setTimeout(function(){e(t._elem).triggerHandler("updateytdata")},9)},r={},i,s=function(e){r[e]={get:function(){var t=m(this);return t?t[e]:i[e].prop._supget.apply(this)},writeable:!1}},o=function(e,t){s(e),delete r[e].writeable,r[e].set=t};f.forEach(s),o("currentTime",function(e){var t=m(this);if(!t)return i.currentTime.prop._supset.apply(this,arguments);e*=1,!isNaN(e)&&t._ytAPI&&t._ytAPI.seekTo&&(t._ytAPI.seekTo(e),n(t))}),o("muted",function(e){var t=m(this);if(!t)return i.muted.prop._supset.apply(this,arguments);t._ytAPI&&t._ytAPI.mute&&(t._ytAPI[e?"mute":"unMute"](),n(t))}),o("volume",function(e){var r=m(this);if(!r)return i.volume.prop._supset.apply(this,arguments);e*=100,!isNaN(e)&&r._ytAPI&&r._ytAPI.setVolume&&((e<0||e>100)&&t.error("volume greater or less than allowed "+e/100),r._ytAPI.setVolume(e),n(r))}),e.each(["play","pause"],function(e,t){var n=t+"Video";r[t]={value:function(){var e=m(this);if(!e)return i[t].prop._supvalue.apply(this,arguments);e._ytAPI&&e._ytAPI[n]&&(e._ytAPI[n](),w(t,e))}}}),i=t.defineNodeNameProperties("video",r,"prop")}()});
|
|
Binary file
|
package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/styles/forms.png
DELETED
|
Binary file
|
|
Binary file
|
package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/styles/shim.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}audio{display:none;height:0;width:0}audio,video{overflow:hidden}audio.webshims-controls,video{display:inline-block;min-height:45px;min-width:40px}audio[controls]{display:inline-block;min-height:45px;min-width:40px}video > *,audio > *{visibility:hidden}.no-swf video > *,.no-swf audio > *{visibility:inherit}.flashblocker-assumed{min-height:20px;min-width:20px}.cue-display{position:absolute!important;margin:0;padding:0!important;max-width:100%!important;max-height:100%!important;border:none!important;background:none!important;text-align:center;visibility:hidden;font-family:sans-serif;font-size:12px;white-space:pre-wrap;overflow:hidden}.cue-display b{font-weight:bold}.cue-display i{font-style:italic}.cue-display u{text-decoration:underline}.cue-display span.cue-wrapper{position:absolute;left:0;bottom:0;right:0;display:block;padding:0;margin:0;width:100%;font-size:160%;color:#fff;visibility:visible!important}.cue-display .cue-line{display:block}.cue-display span.cue{display:inline-block;padding:3px 5px;background:#000;background:rgba(0,0,0,0.8);color:#fff}.cue-display .description-cues{position:absolute;top:-99px;left:-99px;display:block;width:5px;height:5px;overflow:hidden}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}.input-range .ui-slider-range,.placeholder-box,.placeholder-text,.input-datetime-local,.step-controls,.step-controls span,.input-range,.input-range .ui-slider-handle,.input-range .ui-slider-range,.details-open-indicator{margin:0;padding:0;border:none;width:auto;background:transparent none}output{position:relative}.webshims-visual-hide{position:absolute!important;top:0!important;left:0!important;visibility:hidden!important;width:0!important;height:0!important;overflow:hidden!important}.webshims-visual-hide *{visibility:hidden!important}.placeholder-box{position:relative;display:inline-block;zoom:1}.polyfill-important .placeholder-box{position:relative!important;display:inline-block!important;margin:0!important;padding:0!important;width:auto!important;height:auto!important}.placeholder-box-input{vertical-align:bottom}.placeholder-box-left{float:left}.placeholder-box-right{float:right}.placeholder-text{position:absolute;display:none;top:0;left:0;overflow:hidden;color:#999;line-height:1;cursor:text}.polyfill-important .placeholder-text{margin:0!important;padding-right:0!important;padding-bottom:0!important;display:none!important}.placeholder-box-input .placeholder-text{white-space:nowrap}.placeholder-visible{color:#999}.placeholder-visible .placeholder-text,.placeholder-text.placeholder-visible{display:inline-block}.placeholder-focused.placeholder-visible{color:#ccc}.polyfill-important .placeholder-visible .placeholder-text,.polyfill-important .placeholder-text.placeholder-visible{display:inline-block!important}.input-datetime-local{display:inline-block;zoom:1;vertical-align:middle}.polyfill-important .input-datetime-local{display:inline-block!important;height:auto!important;padding:0!important;margin:0!important;border:none!important}.polyfill-important .input-datetime-local input{display:inline!important}.input-datetime-local-date{margin:0 2px 0 0}.polyfill-important .input-datetime-local-date{margin:0 2px 0 0!important}.input-datetime-local-time{margin:0 0 0 2px}.polyfill-important .input-datetime-local-time{margin:0 0 0 2px!important}img.ui-datepicker-trigger{display:inline;display:inline-block;width:16px}.has-step-controls{display:inline}.polyfill-important .has-step-controls{display:inline!important}.step-controls{position:relative;zoom:1;overflow:hidden;display:inline-block;font-size:0;vertical-align:middle;vertical-align:top;margin-left:-17px;height:19px;width:15px}.polyfill-important .step-controls{display:inline-block!important;padding:0!important;vertical-align:top!important}.step-controls span{position:absolute;display:inline-block;overflow:hidden;margin:0!important;padding:0!important;width:15px;height:9px;cursor:pointer;font-size:0;line-height:0;background:url(forms.png) no-repeat 0 0}.polyfill-important .step-controls span{display:inline-block!important;margin:0!important;padding:0!important;font-size:0!important}.step-controls span.step-up{top:0;background-position:-80px 0}.step-controls span.step-up:hover{background-position:-105px 0}.step-controls > span.mousepress-ui.step-up{background-position:-105px -20px}.step-controls span.step-down{bottom:0;background-position:-155px 0}.step-controls span.step-down:hover{background-position:-180px 0}.step-controls > span.mousepress-ui.step-down{background-position:-180px -20px}.step-controls.disabled-step-control span{opacity:0.95;cursor:default}.step-controls.disabled-step-control span.step-up{background-position:-130px 0}.step-controls.disabled-step-control span.step-down{background-position:-205px 0}.input-range{position:relative;display:inline-block;vertical-align:middle;margin:5px 0;zoom:1;border:none;height:9px;width:155px;border-radius:1px;background:url(forms.png) 0 -43px no-repeat;cursor:pointer;font-size:0;line-height:0}.polyfill-important .input-range{display:inline-block!important;padding:0!important;font-size:0!important}.input-range .ui-slider-handle{top:0;position:absolute;display:block;z-index:4;overflow:hidden;margin:-5px 0 0 -8px;height:22px;width:17px;background:url(forms.png) 0 0 no-repeat;cursor:pointer;outline:none;font-size:0;line-height:0}.input-range .ui-slider-handle:hover,.input-range .ui-slider-handle:focus{background-position:-17px 0}.input-range .ui-slider-handle.ui-state-active{background-position:-34px 0}.input-range.ui-slider-disabled{cursor:default;opacity:0.95}.input-range.ui-slider-disabled .ui-slider-handle{cursor:default;background-position:-51px 0}.input-range .ui-slider-range{position:absolute;z-index:1;overflow:hidden;display:block;background:#b6e2fb}.input-range .input-range .ui-slider-range,.polyfill-important .input-range .ui-slider-handle{position:absolute!important;display:block!important;padding:0!important}.input-range.ui-slider-horizontal .ui-slider-range{top:4px;height:1px}.input-range.ui-slider-horizontal .ui-slider-range-min{left:0}.input-range.ui-slider-horizontal .ui-slider-range-max{right:0}.input-date-datepicker-control{position:absolute;zoom:1;display:none;background-color:#fff;z-index:100;overflow:visible;padding:5px;font-family:"MS Shell Dlg","Lucida Grande","Calibri",sans-serif;font-size:14px;border:1px solid #333}.polyfill-important .input-date-datepicker-control{z-index:999999999!important}.input-date-datepicker-control .ui-datepicker-header{position:relative;margin:0 0 3px;padding:2px 0}.input-date-datepicker-control .ui-datepicker-header select{border:1px solid #333;padding:1px 2px 2px}.input-date-datepicker-control .ui-datepicker-header option{padding-right:8px}.input-date-datepicker-control .ui-datepicker-header .ui-icon{position:absolute;display:block;top:0.2em;width:15px;height:18px;text-indent:-9999em;font-size:10px;line-height:0;background:url(forms.png) no-repeat;cursor:pointer}.input-date-datepicker-control .ui-datepicker-header .ui-state-disabled .ui-icon{cursor:default}.input-date-datepicker-control .ui-datepicker-header .ui-icon-circle-triangle-w{left:3px;background-position:-235px 3px}.input-date-datepicker-control .ui-datepicker-header .ui-state-hover .ui-icon-circle-triangle-w{background-position:-235px -17px}.input-date-datepicker-control .ui-datepicker-header .ui-icon-circle-triangle-e{right:3px;background-position:-248px 3px}.input-date-datepicker-control .ui-datepicker-header .ui-state-hover .ui-icon-circle-triangle-e{background-position:-248px -17px}.input-date-datepicker-control table{font-size:100%;border-spacing:1px}.input-date-datepicker-control .ui-datepicker-title{margin:0 20px}.input-date-datepicker-control .ui-datepicker-title,.input-date-datepicker-control th{color:#069;text-align:center;font-weight:bold}.input-date-datepicker-control td,.input-date-datepicker-control th{padding:0 2px;text-align:center;font-weight:normal}.input-date-datepicker-control td{padding:0 4px;cursor:pointer;text-align:right;border:1px solid #fff;border-radius:2px}.input-date-datepicker-control td.ui-datepicker-current-day{background-color:#adf;color:#000;border-color:#06c}.input-date-datepicker-control td.ui-datepicker-today{border-color:#06c}.input-date-datepicker-control td.ui-datepicker-current-day a{color:#000}.input-date-datepicker-control td a{color:#000;text-decoration:none}.input-date-datepicker-control td:hover{background-color:#bef;border-color:#06c}.input-date-datepicker-control td.ui-state-disabled{cursor:default;border-color:#fff;color:#bbb;background-color:transparent}.input-date-datepicker-control .ui-datepicker-buttonpane{margin:4px 0 0}.input-date-datepicker-control .ui-datepicker-cover{display:none;display position:absolute;z-index:-1;filter:mask();top:-4px;left:-4px;width:200px;height:200px}datalist{display:none}.datalist-polyfill{position:absolute!important;font-family:"Lucida Grande","MS Shell Dlg","Calibri",sans-serif;font-size:100%;top:0;left:0;margin:0;padding:0;display:none;z-index:999999999}.datalist-polyfill.datalist-visible{display:block}.datalist-polyfill div{margin:0;padding:0}.datalist-polyfill .datalist-box{border:1px solid #333;max-height:200px;overflow:hidden;overflow-x:hidden!important;overflow-y:auto}.datalist-polyfill ul,.datalist-polyfill li{font-size:100%;list-style:none!important}.datalist-polyfill ul{position:static!important;overflow:hidden;margin:0;padding:2px 0;height:auto!important;background-color:#fff;color:#000}.datalist-polyfill li{margin:1px 1px 1px 0;padding:2px 2px 2px 5px;overflow:hidden;white-space:nowrap;cursor:default;zoom:1;overflow:hidden}.datalist-polyfill .option-label{display:inline-block;float:left;max-width:100%;text-overflow:ellipsis}.datalist-polyfill .option-value{display:none;float:right;text-overflow:ellipsis}.datalist-polyfill .hidden-item{display:none!important}.datalist-polyfill .active-item{background-color:#39f;color:#fff;cursor:default}.validity-alert-wrapper{position:absolute!important;overflow:hidden;padding:0 6px 6px 0;font:12px/140% sans-serif;z-index:1000000000}.validity-alert{display:inline-block;padding:8px 0 0}.validity-alert .va-box{display:inline-block!important;background:#fafafa;color:#000;border:1px solid #ccc;padding:5px;border-radius:5px;box-shadow:2px 2px 5px rgba(0,0,0,0.5);zoom:1!important;min-width:60px}.validity-alert .va-arrow{position:absolute;top:1px;left:20px;display:block;width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-bottom:7px solid #ccc;border-top:none;zoom:1;font-size:0}html .validity-alert span.va-arrow,html .validity-alert .va-arrow .va-arrow-box{border-left-color:transparent;border-right-color:transparent}.polyfill-important .validity-alert span.va-arrow,.polyfill-important .validity-alert .va-arrow .va-arrow-box{border-left-color:transparent!important;border-right-color:transparent!important}* html .validity-alert .va-arrow{display:none}.validity-alert .va-arrow .va-arrow-box{position:relative;top:1px;left:-9px;display:block;width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-bottom:7px solid #fafafa;border-top:none}#swflocalstorageshim-wrapper{position:absolute;top:-999px;left:-9999px;overflow:hidden;width:215px;min-width:215px!important;z-index:2147483647}#swflocalstorageshim-wrapper .polyfill-exceeded-message{margin:0 0 5px;padding:5px;background:#ffd;color:#000;font-size:13px}#swflocalstorageshim-wrapper object{min-height:138px!important;min-width:215px!important}details{overflow:hidden}summary{position:relative}.closed-details-child{display:none!important}.details-open-indicator{margin:-1px 0 0;display:inline-block;width:16px;height:11px;background:url(details-arrows.png) no-repeat 0 0;vertical-align:middle}.closed-details-summary .details-open-indicator{background-position:0 -20px}.polyfill-important .details-open-indicator{margin:-1px 0 0!important;padding:0!important;border:0!important;display:inline-block!important;width:16px!important;height:11px!important;background:url(details-arrows.png) no-repeat 0 0!important;vertical-align:middle!important}.polyfill-important .closed-details-summary .details-open-indicator{background-position:0 -20px!important}summary.summary-has-focus{outline:1px dotted #aaa;outline-offset:-1px}
|
|
Binary file
|
package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/swf/jwwebshims.swf
DELETED
|
Binary file
|
package/test/mocha/html-snapshots/server/vendor/js/libs/webshim/minified/shims/swf/localStorage.swf
DELETED
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.register("track-ui",function(e,t,n,r,i){"use strict";function h(e,t){var n=!0,r=0,i=e.length;if(i!=t.length)n=!1;else for(;r<i;r++)if(e[r]!=t[r]){n=!1;break}return n}var s=t.cfg.track,o={type:"enter"},u={type:"exit"},a={subtitles:1,captions:1,descriptions:1},f=t.mediaelement,l=function(){return!s.override&&Modernizr.track},c={update:function(n,r){n.activeCues.length?h(n.displayedActiveCues,n.activeCues)||(n.displayedActiveCues=n.activeCues,n.trackDisplay||(n.trackDisplay=e('<div class="cue-display"><span class="description-cues" aria-live="assertive" /></div>').insertAfter(r),this.addEvents(n,r),t.docObserve()),n.hasDirtyTrackDisplay&&r.triggerHandler("forceupdatetrackdisplay"),this.showCues(n)):this.hide(n)},showCues:function(t){var n=e('<span class="cue-wrapper" />');e.each(t.displayedActiveCues,function(r,i){var s=i.id?'id="cue-id-'+i.id+'"':"",o=e('<span class="cue-line"><span '+s+' class="cue" /></span>').find("span").html(i.getCueAsHTML()).end();i.track.kind=="descriptions"?setTimeout(function(){e("span.description-cues",t.trackDisplay).html(o)},0):n.prepend(o)}),e("span.cue-wrapper",t.trackDisplay).remove(),t.trackDisplay.append(n)},addEvents:function(t,n){if(s.positionDisplay){var i,o=function(e){if(t.displayedActiveCues.length||e===!0){t.trackDisplay.css({display:"none"});var r=n.getShadowElement(),i=r.offsetParent(),s=r.innerHeight(),o=r.innerWidth(),u=r.position(),a=s*o;t.trackDisplay.css({left:u.left,width:o,height:s-45,top:u.top,display:"block"}),t.trackDisplay.css("fontSize",Math.max(Math.round(s/30),7)),t.hasDirtyTrackDisplay=!1}else t.hasDirtyTrackDisplay=!0},u=function(e){clearTimeout(i),i=setTimeout(o,0)},a=function(){o(!0)};n.on("playerdimensionchange mediaelementapichange updatetrackdisplay updatemediaelementdimensions swfstageresize",u),e(r).on("updateshadowdom",u),n.on("forceupdatetrackdisplay",a),a()}},hide:function(t){t.trackDisplay&&t.displayedActiveCues.length&&(t.displayedActiveCues=[],e("span.cue-wrapper",t.trackDisplay).remove(),e("span.description-cues",t.trackDisplay).empty())}};e.extend(e.event.customEvent,{updatetrackdisplay:!0,forceupdatetrackdisplay:!0}),f.trackDisplay=c;if(!f.createCueList){var p={getCueById:function(e){var t=null;for(var n=0,r=this.length;n<r;n++)if(this[n].id===e){t=this[n];break}return t}};f.createCueList=function(){return e.extend([],p)}}f.getActiveCue=function(t,n,r,i){t._lastFoundCue||(t._lastFoundCue={index:0,time:0}),Modernizr.track&&!s.override&&!t._shimActiveCues&&(t._shimActiveCues=f.createCueList());var o=0,u,l;for(;o<t.shimActiveCues.length;o++)l=t.shimActiveCues[o],l.startTime>r||l.endTime<r?(t.shimActiveCues.splice(o,1),o--,l.pauseOnExit&&e(n).pause(),e(t).triggerHandler("cuechange"),e(l).triggerHandler("exit")):t.mode=="showing"&&a[t.kind]&&e.inArray(l,i.activeCues)==-1&&i.activeCues.push(l);u=t.cues.length,o=t._lastFoundCue.time<r?t._lastFoundCue.index:0;for(;o<u;o++){l=t.cues[o],l.startTime<=r&&l.endTime>=r&&e.inArray(l,t.shimActiveCues)==-1&&(t.shimActiveCues.push(l),t.mode=="showing"&&a[t.kind]&&i.activeCues.push(l),e(t).triggerHandler("cuechange"),e(l).triggerHandler("enter"),t._lastFoundCue.time=r,t._lastFoundCue.index=o);if(l.startTime>r)break}},l()&&function(){var n,r=function(t){setTimeout(function(){n=!0,e(t).triggerHandler("updatetrackdisplay"),n=!1},9)},i=function(i,s,o){var u="_sup"+o,a={prop:{}},f;a.prop[o]=function(){return!n&&l()&&r(e(this).closest("audio, video")),f.prop[u].apply(this,arguments)},f=t.defineNodeNameProperty(i,s,a)};i("track","track","get"),["audio","video"].forEach(function(e){i(e,"textTracks","get"),i("nodeName","addTextTrack","value")})}(),t.addReady(function(n,r){e("video, audio",n).add(r.filter("video, audio")).each(function(){var n=e(this),r=function(e){var r,i;if(!u||!o)u=n.prop("textTracks"),o=t.data(n[0],"mediaelementBase")||t.data(n[0],"mediaelementBase",{}),o.displayedActiveCues||(o.displayedActiveCues=[]);if(!u)return;i=n.prop("currentTime");if(!i&&i!==0)return;o.activeCues=[];for(var s=0,a=u.length;s<a;s++)r=u[s],r.mode!="disabled"&&r.cues&&r.cues.length&&f.getActiveCue(r,n,i,o);c.update(o,n)},i=function(e){clearTimeout(a),e&&e.type=="timeupdate"?(r(),setTimeout(i,90)):a=setTimeout(r,9)},s=function(){n.off(".trackview").on("play.trackview timeupdate.trackview updatetrackdisplay.trackview",i)},o,u,a;l()?n.on("mediaelementapichange trackapichange",function(){!l()||n.is(".nonnative-api-active")?s():(u=n.prop("textTracks"),o=t.data(n[0],"mediaelementBase")||t.data(n[0],"mediaelementBase",{}),e.each(u,function(e,t){t._shimActiveCues&&delete t._shimActiveCues}),c.hide(o),n.unbind(".trackview"))}):s()})})});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
jQuery.webshims.register("track",function(e,t,n,r,i){"use strict";var s=t.mediaelement,o=(new Date).getTime(),u=e.fn.addBack?"addBack":"andSelf",a={subtitles:1,captions:1,descriptions:1},f=function(){t.error("not implemented yet")},l=e("<track />"),c=Modernizr.ES5&&Modernizr.objectAccessor,h=function(e){var n={};return e.addEventListener=function(e,r){n[e]&&t.error("always use $.on to the shimed event: "+e+" already bound fn was: "+n[e]+" your fn was: "+r),n[e]=r},e.removeEventListener=function(e,r){n[e]&&n[e]!=r&&t.error("always use $.on/$.off to the shimed event: "+e+" already bound fn was: "+n[e]+" your fn was: "+r),n[e]&&delete n[e]},e},p={getCueById:function(e){var t=null;for(var n=0,r=this.length;n<r;n++)if(this[n].id===e){t=this[n];break}return t}},d={0:"disabled",1:"hidden",2:"showing"},v={shimActiveCues:null,_shimActiveCues:null,activeCues:null,cues:null,kind:"subtitles",label:"",language:"",mode:"disabled",readyState:0,oncuechange:null,toString:function(){return"[object TextTrack]"},addCue:function(e){if(!this.cues)this.cues=s.createCueList();else{var n=this.cues[this.cues.length-1];n&&n.startTime>e.startTime&&t.error("cue startTime higher than previous cue's startTime")}e.track&&e.track.removeCue&&e.track.removeCue(e),e.track=this,this.cues.push(e)},removeCue:function(e){var n=this.cues||[],r=0,i=n.length;if(e.track!=this){t.error("cue not part of track");return}for(;r<i;r++)if(n[r]===e){n.splice(r,1),e.track=null;break}if(e.track){t.error("cue not part of track");return}},DISABLED:"disabled",OFF:"disabled",HIDDEN:"hidden",SHOWING:"showing",ERROR:3,LOADED:2,LOADING:1,NONE:0},m=["kind","label","srclang"],g={srclang:"language"},y=Function.prototype.call.bind(Object.prototype.hasOwnProperty),b=function(n,r){var i=[],s=[],o=[],u,a;n||(n=t.data(this,"mediaelementBase")||t.data(this,"mediaelementBase",{})),r||(n.blockTrackListUpdate=!0,r=e.prop(this,"textTracks"),n.blockTrackListUpdate=!1),clearTimeout(n.updateTrackListTimer),e("track",this).each(function(){var t=e.prop(this,"track");o.push(t),r.indexOf(t)==-1&&s.push(t)});if(n.scriptedTextTracks)for(u=0,a=n.scriptedTextTracks.length;u<a;u++)o.push(n.scriptedTextTracks[u]),r.indexOf(n.scriptedTextTracks[u])==-1&&s.push(n.scriptedTextTracks[u]);for(u=0,a=r.length;u<a;u++)o.indexOf(r[u])==-1&&i.push(r[u]);if(i.length||s.length){r.splice(0);for(u=0,a=o.length;u<a;u++)r.push(o[u]);for(u=0,a=i.length;u<a;u++)e([r]).triggerHandler(e.Event({type:"removetrack",track:i[u]}));for(u=0,a=s.length;u<a;u++)e([r]).triggerHandler(e.Event({type:"addtrack",track:s[u]}));(n.scriptedTextTracks||i.length)&&e(this).triggerHandler("updatetrackdisplay")}},w=function(n,r){r||(r=t.data(n,"trackData")),r&&!r.isTriggering&&(r.isTriggering=!0,setTimeout(function(){(r.track||{}).readyState?e(n).closest("audio, video").triggerHandler("updatetrackdisplay"):e(n).triggerHandler("checktrackmode"),r.isTriggering=!1},1))},E=e("<div />")[0];n.TextTrackCue=function(e,n,r){arguments.length!=3&&t.error("wrong arguments.length for TextTrackCue.constructor"),this.startTime=e,this.endTime=n,this.text=r,this.id="",this.pauseOnExit=!1,h(this)},n.TextTrackCue.prototype={onenter:null,onexit:null,pauseOnExit:!1,getCueAsHTML:function(){var e="",t="",n=r.createDocumentFragment(),i;return y(this,"getCueAsHTML")||(i=this.getCueAsHTML=function(){var r,i;if(e!=this.text){e=this.text,t=s.parseCueTextToHTML(e),E.innerHTML=t;for(r=0,i=E.childNodes.length;r<i;r++)n.appendChild(E.childNodes[r].cloneNode(!0))}return n.cloneNode(!0)}),i?i.apply(this,arguments):n.cloneNode(!0)},track:null,id:""},s.createCueList=function(){return e.extend([],p)},s.parseCueTextToHTML=function(){var e=/(<\/?[^>]+>)/ig,t=/^(?:c|v|ruby|rt|b|i|u)/,n=/\<\s*\//,r=function(e,t,r,i){var s;return n.test(i)?s="</"+e+">":(r.splice(0,1),s="<"+e+" "+t+'="'+r.join(" ").replace(/\"/g,""")+'">'),s},i=function(e){var n=e.replace(/[<\/>]+/ig,"").split(/[\s\.]+/);return n[0]&&(n[0]=n[0].toLowerCase(),t.test(n[0])?n[0]=="c"?e=r("span","class",n,e):n[0]=="v"&&(e=r("q","title",n,e)):e=""),e};return function(t){return t.replace(e,i)}}(),s.loadTextTrack=function(n,r,i,o){var u="play playing timeupdate updatetrackdisplay",f=i.track,l=function(){var i=e.prop(r,"src"),o,a;if(f.mode!="disabled"&&i&&e.attr(r,"src")){e(n).unbind(u,l),e(r).unbind("checktrackmode",l);if(!f.readyState){o=function(){f.readyState=3,f.cues=null,f.activeCues=f.shimActiveCues=f._shimActiveCues=null,e(r).triggerHandler("error")},f.readyState=1;try{f.cues=s.createCueList(),f.activeCues=f.shimActiveCues=f._shimActiveCues=s.createCueList(),a=e.ajax({dataType:"text",url:i,success:function(i){a.getResponseHeader("content-type")!="text/vtt"&&t.error("set the mime-type of your WebVTT files to text/vtt. see: http://dev.w3.org/html5/webvtt/#text/vtt"),s.parseCaptions(i,f,function(t){t&&"length"in t?(f.readyState=2,e(r).triggerHandler("load"),e(n).triggerHandler("updatetrackdisplay")):o()})},error:o})}catch(c){o(),t.warn(c)}}}};f.readyState=0,f.shimActiveCues=null,f._shimActiveCues=null,f.activeCues=null,f.cues=null,e(n).unbind(u,l),e(r).unbind("checktrackmode",l),e(n).on(u,l),e(r).on("checktrackmode",l),o&&(f.mode=a[f.kind]?"showing":"hidden",l())},s.createTextTrack=function(n,r){var i,o;return r.nodeName&&(o=t.data(r,"trackData"),o&&(w(r,o),i=o.track)),i||(i=h(t.objectCreate(v)),c||m.forEach(function(t){var n=e.prop(r,t);n&&(i[g[t]||t]=n)}),r.nodeName?(c&&m.forEach(function(n){t.defineProperty(i,g[n]||n,{get:function(){return e.prop(r,n)}})}),o=t.data(r,"trackData",{track:i}),s.loadTextTrack(n,r,o,e.prop(r,"default")&&e(r).siblings("track[default]")[u]()[0]==r)):(c&&m.forEach(function(e){t.defineProperty(i,g[e]||e,{value:r[e],writeable:!1})}),i.cues=s.createCueList(),i.activeCues=i._shimActiveCues=i.shimActiveCues=s.createCueList(),i.mode="hidden",i.readyState=2)),i},s.parseCaptionChunk=function(){var e=/^(\d{2})?:?(\d{2}):(\d{2})\.(\d+)\s+\-\-\>\s+(\d{2})?:?(\d{2}):(\d{2})\.(\d+)\s*(.*)/,n=/^([\d\.]+)\s+\+([\d\.]+)\s*(.*)/,r=/^(DEFAULTS|DEFAULT)\s+\-\-\>\s+(.*)/g,i=/^(STYLE|STYLES)\s+\-\-\>\s*\n([\s\S]*)/g,s=/^(COMMENT|COMMENTS)\s+\-\-\>\s+(.*)/g;return function(n,o){var u=[],a,f,l,c,h,p,d="",v,m,g,y;if(m=r.exec(n))return null;if(m=i.exec(n))return null;if(m=s.exec(n))return null;a=n.split(/\n/g);while(!a[0].replace(/\s+/ig,"").length&&a.length>0)a.shift();a[0].match(/^\s*[a-z0-9-\_]+\s*$/ig)&&(v=String(a.shift().replace(/\s*/ig,"")));for(p=0;p<a.length;p++){var b=a[p];if(g=e.exec(b))h=g.slice(1),f=parseInt((h[0]||0)*60*60,10)+parseInt((h[1]||0)*60,10)+parseInt(h[2]||0,10)+parseFloat("0."+(h[3]||0)),l=parseInt((h[4]||0)*60*60,10)+parseInt((h[5]||0)*60,10)+parseInt(h[6]||0,10)+parseFloat("0."+(h[7]||0));a=a.slice(0,p).concat(a.slice(p+1));break}return!f&&!l?(t.warn("couldn't extract time information: "+[f,l,a.join("\n"),v].join(" ; ")),null):(c=a.join("\n"),y=new TextTrackCue(f,l,c),v&&(y.id=v),y)}}(),s.parseCaptions=function(e,n,r){var i=s.createCueList(),o,u,a,f,l;e?(a=/^WEBVTT(\s*FILE)?/ig,u=function(i,c){for(;i<c;i++){o=e[i];if(a.test(o))l=!0;else if(o.replace(/\s*/ig,"").length){if(!l){t.error("please use WebVTT format. This is the standard"),r(null);break}o=s.parseCaptionChunk(o,i),o&&n.addCue(o)}if(f<(new Date).getTime()-30){i++,setTimeout(function(){f=(new Date).getTime(),u(i,c)},90);break}}i>=c&&(l||t.error("please use WebVTT format. This is the standard"),r(n.cues))},e=e.replace(/\r\n/g,"\n"),setTimeout(function(){e=e.replace(/\r/g,"\n"),setTimeout(function(){f=(new Date).getTime(),e=e.split(/\n\n+/g),u(0,e.length)},9)},9)):t.error("Required parameter captionData not supplied.")},s.createTrackList=function(e,n){return n=n||t.data(e,"mediaelementBase")||t.data(e,"mediaelementBase",{}),n.textTracks||(n.textTracks=[],t.defineProperties(n.textTracks,{onaddtrack:{value:null},onremovetrack:{value:null}}),h(n.textTracks)),n.textTracks},Modernizr.track||(t.defineNodeNamesBooleanProperty(["track"],"default"),t.reflectProperties(["track"],["srclang","label"]),t.defineNodeNameProperties("track",{src:{reflect:!0,propType:"src"}})),t.defineNodeNameProperties("track",{kind:{attr:Modernizr.track?{set:function(e){var n=t.data(this,"trackData");this.setAttribute("data-kind",e),n&&(n.attrKind=e)},get:function(){var e=t.data(this,"trackData");return e&&"attrKind"in e?e.attrKind:this.getAttribute("kind")}}:{},reflect:!0,propType:"enumarated",defaultValue:"subtitles",limitedTo:["subtitles","captions","descriptions","chapters","metadata"]}}),e.each(m,function(n,r){var i=g[r]||r;t.onNodeNamesPropertyModify("track",r,function(){var n=t.data(this,"trackData"),s=this;n&&(r=="kind"&&w(this,n),c||(n.track[i]=e.prop(this,r)),clearTimeout(n.changedTrackPropTimer),n.changedTrackPropTimer=setTimeout(function(){e(s).trigger("updatesubtitlestate")},1))})}),t.onNodeNamesPropertyModify("track","src",function(n){if(n){var r=t.data(this,"trackData"),i;r&&(i=e(this).closest("video, audio"),i[0]&&s.loadTextTrack(i,this,r))}}),t.defineNodeNamesProperties(["track"],{ERROR:{value:3},LOADED:{value:2},LOADING:{value:1},NONE:{value:0},readyState:{get:function(){return(e.prop(this,"track")||{readyState:0}).readyState},writeable:!1},track:{get:function(){return s.createTextTrack(e(this).closest("audio, video")[0],this)},writeable:!1}},"prop"),t.defineNodeNamesProperties(["audio","video"],{textTracks:{get:function(){var e=this,n=t.data(e,"mediaelementBase")||t.data(e,"mediaelementBase",{}),r=s.createTrackList(e,n);return n.blockTrackListUpdate||b.call(e,n,r),r},writeable:!1},addTextTrack:{value:function(e,n,r){var i=s.createTextTrack(this,{kind:l.prop("kind",e||"").prop("kind"),label:n||"",srclang:r||""}),o=t.data(this,"mediaelementBase")||t.data(this,"mediaelementBase",{});return o.scriptedTextTracks||(o.scriptedTextTracks=[]),o.scriptedTextTracks.push(i),b.call(this),i}}},"prop"),e(r).on("emptied ended updatetracklist",function(n){if(e(n.target).is("audio, video")){var r=t.data(n.target,"mediaelementBase");r&&(clearTimeout(r.updateTrackListTimer),r.updateTrackListTimer=setTimeout(function(){b.call(n.target,r)},0))}});var S=function(e,t){return t.readyState||e.readyState};t.addReady(function(n,r){var i=r.filter("video, audio, track").closest("audio, video");e("video, audio",n).add(i).each(function(){b.call(this)}).each(function(){if(Modernizr.track){var n=e.prop(this,"textTracks"),r=this.textTracks;n.length!=r.length&&t.error("textTracks couldn't be copied"),e("track",this).each(function(){var t=e.prop(this,"track"),n=this.track,r,i;if(n){r=e.prop(this,"kind"),i=S(this,n);if(n.mode||i)t.mode=d[n.mode]||n.mode;r!="descriptions"&&(n.mode=typeof n.mode=="string"?"disabled":0,this.kind="metadata",e(this).attr({kind:r}))}}).on("load error",function(e){e.originalEvent&&e.stopImmediatePropagation()})}}),i.each(function(){var e=this,n=t.data(e,"mediaelementBase");n&&(clearTimeout(n.updateTrackListTimer),n.updateTrackListTimer=setTimeout(function(){b.call(e,n)},9))})}),Modernizr.track&&e("video, audio").trigger("trackapichange")});
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* cload.js
|
|
3
|
-
*
|
|
4
|
-
* Conditionally load a module
|
|
5
|
-
* Usage:
|
|
6
|
-
* cload!condition?module
|
|
7
|
-
* If condition is true, then the module loads
|
|
8
|
-
*/
|
|
9
|
-
(function () {
|
|
10
|
-
// Helper function to parse the 'N?value'
|
|
11
|
-
// format used in the resource name.
|
|
12
|
-
function parse(name) {
|
|
13
|
-
var parts = name.split('?'),
|
|
14
|
-
value = parts[0],
|
|
15
|
-
module = parts[1],
|
|
16
|
-
condition = false;
|
|
17
|
-
|
|
18
|
-
value = value.replace(/^\s+|\s+$/g, "").toLowerCase();
|
|
19
|
-
condition = (value === "true");
|
|
20
|
-
|
|
21
|
-
return {
|
|
22
|
-
condition: condition,
|
|
23
|
-
module: module
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// Main module definition.
|
|
28
|
-
define({
|
|
29
|
-
normalize: function (name, normalize) {
|
|
30
|
-
var parsed = parse(name),
|
|
31
|
-
module = parsed.module;
|
|
32
|
-
|
|
33
|
-
// Normalize the module
|
|
34
|
-
module = normalize(module);
|
|
35
|
-
|
|
36
|
-
return parsed.condition + "?" + module;
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
load: function (name, req, onload, config) {
|
|
40
|
-
var parsed = parse(name);
|
|
41
|
-
if (parsed.condition) {
|
|
42
|
-
req([parsed.module], function (value) {
|
|
43
|
-
onload(value);
|
|
44
|
-
});
|
|
45
|
-
} else { onload(); }
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
}());
|