@macallumharvey/first-test-wet 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/WetButton.d.ts +9 -0
- package/dist/WetModal.d.ts +6 -0
- package/dist/first-test-wet.cjs.development.js +26 -0
- package/dist/first-test-wet.cjs.development.js.map +1 -1
- package/dist/first-test-wet.cjs.production.min.js +1 -1
- package/dist/first-test-wet.cjs.production.min.js.map +1 -1
- package/dist/first-test-wet.esm.js +26 -1
- package/dist/first-test-wet.esm.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/WetButton.tsx +19 -0
- package/src/WetModal.tsx +25 -0
- package/src/index.tsx +2 -2
- package/src/wet-boew-cdn-4.0.81.1/Licence-fr.txt +1 -0
- package/src/wet-boew-cdn-4.0.81.1/License-en.txt +1 -0
- package/src/wet-boew-cdn-4.0.81.1/assets/cloud-popup-relative.png +0 -0
- package/src/wet-boew-cdn-4.0.81.1/assets/fd-slider-sprite.png +0 -0
- package/src/wet-boew-cdn-4.0.81.1/assets/loading.png +0 -0
- package/src/wet-boew-cdn-4.0.81.1/assets/mediacontrols.html +33 -0
- package/src/wet-boew-cdn-4.0.81.1/assets/sprites_share.png +0 -0
- package/src/wet-boew-cdn-4.0.81.1/assets/zoom-minus-mini.png +0 -0
- package/src/wet-boew-cdn-4.0.81.1/assets/zoom-plus-mini.png +0 -0
- package/src/wet-boew-cdn-4.0.81.1/assets/zoom-world-mini.png +0 -0
- package/src/wet-boew-cdn-4.0.81.1/css/noscript.css +112 -0
- package/src/wet-boew-cdn-4.0.81.1/css/noscript.min.css +6 -0
- package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datalist.css +32 -0
- package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datalist.min.css +1 -0
- package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datepicker.css +47 -0
- package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datepicker.min.css +1 -0
- package/src/wet-boew-cdn-4.0.81.1/css/polyfills/details.css +28 -0
- package/src/wet-boew-cdn-4.0.81.1/css/polyfills/details.min.css +1 -0
- package/src/wet-boew-cdn-4.0.81.1/css/polyfills/mathml.css +16 -0
- package/src/wet-boew-cdn-4.0.81.1/css/polyfills/mathml.min.css +1 -0
- package/src/wet-boew-cdn-4.0.81.1/css/polyfills/meter.css +24 -0
- package/src/wet-boew-cdn-4.0.81.1/css/polyfills/meter.min.css +1 -0
- package/src/wet-boew-cdn-4.0.81.1/css/polyfills/progress.css +8 -0
- package/src/wet-boew-cdn-4.0.81.1/css/polyfills/progress.min.css +1 -0
- package/src/wet-boew-cdn-4.0.81.1/css/polyfills/slider.css +229 -0
- package/src/wet-boew-cdn-4.0.81.1/css/polyfills/slider.min.css +1 -0
- package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.eot +0 -0
- package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.svg +288 -0
- package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/mml-chtml.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/additional-methods.js +1512 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/additional-methods.min.js +9 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/geomap-lib.js +3770 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/geomap-lib.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.dataTables.js +15733 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.dataTables.min.js +4 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.canvas.js +345 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.canvas.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.js +3168 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.orderBars.js +282 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.orderBars.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.pie.js +820 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.pie.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.magnific-popup.js +2061 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.magnific-popup.min.js +4 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.validate.js +1661 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.validate.min.js +9 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/json-patch.js +315 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/json-patch.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jsonpointer.js +349 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/jsonpointer.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-apollo.js +53 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-apollo.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-basic.js +49 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-basic.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-clj.js +64 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-clj.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-css.js +160 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-css.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-dart.js +92 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-dart.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-erlang.js +94 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-erlang.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-go.js +59 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-go.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-hs.js +102 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-hs.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lasso.js +67 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lasso.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lisp.js +95 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lisp.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-llvm.js +63 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-llvm.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-logtalk.js +50 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-logtalk.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lua.js +60 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lua.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-matlab.js +183 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-matlab.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-ml.js +57 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-ml.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-mumps.js +140 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-mumps.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-n.js +67 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-n.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-pascal.js +49 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-pascal.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-proto.js +37 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-proto.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-r.js +59 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-r.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rd.js +50 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rd.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rust.js +81 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rust.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-scala.js +56 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-scala.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-sql.js +59 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-sql.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-swift.js +60 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-swift.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tcl.js +63 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tcl.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tex.js +49 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tex.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vb.js +67 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vb.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vhdl.js +51 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vhdl.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-wiki.js +55 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-wiki.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-xq.js +71 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-xq.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-yaml.js +45 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-yaml.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/ol.js +1008 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/ol.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/prettify.js +1742 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/prettify.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/proj4.js +3 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/proj4.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/run_prettify.js +1998 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/run_prettify.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/tableparser.js +2216 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/tableparser.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/unorm.js +452 -0
- package/src/wet-boew-cdn-4.0.81.1/js/deps/unorm.min.js +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/af.js +254 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/af.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ar.js +293 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ar.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/bg.js +293 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/bg.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/cs.js +294 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/cs.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/de.js +363 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/de.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/el.js +293 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/el.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/en.js +254 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/en.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/es.js +296 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/es.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/et.js +291 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/et.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/fr.js +322 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/fr.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/hi.js +254 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/hi.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/hu.js +293 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/hu.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/hy.js +254 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/hy.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/id.js +292 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/id.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/is.js +291 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/is.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/it.js +320 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/it.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/iu.js +254 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/iu.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ja.js +294 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ja.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ko.js +293 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ko.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/lt.js +293 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/lt.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/lv.js +293 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/lv.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/nl.js +327 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/nl.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/pl.js +296 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/pl.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt-BR.js +254 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt-BR.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt.js +279 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ru.js +293 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/ru.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/sk.js +291 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/sk.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/sq.js +254 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/sq.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/th.js +293 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/th.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/tr.js +295 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/tr.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/uk.js +293 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/uk.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/vi.js +293 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/vi.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh-Hans.js +254 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh-Hans.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh.js +294 -0
- package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.js +10 -0
- package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.min.js.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.js +10 -0
- package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.min.js +7 -0
- package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.min.js.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/jquery/2.2.4/jquery.js +9814 -0
- package/src/wet-boew-cdn-4.0.81.1/js/jquery/2.2.4/jquery.min.js +4 -0
- package/src/wet-boew-cdn-4.0.81.1/js/jquery/2.2.4/jquery.min.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.js +419 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.min.js +8 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.min.js.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist_dynamic.js +50 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist_dynamic.min.js +8 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist_dynamic.min.js.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.js +338 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.min.js +8 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.min.js.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.js +126 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.min.js +8 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.min.js.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/jawsariafixes.js +47 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/jawsariafixes.min.js +16 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/jawsariafixes.min.js.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.js +140 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.min.js +8 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.min.js.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.js +784 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.min.js +8 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.min.js.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.js +107 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.min.js +8 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.min.js.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.js +1343 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.min.js +9 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.min.js.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider_wrapper.js +73 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider_wrapper.min.js +8 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider_wrapper.min.js.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/svg.js +29 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/svg.min.js +8 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/svg.min.js.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/test.js +603 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/test.min.js +8 -0
- package/src/wet-boew-cdn-4.0.81.1/js/polyfills/test.min.js.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.js +20264 -0
- package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.min.js +9 -0
- package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.min.js.map +1 -0
- package/src/wet-boew-cdn-4.0.81.1/package.json +15 -0
- package/src/wet-boew-cdn-4.0.81.1/payload.json +1722 -0
@@ -0,0 +1,349 @@
|
|
1
|
+
/**
|
2
|
+
* @author Alexey Kuzmin <alex.s.kuzmin@gmail.com>
|
3
|
+
* @fileoverview JavaScript implementation of JSON Pointer.
|
4
|
+
* @see http://tools.ietf.org/html/rfc6901
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
;(function() {
|
10
|
+
'use strict';
|
11
|
+
|
12
|
+
/**
|
13
|
+
* List of special characters and their escape sequences.
|
14
|
+
* Special characters will be unescaped in order they are listed.
|
15
|
+
* Section 3 of spec.
|
16
|
+
* @type {Array.<Array.<string>>}
|
17
|
+
* @const
|
18
|
+
*/
|
19
|
+
var SPECIAL_CHARACTERS = [
|
20
|
+
['/', '~1'],
|
21
|
+
['~', '~0']
|
22
|
+
];
|
23
|
+
|
24
|
+
|
25
|
+
/**
|
26
|
+
* Tokens' separator in JSON pointer string.
|
27
|
+
* Section 3 of spec.
|
28
|
+
* @type {string}
|
29
|
+
* @const
|
30
|
+
*/
|
31
|
+
var TOKENS_SEPARATOR = '/';
|
32
|
+
|
33
|
+
|
34
|
+
/**
|
35
|
+
* Prefix for error messages.
|
36
|
+
* @type {string}
|
37
|
+
* @const
|
38
|
+
*/
|
39
|
+
var ERROR_MESSAGE_PREFIX = 'JSON Pointer: ';
|
40
|
+
|
41
|
+
|
42
|
+
/**
|
43
|
+
* Validates non-empty pointer string.
|
44
|
+
* @type {RegExp}
|
45
|
+
* @const
|
46
|
+
*/
|
47
|
+
var NON_EMPTY_POINTER_REGEXP = /(\/[^\/]*)+/;
|
48
|
+
|
49
|
+
|
50
|
+
/**
|
51
|
+
* List of error messages.
|
52
|
+
* Please keep it in alphabetical order.
|
53
|
+
* @enum {string}
|
54
|
+
*/
|
55
|
+
var ErrorMessage = {
|
56
|
+
HYPHEN_IS_NOT_SUPPORTED_IN_ARRAY_CONTEXT:
|
57
|
+
'Implementation does not support "-" token for arrays.',
|
58
|
+
INVALID_DOCUMENT: 'JSON document is not valid.',
|
59
|
+
INVALID_DOCUMENT_TYPE: 'JSON document must be a string or object.',
|
60
|
+
INVALID_POINTER: 'Pointer is not valid.',
|
61
|
+
NON_NUMBER_TOKEN_IN_ARRAY_CONTEXT:
|
62
|
+
'Non-number tokens cannot be used in array context.',
|
63
|
+
TOKEN_WITH_LEADING_ZERO_IN_ARRAY_CONTEXT:
|
64
|
+
'Token with leading zero cannot be used in array context.'
|
65
|
+
};
|
66
|
+
|
67
|
+
|
68
|
+
/**
|
69
|
+
* Returns |target| object's value pointed by |opt_pointer|, returns undefined
|
70
|
+
* if |opt_pointer| points to non-existing value.
|
71
|
+
* If pointer is not provided, validates first argument and returns
|
72
|
+
* evaluator function that takes pointer as argument.
|
73
|
+
* @param {(string|Object|Array)} target Evaluation target.
|
74
|
+
* @param {string=} opt_pointer JSON Pointer string.
|
75
|
+
* @returns {*} Some value.
|
76
|
+
*/
|
77
|
+
function getPointedValue(target, opt_pointer) {
|
78
|
+
// .get() method implementation.
|
79
|
+
|
80
|
+
// First argument must be either string or object.
|
81
|
+
if (isString(target)) {
|
82
|
+
|
83
|
+
// If string it must be valid JSON document.
|
84
|
+
try {
|
85
|
+
// Let's try to parse it as JSON.
|
86
|
+
target = JSON.parse(target);
|
87
|
+
}
|
88
|
+
catch (e) {
|
89
|
+
// If parsing failed, an exception will be thrown.
|
90
|
+
throw getError(ErrorMessage.INVALID_DOCUMENT);
|
91
|
+
}
|
92
|
+
}
|
93
|
+
else if (!isObject(target)) {
|
94
|
+
// If not object or string, an exception will be thrown.
|
95
|
+
throw getError(ErrorMessage.INVALID_DOCUMENT_TYPE);
|
96
|
+
}
|
97
|
+
|
98
|
+
// |target| is already parsed, let's create evaluator function for it.
|
99
|
+
var evaluator = createPointerEvaluator(target);
|
100
|
+
|
101
|
+
if (isUndefined(opt_pointer)) {
|
102
|
+
// If pointer was not provided, return evaluator function.
|
103
|
+
return evaluator;
|
104
|
+
}
|
105
|
+
else {
|
106
|
+
// If pointer is provided, return evaluation result.
|
107
|
+
return evaluator(opt_pointer);
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
|
112
|
+
/**
|
113
|
+
* Returns function that takes JSON Pointer as single argument
|
114
|
+
* and evaluates it in given |target| context.
|
115
|
+
* Returned function throws an exception if pointer is not valid
|
116
|
+
* or any error occurs during evaluation.
|
117
|
+
* @param {*} target Evaluation target.
|
118
|
+
* @returns {Function}
|
119
|
+
*/
|
120
|
+
function createPointerEvaluator(target) {
|
121
|
+
|
122
|
+
// Use cache to store already received values.
|
123
|
+
var cache = {};
|
124
|
+
|
125
|
+
return function(pointer) {
|
126
|
+
|
127
|
+
if (!isValidJSONPointer(pointer)) {
|
128
|
+
// If it's not, an exception will be thrown.
|
129
|
+
throw getError(ErrorMessage.INVALID_POINTER);
|
130
|
+
}
|
131
|
+
|
132
|
+
// First, look up in the cache.
|
133
|
+
if (cache.hasOwnProperty(pointer)) {
|
134
|
+
// If cache entry exists, return it's value.
|
135
|
+
return cache[pointer];
|
136
|
+
}
|
137
|
+
|
138
|
+
// Now, when all arguments are valid, we can start evaluation.
|
139
|
+
// First of all, let's convert JSON pointer string to tokens list.
|
140
|
+
var tokensList = parsePointer(pointer);
|
141
|
+
var token;
|
142
|
+
var value = target;
|
143
|
+
|
144
|
+
// Evaluation will be continued till tokens list is not empty
|
145
|
+
// and returned value is not an undefined.
|
146
|
+
while (!isUndefined(value) && !isUndefined(token = tokensList.pop())) {
|
147
|
+
// Let's evaluate token in current context.
|
148
|
+
// `getValue()` might throw an exception, but we won't handle it.
|
149
|
+
value = getValue(value, token);
|
150
|
+
}
|
151
|
+
|
152
|
+
// Pointer evaluation is done, save value in the cache and return it.
|
153
|
+
cache[pointer] = value;
|
154
|
+
return value;
|
155
|
+
};
|
156
|
+
}
|
157
|
+
|
158
|
+
|
159
|
+
/**
|
160
|
+
* Returns true if given |pointer| is valid, returns false otherwise.
|
161
|
+
* @param {!string} pointer
|
162
|
+
* @returns {boolean} Whether pointer is valid.
|
163
|
+
*/
|
164
|
+
function isValidJSONPointer(pointer) {
|
165
|
+
// Validates JSON pointer string.
|
166
|
+
|
167
|
+
if (!isString(pointer)) {
|
168
|
+
// If it's not a string, it obviously is not valid.
|
169
|
+
return false;
|
170
|
+
}
|
171
|
+
|
172
|
+
if ('' === pointer) {
|
173
|
+
// If it is string and is an empty string, it's valid.
|
174
|
+
return true;
|
175
|
+
}
|
176
|
+
|
177
|
+
// If it is non-empty string, it must match spec defined format.
|
178
|
+
// Check Section 3 of specification for concrete syntax.
|
179
|
+
return NON_EMPTY_POINTER_REGEXP.test(pointer);
|
180
|
+
}
|
181
|
+
|
182
|
+
|
183
|
+
/**
|
184
|
+
* Returns tokens list for given |pointer|. List is reversed, e.g.
|
185
|
+
* '/simple/path' -> ['path', 'simple']
|
186
|
+
* @param {!string} pointer JSON pointer string.
|
187
|
+
* @returns {Array} List of tokens.
|
188
|
+
*/
|
189
|
+
function parsePointer(pointer) {
|
190
|
+
// Converts JSON pointer string into tokens list.
|
191
|
+
|
192
|
+
// Let's split pointer string by tokens' separator character.
|
193
|
+
// Also we will reverse resulting array to simplify it's further usage.
|
194
|
+
var tokens = pointer.split(TOKENS_SEPARATOR).reverse();
|
195
|
+
|
196
|
+
// Last item in resulting array is always an empty string,
|
197
|
+
// we don't need it, let's remove it.
|
198
|
+
tokens.pop();
|
199
|
+
|
200
|
+
// Now tokens' array is ready to use, let's return it.
|
201
|
+
return tokens;
|
202
|
+
}
|
203
|
+
|
204
|
+
|
205
|
+
/**
|
206
|
+
* Decodes all escape sequences in given |rawReferenceToken|.
|
207
|
+
* @param {!string} rawReferenceToken
|
208
|
+
* @returns {string} Unescaped reference token.
|
209
|
+
*/
|
210
|
+
function unescapeReferenceToken(rawReferenceToken) {
|
211
|
+
// Unescapes reference token. See Section 3 of specification.
|
212
|
+
|
213
|
+
var referenceToken = rawReferenceToken;
|
214
|
+
var character;
|
215
|
+
var escapeSequence;
|
216
|
+
var pair;
|
217
|
+
var replaceRegExp;
|
218
|
+
|
219
|
+
// Order of unescaping does matter.
|
220
|
+
// That's why an array is used here and not hash.
|
221
|
+
for (var i = 0; i < SPECIAL_CHARACTERS.length; i++) {
|
222
|
+
pair = SPECIAL_CHARACTERS[i];
|
223
|
+
character = pair[0];
|
224
|
+
escapeSequence = pair[1];
|
225
|
+
replaceRegExp = new RegExp(escapeSequence, 'g');
|
226
|
+
referenceToken = referenceToken.replace(replaceRegExp, character);
|
227
|
+
}
|
228
|
+
|
229
|
+
return referenceToken;
|
230
|
+
}
|
231
|
+
|
232
|
+
|
233
|
+
/**
|
234
|
+
* Returns value pointed by |token| in evaluation |context|.
|
235
|
+
* Throws an exception if any error occurs.
|
236
|
+
* @param {*} context Current evaluation context.
|
237
|
+
* @param {!string} token Unescaped reference token.
|
238
|
+
* @returns {*} Some value or undefined if value if not found.
|
239
|
+
*/
|
240
|
+
function getValue(context, token) {
|
241
|
+
// Reference token evaluation. See Section 4 of spec.
|
242
|
+
|
243
|
+
// First of all we should unescape all special characters in token.
|
244
|
+
token = unescapeReferenceToken(token);
|
245
|
+
|
246
|
+
// Further actions depend of context of evaluation.
|
247
|
+
|
248
|
+
if (isArray(context)) {
|
249
|
+
// In array context there are more strict requirements
|
250
|
+
// for token value.
|
251
|
+
|
252
|
+
if ('-' === token) {
|
253
|
+
// Token cannot be a "-" character,
|
254
|
+
// it has no sense in current implementation.
|
255
|
+
throw getError(ErrorMessage.HYPHEN_IS_NOT_SUPPORTED_IN_ARRAY_CONTEXT);
|
256
|
+
}
|
257
|
+
if (!isNumber(token)) {
|
258
|
+
// Token cannot be non-number.
|
259
|
+
throw getError(ErrorMessage.NON_NUMBER_TOKEN_IN_ARRAY_CONTEXT);
|
260
|
+
}
|
261
|
+
if (token.length > 1 && '0' === token[0]) {
|
262
|
+
// Token cannot be non-zero number with leading zero.
|
263
|
+
throw getError(ErrorMessage.TOKEN_WITH_LEADING_ZERO_IN_ARRAY_CONTEXT);
|
264
|
+
}
|
265
|
+
// If all conditions are met, simply return element
|
266
|
+
// with token's value index.
|
267
|
+
// It might be undefined, but it's ok.
|
268
|
+
return context[token];
|
269
|
+
}
|
270
|
+
|
271
|
+
if (isObject(context)) {
|
272
|
+
// In object context we can simply return element w/ key equal to token.
|
273
|
+
// It might be undefined, but it's ok.
|
274
|
+
return context[token];
|
275
|
+
}
|
276
|
+
|
277
|
+
// If context is not an array or an object,
|
278
|
+
// token evaluation is not possible.
|
279
|
+
// This is the expected situation and so we won't throw an error,
|
280
|
+
// undefined value is perfectly suitable here.
|
281
|
+
return;
|
282
|
+
}
|
283
|
+
|
284
|
+
|
285
|
+
/**
|
286
|
+
* Returns Error instance for throwing.
|
287
|
+
* @param {string} message Error message.
|
288
|
+
* @returns {Error}
|
289
|
+
*/
|
290
|
+
function getError(message) {
|
291
|
+
return new Error(ERROR_MESSAGE_PREFIX + message);
|
292
|
+
}
|
293
|
+
|
294
|
+
|
295
|
+
function isObject(o) {
|
296
|
+
return 'object' === typeof o && null !== o;
|
297
|
+
}
|
298
|
+
|
299
|
+
|
300
|
+
function isArray(a) {
|
301
|
+
if (Array.isArray) {
|
302
|
+
return Array.isArray(a);
|
303
|
+
} else {
|
304
|
+
return Object.prototype.toString.call(a) === '[object Array]';
|
305
|
+
}
|
306
|
+
}
|
307
|
+
|
308
|
+
|
309
|
+
function isNumber(n) {
|
310
|
+
return !isNaN(Number(n));
|
311
|
+
}
|
312
|
+
|
313
|
+
|
314
|
+
function isString(s) {
|
315
|
+
return 'string' === typeof s || s instanceof String;
|
316
|
+
}
|
317
|
+
|
318
|
+
|
319
|
+
function isUndefined(v) {
|
320
|
+
return 'undefined' === typeof v;
|
321
|
+
}
|
322
|
+
|
323
|
+
|
324
|
+
// Let's expose API to the world.
|
325
|
+
|
326
|
+
var jsonpointer = {
|
327
|
+
get: getPointedValue
|
328
|
+
};
|
329
|
+
|
330
|
+
if ('object' === typeof exports) {
|
331
|
+
// If `exports` is an object, we are in Node.js context.
|
332
|
+
// We are supposed to act as Node.js package.
|
333
|
+
module.exports = jsonpointer;
|
334
|
+
} else if ('function' === typeof define && define.amd) {
|
335
|
+
// If there is global function `define()` and `define.amd` is defined,
|
336
|
+
// we are supposed to act as AMD module.
|
337
|
+
define(function() {
|
338
|
+
return jsonpointer;
|
339
|
+
});
|
340
|
+
} else {
|
341
|
+
// Last resort.
|
342
|
+
// Let's create global `jsonpointer` object.
|
343
|
+
this.jsonpointer = jsonpointer;
|
344
|
+
}
|
345
|
+
|
346
|
+
}).call((function() {
|
347
|
+
'use strict';
|
348
|
+
return (typeof window !== 'undefined' ? window : this);
|
349
|
+
})());
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(){"use strict";var u=[["/","~1"],["~","~0"]],_="/",n="JSON Pointer: ",f=/(\/[^\/]*)+/,c={HYPHEN_IS_NOT_SUPPORTED_IN_ARRAY_CONTEXT:'Implementation does not support "-" token for arrays.',INVALID_DOCUMENT:"JSON document is not valid.",INVALID_DOCUMENT_TYPE:"JSON document must be a string or object.",INVALID_POINTER:"Pointer is not valid.",NON_NUMBER_TOKEN_IN_ARRAY_CONTEXT:"Non-number tokens cannot be used in array context.",TOKEN_WITH_LEADING_ZERO_IN_ARRAY_CONTEXT:"Token with leading zero cannot be used in array context."};function a(t){return new Error(n+t)}function T(t){return"object"==typeof t&&null!==t}function s(t){return"string"==typeof t||t instanceof String}function E(t){return void 0===t}var t={get:function(t,n){if(s(t))try{t=JSON.parse(t)}catch(t){throw a(c.INVALID_DOCUMENT)}else if(!T(t))throw a(c.INVALID_DOCUMENT_TYPE);i=t,N={};var i,N,t=function(t){if(!s(n=t)||""!==n&&!f.test(n))throw a(c.INVALID_POINTER);var n;if(N.hasOwnProperty(t))return N[t];for(var r,e=function(t){t=t.split(_).reverse();return t.pop(),t}(t),o=i;!E(o)&&!E(r=e.pop());)o=function(t,n){if(n=function(t){for(var n,r,e=t,o=0;o<u.length;o++)r=u[o],n=r[0],r=r[1],r=new RegExp(r,"g"),e=e.replace(r,n);return e}(n),function(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}(t)){if("-"===n)throw a(c.HYPHEN_IS_NOT_SUPPORTED_IN_ARRAY_CONTEXT);if(!function(t){return!isNaN(Number(t))}(n))throw a(c.NON_NUMBER_TOKEN_IN_ARRAY_CONTEXT);if(1<n.length&&"0"===n[0])throw a(c.TOKEN_WITH_LEADING_ZERO_IN_ARRAY_CONTEXT);return t[n]}if(T(t))return t[n]}(o,r);return N[t]=o};return E(n)?t:t(n)}};"object"==typeof exports?module.exports=t:"function"==typeof define&&define.amd?define(function(){return t}):this.jsonpointer=t}.call(function(){"use strict";return"undefined"!=typeof window?window:this}());
|
@@ -0,0 +1,53 @@
|
|
1
|
+
/**
|
2
|
+
* @license
|
3
|
+
* Copyright (C) 2009 Onno Hommes.
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
* you may not use this file except in compliance with the License.
|
7
|
+
* You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
* See the License for the specific language governing permissions and
|
15
|
+
* limitations under the License.
|
16
|
+
*/
|
17
|
+
|
18
|
+
/**
|
19
|
+
* @fileoverview
|
20
|
+
* Registers a language handler for the AGC/AEA Assembly Language as described
|
21
|
+
* at http://virtualagc.googlecode.com
|
22
|
+
* <p>
|
23
|
+
* This file could be used by goodle code to allow syntax highlight for
|
24
|
+
* Virtual AGC SVN repository or if you don't want to commonize
|
25
|
+
* the header for the agc/aea html assembly listing.
|
26
|
+
*
|
27
|
+
* @author ohommes@alumni.cmu.edu
|
28
|
+
*/
|
29
|
+
|
30
|
+
PR['registerLangHandler'](
|
31
|
+
PR['createSimpleLexer'](
|
32
|
+
[
|
33
|
+
// A line comment that starts with ;
|
34
|
+
[PR['PR_COMMENT'], /^#[^\r\n]*/, null, '#'],
|
35
|
+
// Whitespace
|
36
|
+
[PR['PR_PLAIN'], /^[\t\n\r \xA0]+/, null, '\t\n\r \xA0'],
|
37
|
+
// A double quoted, possibly multi-line, string.
|
38
|
+
[PR['PR_STRING'], /^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/, null, '"']
|
39
|
+
],
|
40
|
+
[
|
41
|
+
[PR['PR_KEYWORD'], /^(?:ADS|AD|AUG|BZF|BZMF|CAE|CAF|CA|CCS|COM|CS|DAS|DCA|DCOM|DCS|DDOUBL|DIM|DOUBLE|DTCB|DTCF|DV|DXCH|EDRUPT|EXTEND|INCR|INDEX|NDX|INHINT|LXCH|MASK|MSK|MP|MSU|NOOP|OVSK|QXCH|RAND|READ|RELINT|RESUME|RETURN|ROR|RXOR|SQUARE|SU|TCR|TCAA|OVSK|TCF|TC|TS|WAND|WOR|WRITE|XCH|XLQ|XXALQ|ZL|ZQ|ADD|ADZ|SUB|SUZ|MPY|MPR|MPZ|DVP|COM|ABS|CLA|CLZ|LDQ|STO|STQ|ALS|LLS|LRS|TRA|TSQ|TMI|TOV|AXT|TIX|DLY|INP|OUT)\s/,null],
|
42
|
+
[PR['PR_TYPE'], /^(?:-?GENADR|=MINUS|2BCADR|VN|BOF|MM|-?2CADR|-?[1-6]DNADR|ADRES|BBCON|[SE]?BANK\=?|BLOCK|BNKSUM|E?CADR|COUNT\*?|2?DEC\*?|-?DNCHAN|-?DNPTR|EQUALS|ERASE|MEMORY|2?OCT|REMADR|SETLOC|SUBRO|ORG|BSS|BES|SYN|EQU|DEFINE|END)\s/,null],
|
43
|
+
// A single quote possibly followed by a word that optionally ends with
|
44
|
+
// = ! or ?.
|
45
|
+
[PR['PR_LITERAL'],
|
46
|
+
/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],
|
47
|
+
// Any word including labels that optionally ends with = ! or ?.
|
48
|
+
[PR['PR_PLAIN'],
|
49
|
+
/^-*(?:[!-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],
|
50
|
+
// A printable non-space non-special character
|
51
|
+
[PR['PR_PUNCTUATION'], /^[^\w\t\n\r \xA0()\"\\\';]+/]
|
52
|
+
]),
|
53
|
+
['apollo', 'agc', 'aea']);
|
@@ -0,0 +1 @@
|
|
1
|
+
PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_COMMENT,/^#[^\r\n]*/,null,"#"],[PR.PR_PLAIN,/^[\t\n\r \xA0]+/,null,"\t\n\r "],[PR.PR_STRING,/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[[PR.PR_KEYWORD,/^(?:ADS|AD|AUG|BZF|BZMF|CAE|CAF|CA|CCS|COM|CS|DAS|DCA|DCOM|DCS|DDOUBL|DIM|DOUBLE|DTCB|DTCF|DV|DXCH|EDRUPT|EXTEND|INCR|INDEX|NDX|INHINT|LXCH|MASK|MSK|MP|MSU|NOOP|OVSK|QXCH|RAND|READ|RELINT|RESUME|RETURN|ROR|RXOR|SQUARE|SU|TCR|TCAA|OVSK|TCF|TC|TS|WAND|WOR|WRITE|XCH|XLQ|XXALQ|ZL|ZQ|ADD|ADZ|SUB|SUZ|MPY|MPR|MPZ|DVP|COM|ABS|CLA|CLZ|LDQ|STO|STQ|ALS|LLS|LRS|TRA|TSQ|TMI|TOV|AXT|TIX|DLY|INP|OUT)\s/,null],[PR.PR_TYPE,/^(?:-?GENADR|=MINUS|2BCADR|VN|BOF|MM|-?2CADR|-?[1-6]DNADR|ADRES|BBCON|[SE]?BANK\=?|BLOCK|BNKSUM|E?CADR|COUNT\*?|2?DEC\*?|-?DNCHAN|-?DNPTR|EQUALS|ERASE|MEMORY|2?OCT|REMADR|SETLOC|SUBRO|ORG|BSS|BES|SYN|EQU|DEFINE|END)\s/,null],[PR.PR_LITERAL,/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],[PR.PR_PLAIN,/^-*(?:[!-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],[PR.PR_PUNCTUATION,/^[^\w\t\n\r \xA0()\"\\\';]+/]]),["apollo","agc","aea"]);
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/**
|
2
|
+
* @license
|
3
|
+
* Copyright (C) 2013 Peter Kofler
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
* you may not use this file except in compliance with the License.
|
7
|
+
* You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
* See the License for the specific language governing permissions and
|
15
|
+
* limitations under the License.
|
16
|
+
*/
|
17
|
+
|
18
|
+
// Contributed by peter dot kofler at code minus cop dot org
|
19
|
+
|
20
|
+
/**
|
21
|
+
* @fileoverview
|
22
|
+
* Registers a language handler for Basic.
|
23
|
+
*
|
24
|
+
* To use, include prettify.js and this file in your HTML page.
|
25
|
+
* Then put your code in an HTML tag like
|
26
|
+
* <pre class="prettyprint lang-basic">(my BASIC code)</pre>
|
27
|
+
*
|
28
|
+
* @author peter dot kofler at code minus cop dot org
|
29
|
+
*/
|
30
|
+
|
31
|
+
PR.registerLangHandler(
|
32
|
+
PR.createSimpleLexer(
|
33
|
+
[ // shortcutStylePatterns
|
34
|
+
// "single-line-string"
|
35
|
+
[PR.PR_STRING, /^(?:"(?:[^\\"\r\n]|\\.)*(?:"|$))/, null, '"'],
|
36
|
+
// Whitespace
|
37
|
+
[PR.PR_PLAIN, /^\s+/, null, ' \r\n\t\xA0']
|
38
|
+
],
|
39
|
+
[ // fallthroughStylePatterns
|
40
|
+
// A line comment that starts with REM
|
41
|
+
[PR.PR_COMMENT, /^REM[^\r\n]*/, null],
|
42
|
+
[PR.PR_KEYWORD, /^\b(?:AND|CLOSE|CLR|CMD|CONT|DATA|DEF ?FN|DIM|END|FOR|GET|GOSUB|GOTO|IF|INPUT|LET|LIST|LOAD|NEW|NEXT|NOT|ON|OPEN|OR|POKE|PRINT|READ|RESTORE|RETURN|RUN|SAVE|STEP|STOP|SYS|THEN|TO|VERIFY|WAIT)\b/, null],
|
43
|
+
[PR.PR_PLAIN, /^[A-Z][A-Z0-9]?(?:\$|%)?/i, null],
|
44
|
+
// Literals .0, 0, 0.0 0E13
|
45
|
+
[PR.PR_LITERAL, /^(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?/i, null, '0123456789'],
|
46
|
+
[PR.PR_PUNCTUATION, /^.[^\s\w\.$%"]*/, null]
|
47
|
+
// [PR.PR_PUNCTUATION, /^[-,:;!<>=\+^\/\*]+/]
|
48
|
+
]),
|
49
|
+
['basic','cbm']);
|
@@ -0,0 +1 @@
|
|
1
|
+
PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_STRING,/^(?:"(?:[^\\"\r\n]|\\.)*(?:"|$))/,null,'"'],[PR.PR_PLAIN,/^\s+/,null," \r\n\t "]],[[PR.PR_COMMENT,/^REM[^\r\n]*/,null],[PR.PR_KEYWORD,/^\b(?:AND|CLOSE|CLR|CMD|CONT|DATA|DEF ?FN|DIM|END|FOR|GET|GOSUB|GOTO|IF|INPUT|LET|LIST|LOAD|NEW|NEXT|NOT|ON|OPEN|OR|POKE|PRINT|READ|RESTORE|RETURN|RUN|SAVE|STEP|STOP|SYS|THEN|TO|VERIFY|WAIT)\b/,null],[PR.PR_PLAIN,/^[A-Z][A-Z0-9]?(?:\$|%)?/i,null],[PR.PR_LITERAL,/^(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?/i,null,"0123456789"],[PR.PR_PUNCTUATION,/^.[^\s\w\.$%"]*/,null]]),["basic","cbm"]);
|
@@ -0,0 +1,64 @@
|
|
1
|
+
/**
|
2
|
+
* @license Copyright (C) 2011 Google Inc.
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
/**
|
18
|
+
* @fileoverview
|
19
|
+
* Registers a language handler for Clojure.
|
20
|
+
*
|
21
|
+
*
|
22
|
+
* To use, include prettify.js and this file in your HTML page.
|
23
|
+
* Then put your code in an HTML tag like
|
24
|
+
* <pre class="prettyprint lang-lisp">(my lisp code)</pre>
|
25
|
+
* The lang-cl class identifies the language as common lisp.
|
26
|
+
* This file supports the following language extensions:
|
27
|
+
* lang-clj - Clojure
|
28
|
+
*
|
29
|
+
*
|
30
|
+
* I used lang-lisp.js as the basis for this adding the clojure specific
|
31
|
+
* keywords and syntax.
|
32
|
+
*
|
33
|
+
* "Name" = 'Clojure'
|
34
|
+
* "Author" = 'Rich Hickey'
|
35
|
+
* "Version" = '1.2'
|
36
|
+
* "About" = 'Clojure is a lisp for the jvm with concurrency primitives and a richer set of types.'
|
37
|
+
*
|
38
|
+
*
|
39
|
+
* I used <a href="http://clojure.org/Reference">Clojure.org Reference</a> as
|
40
|
+
* the basis for the reserved word list.
|
41
|
+
*
|
42
|
+
*
|
43
|
+
* @author jwall@google.com
|
44
|
+
*/
|
45
|
+
|
46
|
+
PR['registerLangHandler'](
|
47
|
+
PR['createSimpleLexer'](
|
48
|
+
[
|
49
|
+
// clojure has more paren types than minimal lisp.
|
50
|
+
['opn', /^[\(\{\[]+/, null, '([{'],
|
51
|
+
['clo', /^[\)\}\]]+/, null, ')]}'],
|
52
|
+
// A line comment that starts with ;
|
53
|
+
[PR['PR_COMMENT'], /^;[^\r\n]*/, null, ';'],
|
54
|
+
// Whitespace
|
55
|
+
[PR['PR_PLAIN'], /^[\t\n\r \xA0]+/, null, '\t\n\r \xA0'],
|
56
|
+
// A double quoted, possibly multi-line, string.
|
57
|
+
[PR['PR_STRING'], /^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/, null, '"']
|
58
|
+
],
|
59
|
+
[
|
60
|
+
// clojure has a much larger set of keywords
|
61
|
+
[PR['PR_KEYWORD'], /^(?:def|if|do|let|quote|var|fn|loop|recur|throw|try|monitor-enter|monitor-exit|defmacro|defn|defn-|macroexpand|macroexpand-1|for|doseq|dosync|dotimes|and|or|when|not|assert|doto|proxy|defstruct|first|rest|cons|defprotocol|deftype|defrecord|reify|defmulti|defmethod|meta|with-meta|ns|in-ns|create-ns|import|intern|refer|alias|namespace|resolve|ref|deref|refset|new|set!|memfn|to-array|into-array|aset|gen-class|reduce|map|filter|find|nil?|empty?|hash-map|hash-set|vec|vector|seq|flatten|reverse|assoc|dissoc|list|list?|disj|get|union|difference|intersection|extend|extend-type|extend-protocol|prn)\b/, null],
|
62
|
+
[PR['PR_TYPE'], /^:[0-9a-zA-Z\-]+/]
|
63
|
+
]),
|
64
|
+
['clj']);
|
@@ -0,0 +1 @@
|
|
1
|
+
PR.registerLangHandler(PR.createSimpleLexer([["opn",/^[\(\{\[]+/,null,"([{"],["clo",/^[\)\}\]]+/,null,")]}"],[PR.PR_COMMENT,/^;[^\r\n]*/,null,";"],[PR.PR_PLAIN,/^[\t\n\r \xA0]+/,null,"\t\n\r "],[PR.PR_STRING,/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[[PR.PR_KEYWORD,/^(?:def|if|do|let|quote|var|fn|loop|recur|throw|try|monitor-enter|monitor-exit|defmacro|defn|defn-|macroexpand|macroexpand-1|for|doseq|dosync|dotimes|and|or|when|not|assert|doto|proxy|defstruct|first|rest|cons|defprotocol|deftype|defrecord|reify|defmulti|defmethod|meta|with-meta|ns|in-ns|create-ns|import|intern|refer|alias|namespace|resolve|ref|deref|refset|new|set!|memfn|to-array|into-array|aset|gen-class|reduce|map|filter|find|nil?|empty?|hash-map|hash-set|vec|vector|seq|flatten|reverse|assoc|dissoc|list|list?|disj|get|union|difference|intersection|extend|extend-type|extend-protocol|prn)\b/,null],[PR.PR_TYPE,/^:[0-9a-zA-Z\-]+/]]),["clj"]);
|