@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.
Files changed (284) hide show
  1. package/dist/WetButton.d.ts +9 -0
  2. package/dist/WetModal.d.ts +6 -0
  3. package/dist/first-test-wet.cjs.development.js +26 -0
  4. package/dist/first-test-wet.cjs.development.js.map +1 -1
  5. package/dist/first-test-wet.cjs.production.min.js +1 -1
  6. package/dist/first-test-wet.cjs.production.min.js.map +1 -1
  7. package/dist/first-test-wet.esm.js +26 -1
  8. package/dist/first-test-wet.esm.js.map +1 -1
  9. package/dist/index.d.ts +1 -0
  10. package/package.json +1 -1
  11. package/src/WetButton.tsx +19 -0
  12. package/src/WetModal.tsx +25 -0
  13. package/src/index.tsx +2 -2
  14. package/src/wet-boew-cdn-4.0.81.1/Licence-fr.txt +1 -0
  15. package/src/wet-boew-cdn-4.0.81.1/License-en.txt +1 -0
  16. package/src/wet-boew-cdn-4.0.81.1/assets/cloud-popup-relative.png +0 -0
  17. package/src/wet-boew-cdn-4.0.81.1/assets/fd-slider-sprite.png +0 -0
  18. package/src/wet-boew-cdn-4.0.81.1/assets/loading.png +0 -0
  19. package/src/wet-boew-cdn-4.0.81.1/assets/mediacontrols.html +33 -0
  20. package/src/wet-boew-cdn-4.0.81.1/assets/sprites_share.png +0 -0
  21. package/src/wet-boew-cdn-4.0.81.1/assets/zoom-minus-mini.png +0 -0
  22. package/src/wet-boew-cdn-4.0.81.1/assets/zoom-plus-mini.png +0 -0
  23. package/src/wet-boew-cdn-4.0.81.1/assets/zoom-world-mini.png +0 -0
  24. package/src/wet-boew-cdn-4.0.81.1/css/noscript.css +112 -0
  25. package/src/wet-boew-cdn-4.0.81.1/css/noscript.min.css +6 -0
  26. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datalist.css +32 -0
  27. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datalist.min.css +1 -0
  28. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datepicker.css +47 -0
  29. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/datepicker.min.css +1 -0
  30. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/details.css +28 -0
  31. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/details.min.css +1 -0
  32. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/mathml.css +16 -0
  33. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/mathml.min.css +1 -0
  34. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/meter.css +24 -0
  35. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/meter.min.css +1 -0
  36. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/progress.css +8 -0
  37. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/progress.min.css +1 -0
  38. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/slider.css +229 -0
  39. package/src/wet-boew-cdn-4.0.81.1/css/polyfills/slider.min.css +1 -0
  40. package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.eot +0 -0
  41. package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.svg +288 -0
  42. package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.ttf +0 -0
  43. package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.woff +0 -0
  44. package/src/wet-boew-cdn-4.0.81.1/fonts/glyphicons-halflings-regular.woff2 +0 -0
  45. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/mml-chtml.js +1 -0
  46. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
  47. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
  48. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
  49. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
  50. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
  51. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
  52. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
  53. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
  54. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
  55. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
  56. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
  57. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
  58. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
  59. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
  60. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
  61. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
  62. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
  63. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
  64. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
  65. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
  66. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
  67. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
  68. package/src/wet-boew-cdn-4.0.81.1/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
  69. package/src/wet-boew-cdn-4.0.81.1/js/deps/additional-methods.js +1512 -0
  70. package/src/wet-boew-cdn-4.0.81.1/js/deps/additional-methods.min.js +9 -0
  71. package/src/wet-boew-cdn-4.0.81.1/js/deps/geomap-lib.js +3770 -0
  72. package/src/wet-boew-cdn-4.0.81.1/js/deps/geomap-lib.min.js +1 -0
  73. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.dataTables.js +15733 -0
  74. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.dataTables.min.js +4 -0
  75. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.canvas.js +345 -0
  76. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.canvas.min.js +1 -0
  77. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.js +3168 -0
  78. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.min.js +1 -0
  79. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.orderBars.js +282 -0
  80. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.orderBars.min.js +1 -0
  81. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.pie.js +820 -0
  82. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.pie.min.js +1 -0
  83. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.magnific-popup.js +2061 -0
  84. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.magnific-popup.min.js +4 -0
  85. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.validate.js +1661 -0
  86. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.validate.min.js +9 -0
  87. package/src/wet-boew-cdn-4.0.81.1/js/deps/json-patch.js +315 -0
  88. package/src/wet-boew-cdn-4.0.81.1/js/deps/json-patch.min.js +1 -0
  89. package/src/wet-boew-cdn-4.0.81.1/js/deps/jsonpointer.js +349 -0
  90. package/src/wet-boew-cdn-4.0.81.1/js/deps/jsonpointer.min.js +1 -0
  91. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-apollo.js +53 -0
  92. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-apollo.min.js +1 -0
  93. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-basic.js +49 -0
  94. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-basic.min.js +1 -0
  95. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-clj.js +64 -0
  96. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-clj.min.js +1 -0
  97. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-css.js +160 -0
  98. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-css.min.js +1 -0
  99. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-dart.js +92 -0
  100. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-dart.min.js +1 -0
  101. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-erlang.js +94 -0
  102. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-erlang.min.js +1 -0
  103. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-go.js +59 -0
  104. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-go.min.js +1 -0
  105. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-hs.js +102 -0
  106. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-hs.min.js +1 -0
  107. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lasso.js +67 -0
  108. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lasso.min.js +1 -0
  109. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lisp.js +95 -0
  110. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lisp.min.js +1 -0
  111. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-llvm.js +63 -0
  112. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-llvm.min.js +1 -0
  113. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-logtalk.js +50 -0
  114. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-logtalk.min.js +1 -0
  115. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lua.js +60 -0
  116. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-lua.min.js +1 -0
  117. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-matlab.js +183 -0
  118. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-matlab.min.js +1 -0
  119. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-ml.js +57 -0
  120. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-ml.min.js +1 -0
  121. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-mumps.js +140 -0
  122. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-mumps.min.js +1 -0
  123. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-n.js +67 -0
  124. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-n.min.js +1 -0
  125. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-pascal.js +49 -0
  126. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-pascal.min.js +1 -0
  127. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-proto.js +37 -0
  128. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-proto.min.js +1 -0
  129. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-r.js +59 -0
  130. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-r.min.js +1 -0
  131. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rd.js +50 -0
  132. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rd.min.js +1 -0
  133. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rust.js +81 -0
  134. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-rust.min.js +1 -0
  135. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-scala.js +56 -0
  136. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-scala.min.js +1 -0
  137. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-sql.js +59 -0
  138. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-sql.min.js +1 -0
  139. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-swift.js +60 -0
  140. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-swift.min.js +1 -0
  141. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tcl.js +63 -0
  142. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tcl.min.js +1 -0
  143. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tex.js +49 -0
  144. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-tex.min.js +1 -0
  145. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vb.js +67 -0
  146. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vb.min.js +1 -0
  147. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vhdl.js +51 -0
  148. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-vhdl.min.js +1 -0
  149. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-wiki.js +55 -0
  150. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-wiki.min.js +1 -0
  151. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-xq.js +71 -0
  152. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-xq.min.js +1 -0
  153. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-yaml.js +45 -0
  154. package/src/wet-boew-cdn-4.0.81.1/js/deps/lang-yaml.min.js +1 -0
  155. package/src/wet-boew-cdn-4.0.81.1/js/deps/ol.js +1008 -0
  156. package/src/wet-boew-cdn-4.0.81.1/js/deps/ol.min.js +1 -0
  157. package/src/wet-boew-cdn-4.0.81.1/js/deps/prettify.js +1742 -0
  158. package/src/wet-boew-cdn-4.0.81.1/js/deps/prettify.min.js +1 -0
  159. package/src/wet-boew-cdn-4.0.81.1/js/deps/proj4.js +3 -0
  160. package/src/wet-boew-cdn-4.0.81.1/js/deps/proj4.min.js +1 -0
  161. package/src/wet-boew-cdn-4.0.81.1/js/deps/run_prettify.js +1998 -0
  162. package/src/wet-boew-cdn-4.0.81.1/js/deps/run_prettify.min.js +1 -0
  163. package/src/wet-boew-cdn-4.0.81.1/js/deps/tableparser.js +2216 -0
  164. package/src/wet-boew-cdn-4.0.81.1/js/deps/tableparser.min.js +1 -0
  165. package/src/wet-boew-cdn-4.0.81.1/js/deps/unorm.js +452 -0
  166. package/src/wet-boew-cdn-4.0.81.1/js/deps/unorm.min.js +1 -0
  167. package/src/wet-boew-cdn-4.0.81.1/js/i18n/af.js +254 -0
  168. package/src/wet-boew-cdn-4.0.81.1/js/i18n/af.min.js +7 -0
  169. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ar.js +293 -0
  170. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ar.min.js +7 -0
  171. package/src/wet-boew-cdn-4.0.81.1/js/i18n/bg.js +293 -0
  172. package/src/wet-boew-cdn-4.0.81.1/js/i18n/bg.min.js +7 -0
  173. package/src/wet-boew-cdn-4.0.81.1/js/i18n/cs.js +294 -0
  174. package/src/wet-boew-cdn-4.0.81.1/js/i18n/cs.min.js +7 -0
  175. package/src/wet-boew-cdn-4.0.81.1/js/i18n/de.js +363 -0
  176. package/src/wet-boew-cdn-4.0.81.1/js/i18n/de.min.js +7 -0
  177. package/src/wet-boew-cdn-4.0.81.1/js/i18n/el.js +293 -0
  178. package/src/wet-boew-cdn-4.0.81.1/js/i18n/el.min.js +7 -0
  179. package/src/wet-boew-cdn-4.0.81.1/js/i18n/en.js +254 -0
  180. package/src/wet-boew-cdn-4.0.81.1/js/i18n/en.min.js +7 -0
  181. package/src/wet-boew-cdn-4.0.81.1/js/i18n/es.js +296 -0
  182. package/src/wet-boew-cdn-4.0.81.1/js/i18n/es.min.js +7 -0
  183. package/src/wet-boew-cdn-4.0.81.1/js/i18n/et.js +291 -0
  184. package/src/wet-boew-cdn-4.0.81.1/js/i18n/et.min.js +7 -0
  185. package/src/wet-boew-cdn-4.0.81.1/js/i18n/fr.js +322 -0
  186. package/src/wet-boew-cdn-4.0.81.1/js/i18n/fr.min.js +7 -0
  187. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hi.js +254 -0
  188. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hi.min.js +7 -0
  189. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hu.js +293 -0
  190. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hu.min.js +7 -0
  191. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hy.js +254 -0
  192. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hy.min.js +7 -0
  193. package/src/wet-boew-cdn-4.0.81.1/js/i18n/id.js +292 -0
  194. package/src/wet-boew-cdn-4.0.81.1/js/i18n/id.min.js +7 -0
  195. package/src/wet-boew-cdn-4.0.81.1/js/i18n/is.js +291 -0
  196. package/src/wet-boew-cdn-4.0.81.1/js/i18n/is.min.js +7 -0
  197. package/src/wet-boew-cdn-4.0.81.1/js/i18n/it.js +320 -0
  198. package/src/wet-boew-cdn-4.0.81.1/js/i18n/it.min.js +7 -0
  199. package/src/wet-boew-cdn-4.0.81.1/js/i18n/iu.js +254 -0
  200. package/src/wet-boew-cdn-4.0.81.1/js/i18n/iu.min.js +7 -0
  201. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ja.js +294 -0
  202. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ja.min.js +7 -0
  203. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ko.js +293 -0
  204. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ko.min.js +7 -0
  205. package/src/wet-boew-cdn-4.0.81.1/js/i18n/lt.js +293 -0
  206. package/src/wet-boew-cdn-4.0.81.1/js/i18n/lt.min.js +7 -0
  207. package/src/wet-boew-cdn-4.0.81.1/js/i18n/lv.js +293 -0
  208. package/src/wet-boew-cdn-4.0.81.1/js/i18n/lv.min.js +7 -0
  209. package/src/wet-boew-cdn-4.0.81.1/js/i18n/nl.js +327 -0
  210. package/src/wet-boew-cdn-4.0.81.1/js/i18n/nl.min.js +7 -0
  211. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pl.js +296 -0
  212. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pl.min.js +7 -0
  213. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt-BR.js +254 -0
  214. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt-BR.min.js +7 -0
  215. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt.js +279 -0
  216. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt.min.js +7 -0
  217. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ru.js +293 -0
  218. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ru.min.js +7 -0
  219. package/src/wet-boew-cdn-4.0.81.1/js/i18n/sk.js +291 -0
  220. package/src/wet-boew-cdn-4.0.81.1/js/i18n/sk.min.js +7 -0
  221. package/src/wet-boew-cdn-4.0.81.1/js/i18n/sq.js +254 -0
  222. package/src/wet-boew-cdn-4.0.81.1/js/i18n/sq.min.js +7 -0
  223. package/src/wet-boew-cdn-4.0.81.1/js/i18n/th.js +293 -0
  224. package/src/wet-boew-cdn-4.0.81.1/js/i18n/th.min.js +7 -0
  225. package/src/wet-boew-cdn-4.0.81.1/js/i18n/tr.js +295 -0
  226. package/src/wet-boew-cdn-4.0.81.1/js/i18n/tr.min.js +7 -0
  227. package/src/wet-boew-cdn-4.0.81.1/js/i18n/uk.js +293 -0
  228. package/src/wet-boew-cdn-4.0.81.1/js/i18n/uk.min.js +7 -0
  229. package/src/wet-boew-cdn-4.0.81.1/js/i18n/vi.js +293 -0
  230. package/src/wet-boew-cdn-4.0.81.1/js/i18n/vi.min.js +7 -0
  231. package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh-Hans.js +254 -0
  232. package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh-Hans.min.js +7 -0
  233. package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh.js +294 -0
  234. package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh.min.js +7 -0
  235. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.js +10 -0
  236. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.min.js +7 -0
  237. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.min.js.map +1 -0
  238. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.js +10 -0
  239. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.min.js +7 -0
  240. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.min.js.map +1 -0
  241. package/src/wet-boew-cdn-4.0.81.1/js/jquery/2.2.4/jquery.js +9814 -0
  242. package/src/wet-boew-cdn-4.0.81.1/js/jquery/2.2.4/jquery.min.js +4 -0
  243. package/src/wet-boew-cdn-4.0.81.1/js/jquery/2.2.4/jquery.min.map +1 -0
  244. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.js +419 -0
  245. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.min.js +8 -0
  246. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.min.js.map +1 -0
  247. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist_dynamic.js +50 -0
  248. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist_dynamic.min.js +8 -0
  249. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist_dynamic.min.js.map +1 -0
  250. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.js +338 -0
  251. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.min.js +8 -0
  252. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.min.js.map +1 -0
  253. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.js +126 -0
  254. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.min.js +8 -0
  255. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.min.js.map +1 -0
  256. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/jawsariafixes.js +47 -0
  257. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/jawsariafixes.min.js +16 -0
  258. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/jawsariafixes.min.js.map +1 -0
  259. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.js +140 -0
  260. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.min.js +8 -0
  261. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.min.js.map +1 -0
  262. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.js +784 -0
  263. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.min.js +8 -0
  264. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.min.js.map +1 -0
  265. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.js +107 -0
  266. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.min.js +8 -0
  267. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.min.js.map +1 -0
  268. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.js +1343 -0
  269. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.min.js +9 -0
  270. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.min.js.map +1 -0
  271. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider_wrapper.js +73 -0
  272. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider_wrapper.min.js +8 -0
  273. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider_wrapper.min.js.map +1 -0
  274. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/svg.js +29 -0
  275. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/svg.min.js +8 -0
  276. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/svg.min.js.map +1 -0
  277. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/test.js +603 -0
  278. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/test.min.js +8 -0
  279. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/test.min.js.map +1 -0
  280. package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.js +20264 -0
  281. package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.min.js +9 -0
  282. package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.min.js.map +1 -0
  283. package/src/wet-boew-cdn-4.0.81.1/package.json +15 -0
  284. package/src/wet-boew-cdn-4.0.81.1/payload.json +1722 -0
@@ -0,0 +1,140 @@
1
+ /**
2
+ * @license
3
+ * Copyright (C) 2011 Kitware Inc.
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 MUMPS.
21
+ *
22
+ *
23
+ * To use, include prettify.js and this file in your HTML page.
24
+ * Then put your code in an HTML tag like
25
+ * <pre class="prettyprint lang-mumps">(my SQL code)</pre>
26
+ *
27
+ * Commands, intrinsic functions and variables taken from ISO/IEC 11756:1999(E)
28
+ *
29
+ * @author chris.harris@kitware.com
30
+ *
31
+ * Known issues:
32
+ *
33
+ * - Currently can't distinguish between keywords and local or global variables having the same name
34
+ * for exampe SET IF="IF?"
35
+ * - m file are already used for MatLab hence using mumps.
36
+ */
37
+
38
+ (function () {
39
+
40
+
41
+ var commands = 'B|BREAK|' +
42
+ 'C|CLOSE|' +
43
+ 'D|DO|' +
44
+ 'E|ELSE|' +
45
+ 'F|FOR|' +
46
+ 'G|GOTO|' +
47
+ 'H|HALT|' +
48
+ 'H|HANG|' +
49
+ 'I|IF|' +
50
+ 'J|JOB|' +
51
+ 'K|KILL|' +
52
+ 'L|LOCK|' +
53
+ 'M|MERGE|' +
54
+ 'N|NEW|' +
55
+ 'O|OPEN|' +
56
+ 'Q|QUIT|' +
57
+ 'R|READ|' +
58
+ 'S|SET|' +
59
+ 'TC|TCOMMIT|' +
60
+ 'TRE|TRESTART|' +
61
+ 'TRO|TROLLBACK|' +
62
+ 'TS|TSTART|' +
63
+ 'U|USE|' +
64
+ 'V|VIEW|' +
65
+ 'W|WRITE|' +
66
+ 'X|XECUTE';
67
+
68
+ var intrinsicVariables = 'D|DEVICE|' +
69
+ 'EC|ECODE|' +
70
+ 'ES|ESTACK|' +
71
+ 'ET|ETRAP|' +
72
+ 'H|HOROLOG|' +
73
+ 'I|IO|' +
74
+ 'J|JOB|' +
75
+ 'K|KEY|' +
76
+ 'P|PRINCIPAL|' +
77
+ 'Q|QUIT|' +
78
+ 'ST|STACK|' +
79
+ 'S|STORAGE|' +
80
+ 'SY|SYSTEM|' +
81
+ 'T|TEST|' +
82
+ 'TL|TLEVEL|' +
83
+ 'TR|TRESTART|' +
84
+ 'X|' +
85
+ 'Y|' +
86
+ 'Z[A-Z]*|';
87
+
88
+ var intrinsicFunctions = 'A|ASCII|' +
89
+ 'C|CHAR|' +
90
+ 'D|DATA|' +
91
+ 'E|EXTRACT|' +
92
+ 'F|FIND|' +
93
+ 'FN|FNUMBER|' +
94
+ 'G|GET|' +
95
+ 'J|JUSTIFY|' +
96
+ 'L|LENGTH|' +
97
+ 'NA|NAME|' +
98
+ 'O|ORDER|' +
99
+ 'P|PIECE|' +
100
+ 'QL|QLENGTH|' +
101
+ 'QS|QSUBSCRIPT|' +
102
+ 'Q|QUERY|' +
103
+ 'R|RANDOM|' +
104
+ 'RE|REVERSE|' +
105
+ 'S|SELECT|' +
106
+ 'ST|STACK|' +
107
+ 'T|TEXT|' +
108
+ 'TR|TRANSLATE|' +
109
+ 'V|VIEW|' *
110
+ 'Z[A-Z]*|';
111
+
112
+ var intrinsic = intrinsicVariables + intrinsicFunctions;
113
+
114
+
115
+ var shortcutStylePatterns = [
116
+ // Whitespace
117
+ [PR['PR_PLAIN'], /^[\t\n\r \xA0]+/, null, '\t\n\r \xA0'],
118
+ // A double or single quoted, possibly multi-line, string.
119
+ [PR['PR_STRING'], /^(?:"(?:[^"]|\\.)*")/, null, '"']
120
+ ];
121
+
122
+ var fallthroughStylePatterns = [
123
+ // A line comment that starts with ;
124
+ [PR['PR_COMMENT'], /^;[^\r\n]*/, null, ';'],
125
+ // Add intrinsic variables and functions as declarations, there not really but it mean
126
+ // they will hilighted differently from commands.
127
+ [PR['PR_DECLARATION'], new RegExp('^(?:\\$(?:' + intrinsic + '))\\b', 'i'), null],
128
+ // Add commands as keywords
129
+ [PR['PR_KEYWORD'], new RegExp('^(?:[^\\$]' + commands + ')\\b', 'i'), null],
130
+ // A number is a decimal real literal or in scientific notation.
131
+ [PR['PR_LITERAL'],
132
+ /^[+-]?(?:(?:\.\d+|\d+(?:\.\d*)?)(?:E[+\-]?\d+)?)/i],
133
+ // An identifier
134
+ [PR['PR_PLAIN'], /^[a-z][a-zA-Z0-9]*/i],
135
+ // Exclude $ % and ^
136
+ [PR['PR_PUNCTUATION'], /^[^\w\t\n\r\xA0\"\$;%\^]|_/]
137
+ ];
138
+ // Can't use m as its already used for MatLab
139
+ PR.registerLangHandler(PR.createSimpleLexer(shortcutStylePatterns, fallthroughStylePatterns), ['mumps']);
140
+ })();
@@ -0,0 +1 @@
1
+ !function(){var E=[[PR.PR_PLAIN,/^[\t\n\r \xA0]+/,null,"\t\n\r  "],[PR.PR_STRING,/^(?:"(?:[^"]|\\.)*")/,null,'"']],T=[[PR.PR_COMMENT,/^;[^\r\n]*/,null,";"],[PR.PR_DECLARATION,new RegExp("^(?:\\$(?:D|DEVICE|EC|ECODE|ES|ESTACK|ET|ETRAP|H|HOROLOG|I|IO|J|JOB|K|KEY|P|PRINCIPAL|Q|QUIT|ST|STACK|S|STORAGE|SY|SYSTEM|T|TEST|TL|TLEVEL|TR|TRESTART|X|Y|Z[A-Z]*|A|ASCII|C|CHAR|D|DATA|E|EXTRACT|F|FIND|FN|FNUMBER|G|GET|J|JUSTIFY|L|LENGTH|NA|NAME|O|ORDER|P|PIECE|QL|QLENGTH|QS|QSUBSCRIPT|Q|QUERY|R|RANDOM|RE|REVERSE|S|SELECT|ST|STACK|T|TEXT|TR|TRANSLATE|NaN))\\b","i"),null],[PR.PR_KEYWORD,new RegExp("^(?:[^\\$]B|BREAK|C|CLOSE|D|DO|E|ELSE|F|FOR|G|GOTO|H|HALT|H|HANG|I|IF|J|JOB|K|KILL|L|LOCK|M|MERGE|N|NEW|O|OPEN|Q|QUIT|R|READ|S|SET|TC|TCOMMIT|TRE|TRESTART|TRO|TROLLBACK|TS|TSTART|U|USE|V|VIEW|W|WRITE|X|XECUTE)\\b","i"),null],[PR.PR_LITERAL,/^[+-]?(?:(?:\.\d+|\d+(?:\.\d*)?)(?:E[+\-]?\d+)?)/i],[PR.PR_PLAIN,/^[a-z][a-zA-Z0-9]*/i],[PR.PR_PUNCTUATION,/^[^\w\t\n\r\xA0\"\$;%\^]|_/]];PR.registerLangHandler(PR.createSimpleLexer(E,T),["mumps"])}();
@@ -0,0 +1,67 @@
1
+ /**
2
+ * @license
3
+ * Copyright (C) 2011 Zimin A.V.
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 Nemerle language.
21
+ * http://nemerle.org
22
+ * @author Zimin A.V.
23
+ */
24
+ (function () {
25
+ // http://nemerle.org/wiki/index.php?title=Base_keywords
26
+ var keywords = 'abstract|and|as|base|catch|class|def|delegate|enum|event|extern|false|finally|'
27
+ + 'fun|implements|interface|internal|is|macro|match|matches|module|mutable|namespace|new|'
28
+ + 'null|out|override|params|partial|private|protected|public|ref|sealed|static|struct|'
29
+ + 'syntax|this|throw|true|try|type|typeof|using|variant|virtual|volatile|when|where|with|'
30
+ + 'assert|assert2|async|break|checked|continue|do|else|ensures|for|foreach|if|late|lock|new|nolate|'
31
+ + 'otherwise|regexp|repeat|requires|return|surroundwith|unchecked|unless|using|while|yield';
32
+
33
+ PR['registerLangHandler'](PR['createSimpleLexer'](
34
+ // shortcutStylePatterns
35
+ [
36
+ [PR['PR_STRING'], /^(?:\'(?:[^\\\'\r\n]|\\.)*\'|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/, null, '"'],
37
+ [PR['PR_COMMENT'], /^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/, null, '#'],
38
+ [PR['PR_PLAIN'], /^\s+/, null, ' \r\n\t\xA0']
39
+ ],
40
+ // fallthroughStylePatterns
41
+ [
42
+ [PR['PR_STRING'], /^@\"(?:[^\"]|\"\")*(?:\"|$)/, null],
43
+ [PR['PR_STRING'], /^<#(?:[^#>])*(?:#>|$)/, null],
44
+ [PR['PR_STRING'], /^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/, null],
45
+ [PR['PR_COMMENT'], /^\/\/[^\r\n]*/, null],
46
+ [PR['PR_COMMENT'], /^\/\*[\s\S]*?(?:\*\/|$)/, null],
47
+ [PR['PR_KEYWORD'], new RegExp('^(?:' + keywords + ')\\b'), null],
48
+ [PR['PR_TYPE'], /^(?:array|bool|byte|char|decimal|double|float|int|list|long|object|sbyte|short|string|ulong|uint|ufloat|ulong|ushort|void)\b/, null],
49
+ [PR['PR_LITERAL'], /^@[a-z_$][a-z_$@0-9]*/i, null],
50
+ [PR['PR_TYPE'], /^@[A-Z]+[a-z][A-Za-z_$@0-9]*/, null],
51
+ [PR['PR_PLAIN'], /^'?[A-Za-z_$][a-z_$@0-9]*/i, null],
52
+ [PR['PR_LITERAL'], new RegExp(
53
+ '^(?:'
54
+ // A hex number
55
+ + '0x[a-f0-9]+'
56
+ // or an octal or decimal number,
57
+ + '|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)'
58
+ // possibly in scientific notation
59
+ + '(?:e[+\\-]?\\d+)?'
60
+ + ')'
61
+ // with an optional modifier like UL for unsigned long
62
+ + '[a-z]*', 'i'), null, '0123456789'],
63
+
64
+ [PR['PR_PUNCTUATION'], /^.[^\s\w\.$@\'\"\`\/\#]*/, null]
65
+ ]),
66
+ ['n', 'nemerle']);
67
+ })();
@@ -0,0 +1 @@
1
+ PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_STRING,/^(?:\'(?:[^\\\'\r\n]|\\.)*\'|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,'"'],[PR.PR_COMMENT,/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"],[PR.PR_PLAIN,/^\s+/,null," \r\n\t "]],[[PR.PR_STRING,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null],[PR.PR_STRING,/^<#(?:[^#>])*(?:#>|$)/,null],[PR.PR_STRING,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,null],[PR.PR_COMMENT,/^\/\/[^\r\n]*/,null],[PR.PR_COMMENT,/^\/\*[\s\S]*?(?:\*\/|$)/,null],[PR.PR_KEYWORD,new RegExp("^(?:abstract|and|as|base|catch|class|def|delegate|enum|event|extern|false|finally|fun|implements|interface|internal|is|macro|match|matches|module|mutable|namespace|new|null|out|override|params|partial|private|protected|public|ref|sealed|static|struct|syntax|this|throw|true|try|type|typeof|using|variant|virtual|volatile|when|where|with|assert|assert2|async|break|checked|continue|do|else|ensures|for|foreach|if|late|lock|new|nolate|otherwise|regexp|repeat|requires|return|surroundwith|unchecked|unless|using|while|yield)\\b"),null],[PR.PR_TYPE,/^(?:array|bool|byte|char|decimal|double|float|int|list|long|object|sbyte|short|string|ulong|uint|ufloat|ulong|ushort|void)\b/,null],[PR.PR_LITERAL,/^@[a-z_$][a-z_$@0-9]*/i,null],[PR.PR_TYPE,/^@[A-Z]+[a-z][A-Za-z_$@0-9]*/,null],[PR.PR_PLAIN,/^'?[A-Za-z_$][a-z_$@0-9]*/i,null],[PR.PR_LITERAL,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[PR.PR_PUNCTUATION,/^.[^\s\w\.$@\'\"\`\/\#]*/,null]]),["n","nemerle"]);
@@ -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 (Turbo) Pascal.
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-pascal">(my Pascal 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 cStyleComments comment (* *) or {}
41
+ [PR.PR_COMMENT, /^\(\*[\s\S]*?(?:\*\)|$)|^\{[\s\S]*?(?:\}|$)/, null],
42
+ [PR.PR_KEYWORD, /^(?:ABSOLUTE|AND|ARRAY|ASM|ASSEMBLER|BEGIN|CASE|CONST|CONSTRUCTOR|DESTRUCTOR|DIV|DO|DOWNTO|ELSE|END|EXTERNAL|FOR|FORWARD|FUNCTION|GOTO|IF|IMPLEMENTATION|IN|INLINE|INTERFACE|INTERRUPT|LABEL|MOD|NOT|OBJECT|OF|OR|PACKED|PROCEDURE|PROGRAM|RECORD|REPEAT|SET|SHL|SHR|THEN|TO|TYPE|UNIT|UNTIL|USES|VAR|VIRTUAL|WHILE|WITH|XOR)\b/i, null],
43
+ [PR.PR_LITERAL, /^(?:true|false|self|nil)/i, null],
44
+ [PR.PR_PLAIN, /^[a-z][a-z0-9]*/i, null],
45
+ // Literals .0, 0, 0.0 0E13
46
+ [PR.PR_LITERAL, /^(?:\$[a-f0-9]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?)/i, null, '0123456789'],
47
+ [PR.PR_PUNCTUATION, /^.[^\s\w\.$@\'\/]*/, null]
48
+ ]),
49
+ ['pascal']);
@@ -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,/^\(\*[\s\S]*?(?:\*\)|$)|^\{[\s\S]*?(?:\}|$)/,null],[PR.PR_KEYWORD,/^(?:ABSOLUTE|AND|ARRAY|ASM|ASSEMBLER|BEGIN|CASE|CONST|CONSTRUCTOR|DESTRUCTOR|DIV|DO|DOWNTO|ELSE|END|EXTERNAL|FOR|FORWARD|FUNCTION|GOTO|IF|IMPLEMENTATION|IN|INLINE|INTERFACE|INTERRUPT|LABEL|MOD|NOT|OBJECT|OF|OR|PACKED|PROCEDURE|PROGRAM|RECORD|REPEAT|SET|SHL|SHR|THEN|TO|TYPE|UNIT|UNTIL|USES|VAR|VIRTUAL|WHILE|WITH|XOR)\b/i,null],[PR.PR_LITERAL,/^(?:true|false|self|nil)/i,null],[PR.PR_PLAIN,/^[a-z][a-z0-9]*/i,null],[PR.PR_LITERAL,/^(?:\$[a-f0-9]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?)/i,null,"0123456789"],[PR.PR_PUNCTUATION,/^.[^\s\w\.$@\'\/]*/,null]]),["pascal"]);
@@ -0,0 +1,37 @@
1
+ /**
2
+ * @license
3
+ * Copyright (C) 2006 Google Inc.
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 Protocol Buffers as described at
21
+ * http://code.google.com/p/protobuf/.
22
+ *
23
+ * Based on the lexical grammar at
24
+ * http://research.microsoft.com/fsharp/manual/spec2.aspx#_Toc202383715
25
+ *
26
+ * @author mikesamuel@gmail.com
27
+ */
28
+
29
+ PR['registerLangHandler'](PR['sourceDecorator']({
30
+ 'keywords': (
31
+ 'bytes,default,double,enum,extend,extensions,false,'
32
+ + 'group,import,max,message,option,'
33
+ + 'optional,package,repeated,required,returns,rpc,service,'
34
+ + 'syntax,to,true'),
35
+ 'types': /^(bool|(double|s?fixed|[su]?int)(32|64)|float|string)\b/,
36
+ 'cStyleComments': true
37
+ }), ['proto']);
@@ -0,0 +1 @@
1
+ PR.registerLangHandler(PR.sourceDecorator({keywords:"bytes,default,double,enum,extend,extensions,false,group,import,max,message,option,optional,package,repeated,required,returns,rpc,service,syntax,to,true",types:/^(bool|(double|s?fixed|[su]?int)(32|64)|float|string)\b/,cStyleComments:!0}),["proto"]);
@@ -0,0 +1,59 @@
1
+ /**
2
+ * @license
3
+ * Copyright (C) 2012 Jeffrey B. Arnold
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 S, S-plus, and R source code.
21
+ *
22
+ *
23
+ * To use, include prettify.js and this file in your HTML page.
24
+ * Then put your code in an HTML tag like
25
+ * <pre class="prettyprint lang-r"> code </pre>
26
+ *
27
+ * Language definition from
28
+ * http://cran.r-project.org/doc/manuals/R-lang.html.
29
+ * Many of the regexes are shared with the pygments SLexer,
30
+ * http://pygments.org/.
31
+ *
32
+ * Original: https://raw.github.com/jrnold/prettify-lang-r-bugs/master/lang-r.js
33
+ *
34
+ * @author jeffrey.arnold@gmail.com
35
+ */
36
+ PR['registerLangHandler'](
37
+ PR['createSimpleLexer'](
38
+ [
39
+ [PR['PR_PLAIN'], /^[\t\n\r \xA0]+/, null, '\t\n\r \xA0'],
40
+ [PR['PR_STRING'], /^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/, null, '"'],
41
+ [PR['PR_STRING'], /^\'(?:[^\'\\]|\\[\s\S])*(?:\'|$)/, null, "'"]
42
+ ],
43
+ [
44
+ [PR['PR_COMMENT'], /^#.*/],
45
+ [PR['PR_KEYWORD'], /^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],
46
+ // hex numbes
47
+ [PR['PR_LITERAL'], /^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],
48
+ // Decimal numbers
49
+ [PR['PR_LITERAL'], /^[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],
50
+ // builtin symbols
51
+ [PR['PR_LITERAL'], /^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\.\.(?:\.|[0-9]+))(?![A-Za-z0-9_.])/],
52
+ // assignment, operators, and parens, etc.
53
+ [PR['PR_PUNCTUATION'], /^(?:<<?-|->>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|\*|\+|\^|\/|!|%.*?%|=|~|\$|@|:{1,3}|[\[\](){};,?])/],
54
+ // valid variable names
55
+ [PR['PR_PLAIN'], /^(?:[A-Za-z]+[A-Za-z0-9_.]*|\.[a-zA-Z_][0-9a-zA-Z\._]*)(?![A-Za-z0-9_.])/],
56
+ // string backtick
57
+ [PR['PR_STRING'], /^`.+`/]
58
+ ]),
59
+ ['r', 's', 'R', 'S', 'Splus']);
@@ -0,0 +1 @@
1
+ PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[\t\n\r \xA0]+/,null,"\t\n\r  "],[PR.PR_STRING,/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],[PR.PR_STRING,/^\'(?:[^\'\\]|\\[\s\S])*(?:\'|$)/,null,"'"]],[[PR.PR_COMMENT,/^#.*/],[PR.PR_KEYWORD,/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],[PR.PR_LITERAL,/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],[PR.PR_LITERAL,/^[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],[PR.PR_LITERAL,/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\.\.(?:\.|[0-9]+))(?![A-Za-z0-9_.])/],[PR.PR_PUNCTUATION,/^(?:<<?-|->>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|\*|\+|\^|\/|!|%.*?%|=|~|\$|@|:{1,3}|[\[\](){};,?])/],[PR.PR_PLAIN,/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\.[a-zA-Z_][0-9a-zA-Z\._]*)(?![A-Za-z0-9_.])/],[PR.PR_STRING,/^`.+`/]]),["r","s","R","S","Splus"]);
@@ -0,0 +1,50 @@
1
+ /**
2
+ * @license
3
+ * Copyright (C) 2012 Jeffrey Arnold
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
+ * Support for R documentation (Rd) files
21
+ *
22
+ * Minimal highlighting or Rd files, basically just highlighting
23
+ * macros. It does not try to identify verbatim or R-like regions of
24
+ * macros as that is too complicated for a lexer. Descriptions of the
25
+ * Rd format can be found
26
+ * http://cran.r-project.org/doc/manuals/R-exts.html and
27
+ * http://developer.r-project.org/parseRd.pdf.
28
+ *
29
+ * @author Jeffrey Arnold
30
+ */
31
+ PR['registerLangHandler'](
32
+ PR['createSimpleLexer'](
33
+ [
34
+ // whitespace
35
+ [PR['PR_PLAIN'], /^[\t\n\r \xA0]+/, null, '\t\n\r \xA0'],
36
+ // all comments begin with '%'
37
+ [PR['PR_COMMENT'], /^%[^\r\n]*/, null, '%']
38
+ ],
39
+ [// special macros with no args
40
+ [PR['PR_LITERAL'], /^\\(?:cr|l?dots|R|tab)\b/],
41
+ // macros
42
+ [PR['PR_KEYWORD'], /^\\[a-zA-Z@]+/],
43
+ // highlighted as macros, since technically they are
44
+ [PR['PR_KEYWORD'], /^#(?:ifn?def|endif)/ ],
45
+ // catch escaped brackets
46
+ [PR['PR_PLAIN'], /^\\[{}]/],
47
+ // punctuation
48
+ [PR['PR_PUNCTUATION'], /^[{}()\[\]]+/]
49
+ ]),
50
+ ['Rd', 'rd']);
@@ -0,0 +1 @@
1
+ PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[\t\n\r \xA0]+/,null,"\t\n\r  "],[PR.PR_COMMENT,/^%[^\r\n]*/,null,"%"]],[[PR.PR_LITERAL,/^\\(?:cr|l?dots|R|tab)\b/],[PR.PR_KEYWORD,/^\\[a-zA-Z@]+/],[PR.PR_KEYWORD,/^#(?:ifn?def|endif)/],[PR.PR_PLAIN,/^\\[{}]/],[PR.PR_PUNCTUATION,/^[{}()\[\]]+/]]),["Rd","rd"]);
@@ -0,0 +1,81 @@
1
+ /**
2
+ * @license
3
+ * Copyright (C) 2015 Chris Morgan
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 Rust.
21
+ *
22
+ * Derived from prior experience implementing similar things in a few environments,
23
+ * most especially rust.vim.
24
+ *
25
+ * @author me@chrismorgan.info
26
+ */
27
+
28
+ PR['registerLangHandler'](
29
+ PR['createSimpleLexer']([], [
30
+ // Whitespace
31
+ [PR['PR_PLAIN'], /^[\t\n\r \xA0]+/],
32
+
33
+ // Single line comments
34
+ [PR['PR_COMMENT'], /^\/\/.*/],
35
+ // Block comments (sadly I do not see how to make this cope with comment nesting as it should)
36
+ [PR['PR_COMMENT'], /^\/\*[\s\S]*?(?:\*\/|$)/],//, null],
37
+ // String and character literals
38
+ [PR['PR_STRING'], /^b"(?:[^\\]|\\(?:.|x[\da-fA-F]{2}))*?"/], // Bytes literal
39
+ [PR['PR_STRING'], /^"(?:[^\\]|\\(?:.|x[\da-fA-F]{2}|u\{\[\da-fA-F]{1,6}\}))*?"/], // String literal
40
+ [PR['PR_STRING'], /^b?r(#*)\"[\s\S]*?\"\1/], // Raw string/bytes literal
41
+ [PR['PR_STRING'], /^b'([^\\]|\\(.|x[\da-fA-F]{2}))'/], // Byte literal
42
+ [PR['PR_STRING'], /^'([^\\]|\\(.|x[\da-fA-F]{2}|u\{[\da-fA-F]{1,6}\}))'/], // Character literal
43
+
44
+ // Lifetime
45
+ [PR['PR_TAG'], /^'\w+?\b/],
46
+
47
+ // Keywords, reserved keywords and primitive types
48
+ [PR['PR_KEYWORD'], /^(?:match|if|else|as|break|box|continue|extern|fn|for|in|if|impl|let|loop|pub|return|super|unsafe|where|while|use|mod|trait|struct|enum|type|move|mut|ref|static|const|crate)\b/],
49
+ [PR['PR_KEYWORD'], /^(?:alignof|become|do|offsetof|priv|pure|sizeof|typeof|unsized|yield|abstract|virtual|final|override|macro)\b/],
50
+ [PR['PR_TYPE'], /^(?:[iu](8|16|32|64|size)|char|bool|f32|f64|str|Self)\b/],
51
+
52
+ // Rust 1.0 prelude items
53
+ [PR['PR_TYPE'], /^(?:Copy|Send|Sized|Sync|Drop|Fn|FnMut|FnOnce|Box|ToOwned|Clone|PartialEq|PartialOrd|Eq|Ord|AsRef|AsMut|Into|From|Default|Iterator|Extend|IntoIterator|DoubleEndedIterator|ExactSizeIterator|Option|Some|None|Result|Ok|Err|SliceConcatExt|String|ToString|Vec)\b/],
54
+
55
+ // Literals:
56
+ [PR['PR_LITERAL'], /^(self|true|false|null)\b/],
57
+ // A number is a hex integer literal, a decimal real literal, or in
58
+ // scientific notation.
59
+ // Integer literals: decimal, hexadecimal, octal, binary.
60
+ [PR['PR_LITERAL'], /^\d[0-9_]*(?:[iu](?:size|8|16|32|64))?/],
61
+ [PR['PR_LITERAL'], /^0x[a-fA-F0-9_]+(?:[iu](?:size|8|16|32|64))?/],
62
+ [PR['PR_LITERAL'], /^0o[0-7_]+(?:[iu](?:size|8|16|32|64))?/],
63
+ [PR['PR_LITERAL'], /^0b[01_]+(?:[iu](?:size|8|16|32|64))?/],
64
+ // Float literals
65
+ [PR['PR_LITERAL'], /^\d[0-9_]*\.(?![^\s\d.])/],
66
+ [PR['PR_LITERAL'], /^\d[0-9_]*(?:\.\d[0-9_]*)(?:[eE][+-]?[0-9_]+)?(?:f32|f64)?/],
67
+ [PR['PR_LITERAL'], /^\d[0-9_]*(?:\.\d[0-9_]*)?(?:[eE][+-]?[0-9_]+)(?:f32|f64)?/],
68
+ [PR['PR_LITERAL'], /^\d[0-9_]*(?:\.\d[0-9_]*)?(?:[eE][+-]?[0-9_]+)?(?:f32|f64)/],
69
+
70
+ // Macro invocations (an identifier plus a !)
71
+ [PR['PR_ATTRIB_NAME'], /^[a-z_]\w*!/i],
72
+ // An identifier (sorry, this should be unicode)
73
+ [PR['PR_PLAIN'], /^[a-z_]\w*/i],
74
+ // Attributes
75
+ [PR['PR_ATTRIB_VALUE'], /^#!?\[[\s\S]*?\]/],
76
+ // All the punctuation
77
+ [PR['PR_PUNCTUATION'], /^[+\-/*=^&|!<>%[\](){}?:.,;]/],
78
+ // Anything else (which is probably illegal, as all the legal stuff should have been covered) can be plain
79
+ [PR['PR_PLAIN'], /./]
80
+ ]),
81
+ ['rust']);
@@ -0,0 +1 @@
1
+ PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_PLAIN,/^[\t\n\r \xA0]+/],[PR.PR_COMMENT,/^\/\/.*/],[PR.PR_COMMENT,/^\/\*[\s\S]*?(?:\*\/|$)/],[PR.PR_STRING,/^b"(?:[^\\]|\\(?:.|x[\da-fA-F]{2}))*?"/],[PR.PR_STRING,/^"(?:[^\\]|\\(?:.|x[\da-fA-F]{2}|u\{\[\da-fA-F]{1,6}\}))*?"/],[PR.PR_STRING,/^b?r(#*)\"[\s\S]*?\"\1/],[PR.PR_STRING,/^b'([^\\]|\\(.|x[\da-fA-F]{2}))'/],[PR.PR_STRING,/^'([^\\]|\\(.|x[\da-fA-F]{2}|u\{[\da-fA-F]{1,6}\}))'/],[PR.PR_TAG,/^'\w+?\b/],[PR.PR_KEYWORD,/^(?:match|if|else|as|break|box|continue|extern|fn|for|in|if|impl|let|loop|pub|return|super|unsafe|where|while|use|mod|trait|struct|enum|type|move|mut|ref|static|const|crate)\b/],[PR.PR_KEYWORD,/^(?:alignof|become|do|offsetof|priv|pure|sizeof|typeof|unsized|yield|abstract|virtual|final|override|macro)\b/],[PR.PR_TYPE,/^(?:[iu](8|16|32|64|size)|char|bool|f32|f64|str|Self)\b/],[PR.PR_TYPE,/^(?:Copy|Send|Sized|Sync|Drop|Fn|FnMut|FnOnce|Box|ToOwned|Clone|PartialEq|PartialOrd|Eq|Ord|AsRef|AsMut|Into|From|Default|Iterator|Extend|IntoIterator|DoubleEndedIterator|ExactSizeIterator|Option|Some|None|Result|Ok|Err|SliceConcatExt|String|ToString|Vec)\b/],[PR.PR_LITERAL,/^(self|true|false|null)\b/],[PR.PR_LITERAL,/^\d[0-9_]*(?:[iu](?:size|8|16|32|64))?/],[PR.PR_LITERAL,/^0x[a-fA-F0-9_]+(?:[iu](?:size|8|16|32|64))?/],[PR.PR_LITERAL,/^0o[0-7_]+(?:[iu](?:size|8|16|32|64))?/],[PR.PR_LITERAL,/^0b[01_]+(?:[iu](?:size|8|16|32|64))?/],[PR.PR_LITERAL,/^\d[0-9_]*\.(?![^\s\d.])/],[PR.PR_LITERAL,/^\d[0-9_]*(?:\.\d[0-9_]*)(?:[eE][+-]?[0-9_]+)?(?:f32|f64)?/],[PR.PR_LITERAL,/^\d[0-9_]*(?:\.\d[0-9_]*)?(?:[eE][+-]?[0-9_]+)(?:f32|f64)?/],[PR.PR_LITERAL,/^\d[0-9_]*(?:\.\d[0-9_]*)?(?:[eE][+-]?[0-9_]+)?(?:f32|f64)/],[PR.PR_ATTRIB_NAME,/^[a-z_]\w*!/i],[PR.PR_PLAIN,/^[a-z_]\w*/i],[PR.PR_ATTRIB_VALUE,/^#!?\[[\s\S]*?\]/],[PR.PR_PUNCTUATION,/^[+\-/*=^&|!<>%[\](){}?:.,;]/],[PR.PR_PLAIN,/./]]),["rust"]);
@@ -0,0 +1,56 @@
1
+ /**
2
+ * @license
3
+ * Copyright (C) 2010 Google Inc.
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 Scala.
21
+ *
22
+ * Derived from http://lampsvn.epfl.ch/svn-repos/scala/scala-documentation/trunk/src/reference/SyntaxSummary.tex
23
+ *
24
+ * @author mikesamuel@gmail.com
25
+ */
26
+
27
+ PR['registerLangHandler'](
28
+ PR['createSimpleLexer'](
29
+ [
30
+ // Whitespace
31
+ [PR['PR_PLAIN'], /^[\t\n\r \xA0]+/, null, '\t\n\r \xA0'],
32
+ // A double or single quoted string
33
+ // or a triple double-quoted multi-line string.
34
+ [PR['PR_STRING'],
35
+ /^(?:"(?:(?:""(?:""?(?!")|[^\\"]|\\.)*"{0,3})|(?:[^"\r\n\\]|\\.)*"?))/,
36
+ null, '"'],
37
+ [PR['PR_LITERAL'], /^`(?:[^\r\n\\`]|\\.)*`?/, null, '`'],
38
+ [PR['PR_PUNCTUATION'], /^[!#%&()*+,\-:;<=>?@\[\\\]^{|}~]+/, null,
39
+ '!#%&()*+,-:;<=>?@[\\]^{|}~']
40
+ ],
41
+ [
42
+ // A symbol literal is a single quote followed by an identifier with no
43
+ // single quote following
44
+ // A character literal has single quotes on either side
45
+ [PR['PR_STRING'], /^'(?:[^\r\n\\']|\\(?:'|[^\r\n']+))'/],
46
+ [PR['PR_LITERAL'], /^'[a-zA-Z_$][\w$]*(?!['$\w])/],
47
+ [PR['PR_KEYWORD'], /^(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|object|override|package|private|protected|requires|return|sealed|super|throw|trait|try|type|val|var|while|with|yield)\b/],
48
+ [PR['PR_LITERAL'], /^(?:true|false|null|this)\b/],
49
+ [PR['PR_LITERAL'], /^(?:(?:0(?:[0-7]+|X[0-9A-F]+))L?|(?:(?:0|[1-9][0-9]*)(?:(?:\.[0-9]+)?(?:E[+\-]?[0-9]+)?F?|L?))|\\.[0-9]+(?:E[+\-]?[0-9]+)?F?)/i],
50
+ // Treat upper camel case identifiers as types.
51
+ [PR['PR_TYPE'], /^[$_]*[A-Z][_$A-Z0-9]*[a-z][\w$]*/],
52
+ [PR['PR_PLAIN'], /^[$a-zA-Z_][\w$]*/],
53
+ [PR['PR_COMMENT'], /^\/(?:\/.*|\*(?:\/|\**[^*/])*(?:\*+\/?)?)/],
54
+ [PR['PR_PUNCTUATION'], /^(?:\.+|\/)/]
55
+ ]),
56
+ ['scala']);
@@ -0,0 +1 @@
1
+ PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[\t\n\r \xA0]+/,null,"\t\n\r  "],[PR.PR_STRING,/^(?:"(?:(?:""(?:""?(?!")|[^\\"]|\\.)*"{0,3})|(?:[^"\r\n\\]|\\.)*"?))/,null,'"'],[PR.PR_LITERAL,/^`(?:[^\r\n\\`]|\\.)*`?/,null,"`"],[PR.PR_PUNCTUATION,/^[!#%&()*+,\-:;<=>?@\[\\\]^{|}~]+/,null,"!#%&()*+,-:;<=>?@[\\]^{|}~"]],[[PR.PR_STRING,/^'(?:[^\r\n\\']|\\(?:'|[^\r\n']+))'/],[PR.PR_LITERAL,/^'[a-zA-Z_$][\w$]*(?!['$\w])/],[PR.PR_KEYWORD,/^(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|object|override|package|private|protected|requires|return|sealed|super|throw|trait|try|type|val|var|while|with|yield)\b/],[PR.PR_LITERAL,/^(?:true|false|null|this)\b/],[PR.PR_LITERAL,/^(?:(?:0(?:[0-7]+|X[0-9A-F]+))L?|(?:(?:0|[1-9][0-9]*)(?:(?:\.[0-9]+)?(?:E[+\-]?[0-9]+)?F?|L?))|\\.[0-9]+(?:E[+\-]?[0-9]+)?F?)/i],[PR.PR_TYPE,/^[$_]*[A-Z][_$A-Z0-9]*[a-z][\w$]*/],[PR.PR_PLAIN,/^[$a-zA-Z_][\w$]*/],[PR.PR_COMMENT,/^\/(?:\/.*|\*(?:\/|\**[^*/])*(?:\*+\/?)?)/],[PR.PR_PUNCTUATION,/^(?:\.+|\/)/]]),["scala"]);
@@ -0,0 +1,59 @@
1
+ /**
2
+ * @license
3
+ * Copyright (C) 2008 Google Inc.
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 SQL.
21
+ *
22
+ *
23
+ * To use, include prettify.js and this file in your HTML page.
24
+ * Then put your code in an HTML tag like
25
+ * <pre class="prettyprint lang-sql">(my SQL code)</pre>
26
+ *
27
+ *
28
+ * http://savage.net.au/SQL/sql-99.bnf.html is the basis for the grammar, and
29
+ * http://msdn.microsoft.com/en-us/library/aa238507(SQL.80).aspx and
30
+ * http://meta.stackoverflow.com/q/92352/137403 as the bases for the keyword
31
+ * list.
32
+ *
33
+ * @author mikesamuel@gmail.com
34
+ */
35
+
36
+ PR['registerLangHandler'](
37
+ PR['createSimpleLexer'](
38
+ [
39
+ // Whitespace
40
+ [PR['PR_PLAIN'], /^[\t\n\r \xA0]+/, null, '\t\n\r \xA0'],
41
+ // A double or single quoted, possibly multi-line, string.
42
+ [PR['PR_STRING'], /^(?:"(?:[^\"\\]|\\.)*"|'(?:[^\'\\]|\\.)*')/, null,
43
+ '"\'']
44
+ ],
45
+ [
46
+ // A comment is either a line comment that starts with two dashes, or
47
+ // two dashes preceding a long bracketed block.
48
+ [PR['PR_COMMENT'], /^(?:--[^\r\n]*|\/\*[\s\S]*?(?:\*\/|$))/],
49
+ [PR['PR_KEYWORD'], /^(?:ADD|ALL|ALTER|AND|ANY|APPLY|AS|ASC|AUTHORIZATION|BACKUP|BEGIN|BETWEEN|BREAK|BROWSE|BULK|BY|CASCADE|CASE|CHECK|CHECKPOINT|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMN|COMMIT|COMPUTE|CONNECT|CONSTRAINT|CONTAINS|CONTAINSTABLE|CONTINUE|CONVERT|CREATE|CROSS|CURRENT|CURRENT_DATE|CURRENT_TIME|CURRENT_TIMESTAMP|CURRENT_USER|CURSOR|DATABASE|DBCC|DEALLOCATE|DECLARE|DEFAULT|DELETE|DENY|DESC|DISK|DISTINCT|DISTRIBUTED|DOUBLE|DROP|DUMMY|DUMP|ELSE|END|ERRLVL|ESCAPE|EXCEPT|EXEC|EXECUTE|EXISTS|EXIT|FETCH|FILE|FILLFACTOR|FOLLOWING|FOR|FOREIGN|FREETEXT|FREETEXTTABLE|FROM|FULL|FUNCTION|GOTO|GRANT|GROUP|HAVING|HOLDLOCK|IDENTITY|IDENTITYCOL|IDENTITY_INSERT|IF|IN|INDEX|INNER|INSERT|INTERSECT|INTO|IS|JOIN|KEY|KILL|LEFT|LIKE|LINENO|LOAD|MATCH|MATCHED|MERGE|NATURAL|NATIONAL|NOCHECK|NONCLUSTERED|NOCYCLE|NOT|NULL|NULLIF|OF|OFF|OFFSETS|ON|OPEN|OPENDATASOURCE|OPENQUERY|OPENROWSET|OPENXML|OPTION|OR|ORDER|OUTER|OVER|PARTITION|PERCENT|PIVOT|PLAN|PRECEDING|PRECISION|PRIMARY|PRINT|PROC|PROCEDURE|PUBLIC|RAISERROR|READ|READTEXT|RECONFIGURE|REFERENCES|REPLICATION|RESTORE|RESTRICT|RETURN|REVOKE|RIGHT|ROLLBACK|ROWCOUNT|ROWGUIDCOL|ROWS?|RULE|SAVE|SCHEMA|SELECT|SESSION_USER|SET|SETUSER|SHUTDOWN|SOME|START|STATISTICS|SYSTEM_USER|TABLE|TEXTSIZE|THEN|TO|TOP|TRAN|TRANSACTION|TRIGGER|TRUNCATE|TSEQUAL|UNBOUNDED|UNION|UNIQUE|UNPIVOT|UPDATE|UPDATETEXT|USE|USER|USING|VALUES|VARYING|VIEW|WAITFOR|WHEN|WHERE|WHILE|WITH|WITHIN|WRITETEXT|XML)(?=[^\w-]|$)/i, null],
50
+ // A number is a hex integer literal, a decimal real literal, or in
51
+ // scientific notation.
52
+ [PR['PR_LITERAL'],
53
+ /^[+-]?(?:0x[\da-f]+|(?:(?:\.\d+|\d+(?:\.\d*)?)(?:e[+\-]?\d+)?))/i],
54
+ // An identifier
55
+ [PR['PR_PLAIN'], /^[a-z_][\w-]*/i],
56
+ // A run of punctuation
57
+ [PR['PR_PUNCTUATION'], /^[^\w\t\n\r \xA0\"\'][^\w\t\n\r \xA0+\-\"\']*/]
58
+ ]),
59
+ ['sql']);