tiddlywiki 5.1.21 → 5.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1970) hide show
  1. package/.eslintignore +15 -0
  2. package/.eslintrc.yml +267 -0
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +43 -0
  4. package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  5. package/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +22 -0
  6. package/.github/workflows/ci.yml +74 -0
  7. package/bin/build-site.sh +11 -2
  8. package/bin/{travis-pre-build.sh → ci-pre-build.sh} +0 -0
  9. package/bin/ci-push.sh +15 -0
  10. package/bin/optimise-svgs.js +79 -0
  11. package/bin/quick-bld.sh +1 -1
  12. package/bin/update-translation-from-html-file.sh +25 -0
  13. package/boot/boot.js +266 -93
  14. package/contributing.md +1 -1
  15. package/core/copyright.tid +1 -1
  16. package/core/images/add-comment.tid +1 -1
  17. package/core/images/advanced-search-button.tid +1 -8
  18. package/core/images/auto-height.tid +1 -3
  19. package/core/images/blank.tid +1 -1
  20. package/core/images/bold.tid +1 -5
  21. package/core/images/cancel-button.tid +1 -5
  22. package/core/images/chevron-down.tid +1 -6
  23. package/core/images/chevron-left.tid +1 -6
  24. package/core/images/chevron-right.tid +1 -6
  25. package/core/images/chevron-up.tid +1 -6
  26. package/core/images/clone-button.tid +1 -6
  27. package/core/images/close-all-button.tid +1 -8
  28. package/core/images/close-button.tid +1 -5
  29. package/core/images/close-others-button.tid +1 -5
  30. package/core/images/copy-clipboard.tid +1 -12
  31. package/core/images/delete-button.tid +1 -11
  32. package/core/images/done-button.tid +1 -5
  33. package/core/images/down-arrow.tid +1 -3
  34. package/core/images/download-button.tid +1 -1
  35. package/core/images/edit-button.tid +1 -6
  36. package/core/images/erase.tid +1 -5
  37. package/core/images/excise.tid +1 -5
  38. package/core/images/export-button.tid +1 -5
  39. package/core/images/file.tid +1 -11
  40. package/core/images/fixed-height.tid +1 -5
  41. package/core/images/fold-all-button.tid +1 -8
  42. package/core/images/fold-button.tid +1 -7
  43. package/core/images/fold-others-button.tid +1 -7
  44. package/core/images/folder.tid +1 -6
  45. package/core/images/full-screen-button.tid +1 -16
  46. package/core/images/github.tid +1 -5
  47. package/core/images/gitter.tid +1 -6
  48. package/core/images/globe.tid +1 -7
  49. package/core/images/heading-1.tid +1 -5
  50. package/core/images/heading-2.tid +1 -5
  51. package/core/images/heading-3.tid +1 -5
  52. package/core/images/heading-4.tid +1 -5
  53. package/core/images/heading-5.tid +1 -5
  54. package/core/images/heading-6.tid +1 -5
  55. package/core/images/help.tid +1 -5
  56. package/core/images/home-button.tid +1 -5
  57. package/core/images/import-button.tid +1 -5
  58. package/core/images/info-button.tid +1 -9
  59. package/core/images/italic.tid +1 -5
  60. package/core/images/left-arrow.tid +1 -3
  61. package/core/images/line-width.tid +1 -6
  62. package/core/images/link.tid +1 -6
  63. package/core/images/linkify.tid +1 -1
  64. package/core/images/list-bullet.tid +1 -5
  65. package/core/images/list-number.tid +1 -5
  66. package/core/images/list.tid +1 -6
  67. package/core/images/locked-padlock.tid +1 -5
  68. package/core/images/mail.tid +1 -5
  69. package/core/images/menu-button.tid +1 -5
  70. package/core/images/minus-button.tid +4 -0
  71. package/core/images/mono-block.tid +1 -5
  72. package/core/images/mono-line.tid +1 -5
  73. package/core/images/new-button.tid +1 -5
  74. package/core/images/new-here-button.tid +1 -11
  75. package/core/images/new-image-button.tid +1 -5
  76. package/core/images/new-journal-button.tid +1 -13
  77. package/core/images/opacity.tid +1 -7
  78. package/core/images/open-window.tid +1 -6
  79. package/core/images/options-button.tid +1 -5
  80. package/core/images/paint.tid +1 -5
  81. package/core/images/palette.tid +1 -5
  82. package/core/images/permalink-button.tid +1 -5
  83. package/core/images/permaview-button.tid +1 -5
  84. package/core/images/picture.tid +1 -5
  85. package/core/images/plugin-generic-language.tid +1 -5
  86. package/core/images/plugin-generic-plugin.tid +1 -5
  87. package/core/images/plugin-generic-theme.tid +1 -5
  88. package/core/images/plus-button.tid +4 -0
  89. package/core/images/preview-closed.tid +1 -12
  90. package/core/images/preview-open.tid +1 -6
  91. package/core/images/print-button.tid +1 -9
  92. package/core/images/quote.tid +1 -5
  93. package/core/images/refresh-button.tid +1 -5
  94. package/core/images/right-arrow.tid +1 -3
  95. package/core/images/rotate-left.tid +1 -1
  96. package/core/images/save-button.tid +1 -5
  97. package/core/images/size.tid +1 -3
  98. package/core/images/spiral.tid +1 -5
  99. package/core/images/stamp.tid +1 -5
  100. package/core/images/star-filled.tid +1 -5
  101. package/core/images/storyview-classic.tid +1 -5
  102. package/core/images/storyview-pop.tid +1 -5
  103. package/core/images/storyview-zoomin.tid +1 -5
  104. package/core/images/strikethrough.tid +1 -6
  105. package/core/images/subscript.tid +1 -5
  106. package/core/images/superscript.tid +1 -5
  107. package/core/images/tag-button.tid +1 -6
  108. package/core/images/theme-button.tid +1 -6
  109. package/core/images/timestamp-off.tid +1 -5
  110. package/core/images/timestamp-on.tid +1 -5
  111. package/core/images/tip.tid +1 -5
  112. package/core/images/transcludify.tid +1 -1
  113. package/core/images/twitter.tid +1 -5
  114. package/core/images/underline.tid +1 -5
  115. package/core/images/unfold-all-button.tid +1 -8
  116. package/core/images/unfold-button.tid +1 -7
  117. package/core/images/unlocked-padlock.tid +1 -5
  118. package/core/images/up-arrow.tid +1 -4
  119. package/core/images/video.tid +1 -5
  120. package/core/images/warning.tid +1 -5
  121. package/core/language/en-GB/ControlPanel.multids +45 -13
  122. package/core/language/en-GB/Docs/ModuleTypes.multids +1 -0
  123. package/core/language/en-GB/Docs/PaletteColours.multids +2 -0
  124. package/core/language/en-GB/EditTemplate.multids +6 -0
  125. package/core/language/en-GB/Fields.multids +2 -1
  126. package/core/language/en-GB/Help/listen.tid +3 -2
  127. package/core/language/en-GB/Help/render.tid +5 -4
  128. package/core/language/en-GB/Help/rendertiddlers.tid +2 -2
  129. package/core/language/en-GB/Help/save.tid +1 -1
  130. package/core/language/en-GB/Import.multids +19 -8
  131. package/core/language/en-GB/Misc.multids +25 -3
  132. package/core/language/en-GB/NewJournal.multids +0 -1
  133. package/core/language/en-GB/NewJournalTags.tid +3 -0
  134. package/core/language/en-GB/TiddlerInfo.multids +1 -1
  135. package/core/modules/commander.js +1 -1
  136. package/core/modules/commands/fetch.js +2 -2
  137. package/core/modules/commands/makelibrary.js +6 -6
  138. package/core/modules/commands/render.js +55 -54
  139. package/core/modules/commands/rendertiddlers.js +1 -1
  140. package/core/modules/commands/savelibrarytiddlers.js +11 -3
  141. package/core/modules/commands/savewikifolder.js +17 -3
  142. package/core/modules/config.js +1 -1
  143. package/core/modules/deserializers.js +95 -79
  144. package/core/modules/editor/engines/framed.js +40 -9
  145. package/core/modules/editor/engines/simple.js +24 -2
  146. package/core/modules/editor/factory.js +92 -19
  147. package/core/modules/editor/operations/text/focus-editor.js +17 -0
  148. package/core/modules/editor/operations/text/insert-text.js +23 -0
  149. package/core/modules/editor/operations/text/prefix-lines.js +3 -2
  150. package/core/modules/filterrunprefixes/all.js +25 -0
  151. package/core/modules/filterrunprefixes/and.js +28 -0
  152. package/core/modules/filterrunprefixes/cascade.js +53 -0
  153. package/core/modules/filterrunprefixes/else.js +27 -0
  154. package/core/modules/filterrunprefixes/except.js +25 -0
  155. package/core/modules/filterrunprefixes/filter.js +49 -0
  156. package/core/modules/filterrunprefixes/intersection.js +31 -0
  157. package/core/modules/filterrunprefixes/map.js +46 -0
  158. package/core/modules/filterrunprefixes/or.js +24 -0
  159. package/core/modules/filterrunprefixes/reduce.js +50 -0
  160. package/core/modules/filterrunprefixes/sort.js +62 -0
  161. package/core/modules/filters/all.js +3 -3
  162. package/core/modules/filters/backlinks.js +3 -3
  163. package/core/modules/filters/compare.js +40 -0
  164. package/core/modules/filters/contains.js +1 -1
  165. package/core/modules/filters/deserializers.js +27 -0
  166. package/core/modules/filters/duplicateslugs.js +36 -0
  167. package/core/modules/filters/editiondescription.js +10 -8
  168. package/core/modules/filters/editions.js +9 -7
  169. package/core/modules/filters/encodings.js +5 -15
  170. package/core/modules/filters/field.js +1 -1
  171. package/core/modules/filters/fields.js +20 -5
  172. package/core/modules/filters/filter.js +42 -0
  173. package/core/modules/filters/format/date.js +26 -0
  174. package/core/modules/filters/format/relativedate.js +26 -0
  175. package/core/modules/filters/format/titlelist.js +25 -0
  176. package/core/modules/filters/format.js +46 -0
  177. package/core/modules/filters/has.js +21 -5
  178. package/core/modules/filters/is/binary.js +36 -0
  179. package/core/modules/filters/is/draft.js +36 -0
  180. package/core/modules/filters/links.js +3 -3
  181. package/core/modules/filters/listops.js +12 -0
  182. package/core/modules/filters/lookup.js +1 -1
  183. package/core/modules/filters/math.js +117 -16
  184. package/core/modules/filters/moduleproperty.js +30 -0
  185. package/core/modules/filters/modules.js +16 -4
  186. package/core/modules/filters/range.js +7 -3
  187. package/core/modules/filters/reduce.js +60 -0
  188. package/core/modules/filters/regexp.js +1 -1
  189. package/core/modules/filters/slugify.js +23 -0
  190. package/core/modules/filters/sortsub.js +60 -0
  191. package/core/modules/filters/strings.js +101 -7
  192. package/core/modules/filters/tag.js +1 -1
  193. package/core/modules/filters/untagged.js +7 -14
  194. package/core/modules/filters/x-listops.js +224 -179
  195. package/core/modules/filters.js +115 -68
  196. package/core/modules/indexers/backlinks-index.js +86 -0
  197. package/core/modules/indexers/field-indexer.js +1 -1
  198. package/core/modules/indexers/tag-indexer.js +2 -2
  199. package/core/modules/info/platform.js +10 -2
  200. package/core/modules/keyboard.js +27 -5
  201. package/core/modules/macros/jsontiddlers.js +4 -3
  202. package/core/modules/macros/makedatauri.js +4 -3
  203. package/core/modules/macros/{uniquetitle.js → unusedtitle.js} +8 -7
  204. package/core/modules/parsers/audioparser.js +2 -1
  205. package/core/modules/parsers/binaryparser.js +49 -6
  206. package/core/modules/parsers/htmlparser.js +4 -2
  207. package/core/modules/parsers/imageparser.js +1 -0
  208. package/core/modules/parsers/parseutils.js +39 -9
  209. package/core/modules/parsers/videoparser.js +4 -2
  210. package/core/modules/parsers/wikiparser/rules/commentblock.js +8 -2
  211. package/core/modules/parsers/wikiparser/rules/commentinline.js +1 -1
  212. package/core/modules/parsers/wikiparser/rules/html.js +7 -10
  213. package/core/modules/parsers/wikiparser/rules/import.js +1 -1
  214. package/core/modules/parsers/wikiparser/rules/list.js +1 -1
  215. package/core/modules/parsers/wikiparser/rules/macrocallblock.js +24 -28
  216. package/core/modules/parsers/wikiparser/rules/macrocallinline.js +17 -27
  217. package/core/modules/parsers/wikiparser/rules/table.js +1 -1
  218. package/core/modules/parsers/wikiparser/wikiparser.js +52 -33
  219. package/core/modules/pluginswitcher.js +2 -0
  220. package/core/modules/saver-handler.js +7 -2
  221. package/core/modules/savers/andtidwiki.js +44 -18
  222. package/core/modules/savers/custom.js +60 -0
  223. package/core/modules/savers/download.js +1 -1
  224. package/core/modules/savers/gitea.js +136 -0
  225. package/core/modules/savers/github.js +6 -5
  226. package/core/modules/savers/gitlab.js +4 -7
  227. package/core/modules/savers/hyperdrive.js +64 -0
  228. package/core/modules/savers/put.js +6 -3
  229. package/core/modules/savers/tiddlyfox.js +1 -1
  230. package/core/modules/savers/twedit.js +1 -1
  231. package/core/modules/savers/upload.js +15 -3
  232. package/core/modules/server/authenticators/basic.js +1 -1
  233. package/core/modules/server/authenticators/header.js +1 -1
  234. package/core/modules/server/routes/delete-tiddler.js +1 -1
  235. package/core/modules/server/routes/get-favicon.js +1 -2
  236. package/core/modules/server/routes/get-file.js +19 -21
  237. package/core/modules/server/routes/get-index.js +1 -23
  238. package/core/modules/server/routes/get-login-basic.js +3 -2
  239. package/core/modules/server/routes/get-status.js +1 -2
  240. package/core/modules/server/routes/get-tiddler-html.js +3 -3
  241. package/core/modules/server/routes/get-tiddler.js +3 -3
  242. package/core/modules/server/routes/get-tiddlers-json.js +26 -13
  243. package/core/modules/server/routes/put-tiddler.js +2 -2
  244. package/core/modules/server/server.js +99 -17
  245. package/core/modules/startup/favicon.js +2 -2
  246. package/core/modules/startup/info.js +28 -18
  247. package/core/modules/startup/load-modules.js +3 -0
  248. package/core/modules/startup/plugins.js +84 -0
  249. package/core/modules/startup/render.js +11 -9
  250. package/core/modules/startup/rootwidget.js +7 -3
  251. package/core/modules/startup/startup.js +4 -10
  252. package/core/modules/startup/story.js +12 -7
  253. package/core/modules/startup/windows.js +5 -8
  254. package/core/modules/storyviews/classic.js +5 -5
  255. package/core/modules/storyviews/pop.js +3 -3
  256. package/core/modules/storyviews/zoomin.js +3 -3
  257. package/core/modules/syncer.js +384 -261
  258. package/core/modules/upgraders/plugins.js +20 -17
  259. package/core/modules/upgraders/system.js +5 -6
  260. package/core/modules/utils/base64-utf8/base64-utf8.module.js +29 -11
  261. package/core/modules/utils/base64-utf8/base64-utf8.module.min.js +1 -1
  262. package/core/modules/utils/csv.js +1 -1
  263. package/core/modules/utils/dom/dom.js +11 -7
  264. package/core/modules/utils/dom/dragndrop.js +26 -5
  265. package/core/modules/utils/dom/http.js +37 -5
  266. package/core/modules/utils/dom/modal.js +42 -6
  267. package/core/modules/utils/dom/popup.js +9 -34
  268. package/core/modules/utils/dom/scroller.js +15 -2
  269. package/core/modules/{startup/css-escape-polyfill.js → utils/escapecss.js} +17 -27
  270. package/core/modules/utils/fakedom.js +23 -3
  271. package/core/modules/utils/filesystem.js +225 -30
  272. package/core/modules/utils/linked-list.js +204 -0
  273. package/core/modules/utils/logger.js +48 -4
  274. package/core/modules/utils/performance.js +1 -1
  275. package/core/modules/utils/transliterate.js +8 -1
  276. package/core/modules/utils/utils.js +218 -19
  277. package/core/modules/widgets/action-confirm.js +78 -0
  278. package/core/modules/widgets/action-createtiddler.js +32 -4
  279. package/core/modules/widgets/action-deletefield.js +1 -1
  280. package/core/modules/widgets/action-listops.js +6 -11
  281. package/core/modules/widgets/action-log.js +93 -0
  282. package/core/modules/widgets/action-navigate.js +12 -1
  283. package/core/modules/widgets/action-popup.js +83 -0
  284. package/core/modules/widgets/action-sendmessage.js +17 -7
  285. package/core/modules/widgets/action-setmultiplefields.js +86 -0
  286. package/core/modules/widgets/browse.js +4 -0
  287. package/core/modules/widgets/button.js +41 -6
  288. package/core/modules/widgets/checkbox.js +5 -1
  289. package/core/modules/widgets/codeblock.js +7 -1
  290. package/core/modules/widgets/count.js +1 -1
  291. package/core/modules/widgets/draggable.js +3 -1
  292. package/core/modules/widgets/droppable.js +32 -18
  293. package/core/modules/widgets/dropzone.js +139 -31
  294. package/core/modules/widgets/edit-binary.js +48 -5
  295. package/core/modules/widgets/edit-bitmap.js +6 -6
  296. package/core/modules/widgets/edit-shortcut.js +3 -3
  297. package/core/modules/widgets/edit.js +7 -9
  298. package/core/modules/widgets/element.js +28 -21
  299. package/core/modules/widgets/entity.js +2 -1
  300. package/core/modules/widgets/eventcatcher.js +181 -0
  301. package/core/modules/widgets/fieldmangler.js +16 -30
  302. package/core/modules/widgets/fields.js +40 -29
  303. package/core/modules/widgets/image.js +5 -5
  304. package/core/modules/widgets/importvariables.js +38 -26
  305. package/core/modules/widgets/jsontiddler.js +91 -0
  306. package/core/modules/widgets/keyboard.js +39 -18
  307. package/core/modules/widgets/let.js +96 -0
  308. package/core/modules/widgets/link.js +15 -5
  309. package/core/modules/widgets/linkcatcher.js +6 -5
  310. package/core/modules/widgets/list.js +70 -28
  311. package/core/modules/widgets/log.js +30 -0
  312. package/core/modules/widgets/macrocall.js +16 -4
  313. package/core/modules/widgets/messagecatcher.js +110 -0
  314. package/core/modules/widgets/navigator.js +71 -40
  315. package/core/modules/widgets/radio.js +26 -14
  316. package/core/modules/widgets/range.js +94 -12
  317. package/core/modules/widgets/raw.js +1 -1
  318. package/core/modules/widgets/reveal.js +26 -4
  319. package/core/modules/widgets/scrollable.js +37 -24
  320. package/core/modules/widgets/select.js +2 -5
  321. package/core/modules/widgets/setmultiplevariables.js +81 -0
  322. package/core/modules/widgets/setvariable.js +2 -2
  323. package/core/modules/widgets/text.js +1 -1
  324. package/core/modules/widgets/tiddler.js +1 -1
  325. package/core/modules/widgets/transclude.js +13 -3
  326. package/core/modules/widgets/vars.js +3 -5
  327. package/core/modules/widgets/view.js +10 -3
  328. package/core/modules/widgets/widget.js +75 -23
  329. package/core/modules/widgets/wikify.js +1 -1
  330. package/core/modules/wiki.js +313 -123
  331. package/core/palettes/Blanca.tid +1 -0
  332. package/core/palettes/Blue.tid +1 -0
  333. package/core/palettes/BrightMute.tid +1 -0
  334. package/core/palettes/ContrastDark.tid +1 -0
  335. package/core/palettes/ContrastLight.tid +1 -0
  336. package/core/palettes/CupertinoDark.tid +130 -0
  337. package/core/palettes/DarkPhotos.tid +1 -0
  338. package/core/palettes/DesertSand.tid +139 -0
  339. package/core/palettes/GruvBoxDark.tid +139 -0
  340. package/core/palettes/Nord.tid +21 -7
  341. package/core/palettes/Rocker.tid +1 -0
  342. package/core/palettes/SolarFlare.tid +1 -0
  343. package/core/palettes/SolarizedDark.tid +113 -0
  344. package/core/palettes/SolarizedLight.tid +88 -95
  345. package/core/palettes/SpartanDay.tid +1 -0
  346. package/core/palettes/SpartanNight.tid +1 -0
  347. package/core/palettes/Twilight.tid +1 -0
  348. package/core/palettes/Vanilla.tid +20 -0
  349. package/core/plugin.info +1 -0
  350. package/core/templates/exporters/CsvFile.tid +1 -4
  351. package/core/templates/exporters/JsonFile.tid +1 -4
  352. package/core/templates/exporters/StaticRiver.tid +1 -1
  353. package/core/templates/exporters/TidFile.tid +1 -0
  354. package/core/templates/external-js/save-all-external-js.tid +3 -1
  355. package/core/templates/external-js/save-offline-external-js.tid +8 -0
  356. package/core/templates/external-js/tiddlywiki.js.tiddlers.tid +1 -1
  357. package/core/templates/external-js/tiddlywiki5-external-js.html.tid +3 -2
  358. package/core/templates/html-div-skinny-tiddler.tid +9 -0
  359. package/core/templates/html-div-tiddler.tid +1 -1
  360. package/core/templates/html-json-skinny-tiddler.tid +4 -0
  361. package/core/templates/html-json-tiddler.tid +3 -0
  362. package/core/templates/save-all.tid +2 -1
  363. package/core/templates/save-lazy-all.tid +3 -0
  364. package/core/templates/save-lazy-images.tid +3 -0
  365. package/core/templates/single.tiddler.window.tid +17 -22
  366. package/core/templates/static.area.tid +4 -0
  367. package/core/templates/static.tiddler.html.tid +2 -2
  368. package/core/templates/store.area.template.html.tid +35 -11
  369. package/core/templates/tiddlywiki5.html.tid +1 -1
  370. package/core/ui/Actions/new-image.tid +3 -2
  371. package/core/ui/Actions/new-journal.tid +4 -3
  372. package/core/ui/Actions/new-tiddler.tid +4 -1
  373. package/core/ui/AdvancedSearch/Filter.tid +22 -2
  374. package/core/ui/AdvancedSearch/FilterButtons/clear.tid +2 -1
  375. package/core/ui/AdvancedSearch/FilterButtons/dropdown.tid +1 -1
  376. package/core/ui/AdvancedSearch/Shadows.tid +25 -7
  377. package/core/ui/AdvancedSearch/Standard.tid +27 -8
  378. package/core/ui/AdvancedSearch/System.tid +24 -7
  379. package/core/ui/AdvancedSearch.tid +1 -1
  380. package/core/ui/AlertTemplate.tid +4 -2
  381. package/core/ui/BinaryWarning.tid +0 -4
  382. package/core/ui/Components/plugin-info.tid +60 -58
  383. package/core/ui/Components/tag-link.tid +1 -1
  384. package/core/ui/ControlPanel/Advanced.tid +1 -1
  385. package/core/ui/ControlPanel/Appearance.tid +1 -1
  386. package/core/ui/ControlPanel/Basics.tid +6 -1
  387. package/core/ui/ControlPanel/Cascades/EditTemplateBody.tid +9 -0
  388. package/core/ui/ControlPanel/Cascades/StoryTiddler.tid +9 -0
  389. package/core/ui/ControlPanel/Cascades/TiddlerColour.tid +9 -0
  390. package/core/ui/ControlPanel/Cascades/TiddlerIcon.tid +9 -0
  391. package/core/ui/ControlPanel/Cascades/ViewTemplateBody.tid +9 -0
  392. package/core/ui/ControlPanel/Cascades/ViewTemplateTitle.tid +9 -0
  393. package/core/ui/ControlPanel/Cascades.tid +9 -0
  394. package/core/ui/ControlPanel/Info.tid +1 -1
  395. package/core/ui/ControlPanel/KeyboardShortcuts.tid +2 -2
  396. package/core/ui/ControlPanel/Modals/AddPlugins.tid +102 -26
  397. package/core/ui/ControlPanel/Plugins/Add/Updates.tid +36 -0
  398. package/core/ui/ControlPanel/Plugins/Installed/Languages.tid +1 -0
  399. package/core/ui/ControlPanel/Plugins/Installed/Plugins.tid +1 -0
  400. package/core/ui/ControlPanel/Plugins/Installed/Themes.tid +1 -0
  401. package/core/ui/ControlPanel/Plugins.tid +2 -2
  402. package/core/ui/ControlPanel/Saving/GitHub.tid +1 -1
  403. package/core/ui/ControlPanel/Saving/TiddlySpot.tid +11 -6
  404. package/core/ui/ControlPanel/Saving/gitea.tid +16 -0
  405. package/core/ui/ControlPanel/Saving.tid +1 -1
  406. package/core/ui/ControlPanel/Toolbars.tid +1 -1
  407. package/core/ui/ControlPanel.tid +1 -1
  408. package/core/ui/DefaultSearchResultList.tid +16 -2
  409. package/core/ui/EditTemplate/Preview/diffs-current.tid +1 -1
  410. package/core/ui/EditTemplate/Preview/diffs-shadow.tid +1 -1
  411. package/core/ui/EditTemplate/Preview/output.tid +1 -0
  412. package/core/ui/EditTemplate/body/canonical-uri.tid +13 -0
  413. package/core/ui/EditTemplate/body/default.tid +38 -0
  414. package/core/ui/EditTemplate/body-editor.tid +13 -2
  415. package/core/ui/EditTemplate/body-toolbar-button.tid +8 -6
  416. package/core/ui/EditTemplate/body.tid +1 -47
  417. package/core/ui/EditTemplate/fields.tid +63 -20
  418. package/core/ui/EditTemplate/tags.tid +17 -21
  419. package/core/ui/EditTemplate/title.tid +2 -2
  420. package/core/ui/EditTemplate/type.tid +14 -2
  421. package/core/ui/EditTemplate.tid +13 -13
  422. package/core/ui/EditToolbar/cancel.tid +3 -2
  423. package/core/ui/EditToolbar/delete.tid +3 -2
  424. package/core/ui/EditToolbar/save.tid +5 -6
  425. package/core/ui/EditorToolbar/clear.tid +1 -1
  426. package/core/ui/EditorToolbar/editor-height.tid +1 -1
  427. package/core/ui/EditorToolbar/file-import.tid +41 -0
  428. package/core/ui/EditorToolbar/line-width.tid +2 -2
  429. package/core/ui/EditorToolbar/link-dropdown.tid +29 -11
  430. package/core/ui/EditorToolbar/opacity.tid +1 -1
  431. package/core/ui/EditorToolbar/paint.tid +1 -1
  432. package/core/ui/EditorToolbar/preview.tid +4 -4
  433. package/core/ui/EditorToolbar/rotate-left.tid +1 -1
  434. package/core/ui/EditorToolbar/size.tid +1 -1
  435. package/core/ui/EditorToolbar/stamp-dropdown-item-template.tid +53 -0
  436. package/core/ui/EditorToolbar/stamp-dropdown.tid +1 -43
  437. package/core/ui/EditorToolbar/stamp.tid +2 -1
  438. package/core/ui/ExportTiddlyWikiCore.tid +22 -0
  439. package/core/ui/ImportListing.tid +61 -18
  440. package/core/ui/KeyboardShortcuts/advanced-search.tid +1 -1
  441. package/core/ui/KeyboardShortcuts/change-sidebar-layout.tid +8 -0
  442. package/core/ui/KeyboardShortcuts/save-wiki.tid +7 -0
  443. package/core/ui/KeyboardShortcuts/switcher.tid +5 -0
  444. package/core/ui/KeyboardShortcuts/toggle-sidebar.tid +1 -1
  445. package/core/ui/LayoutSwitcher.tid +17 -0
  446. package/core/ui/ListItemTemplate.tid +1 -3
  447. package/core/ui/ListTaggedCascade.tid +14 -0
  448. package/core/ui/Manager/ItemSidebarTags.tid +4 -6
  449. package/core/ui/MoreSideBar/Plugins.tid +1 -1
  450. package/core/ui/PageControls/advanced-search.tid +5 -3
  451. package/core/ui/PageControls/closeall.tid +4 -1
  452. package/core/ui/PageControls/controlpanel.tid +2 -0
  453. package/core/ui/PageControls/encryption.tid +8 -3
  454. package/core/ui/PageControls/export-tiddlywikicore.tid +22 -0
  455. package/core/ui/PageControls/fold-all.tid +4 -1
  456. package/core/ui/PageControls/full-screen.tid +4 -1
  457. package/core/ui/PageControls/home.tid +4 -1
  458. package/core/ui/PageControls/import.tid +4 -1
  459. package/core/ui/PageControls/language.tid +2 -1
  460. package/core/ui/PageControls/manager.tid +5 -1
  461. package/core/ui/PageControls/more-page-actions.tid +4 -1
  462. package/core/ui/PageControls/new-image.tid +4 -1
  463. package/core/ui/PageControls/new-journal.tid +5 -1
  464. package/core/ui/PageControls/newtiddler.tid +4 -1
  465. package/core/ui/PageControls/palette.tid +2 -1
  466. package/core/ui/PageControls/print.tid +4 -1
  467. package/core/ui/PageControls/refresh.tid +4 -1
  468. package/core/ui/PageControls/savewiki.tid +4 -1
  469. package/core/ui/PageControls/storyview.tid +2 -1
  470. package/core/ui/PageControls/tag-button.tid +5 -1
  471. package/core/ui/PageControls/theme.tid +2 -1
  472. package/core/ui/PageControls/timestamp.tid +8 -3
  473. package/core/ui/PageControls/unfold-all.tid +4 -1
  474. package/core/ui/PageControls.tid +1 -1
  475. package/core/ui/PageTemplate/pluginreloadwarning.tid +1 -1
  476. package/core/ui/PageTemplate/story.tid +1 -1
  477. package/core/ui/PageTemplate.tid +12 -23
  478. package/core/ui/PaletteManager.tid +4 -4
  479. package/core/ui/PluginInfoDefaultContents.tid +1 -3
  480. package/core/ui/PluginListItemTemplate.tid +12 -6
  481. package/core/ui/RootTemplate.tid +4 -0
  482. package/core/ui/SearchResults.tid +1 -1
  483. package/core/ui/SideBar/More.tid +2 -2
  484. package/core/ui/SideBar/Open.tid +2 -2
  485. package/core/ui/SideBarSegments/search.tid +64 -25
  486. package/core/ui/SideBarSegments/tabs.tid +1 -1
  487. package/core/ui/StoryTiddlerTemplate.tid +3 -0
  488. package/core/ui/SwitcherModal.tid +11 -0
  489. package/core/ui/TagManager.tid +5 -0
  490. package/core/ui/TagPickerTagTemplate.tid +23 -0
  491. package/core/ui/TagTemplate.tid +2 -2
  492. package/core/ui/TiddlerIcon.tid +8 -0
  493. package/core/ui/TiddlerInfo/Advanced.tid +1 -1
  494. package/core/ui/TiddlerInfo.tid +1 -1
  495. package/core/ui/TopRightBar/menu.tid +6 -6
  496. package/core/ui/ViewTemplate/body/blank.tid +3 -0
  497. package/core/ui/ViewTemplate/body/code.tid +3 -0
  498. package/core/ui/ViewTemplate/body/default.tid +7 -0
  499. package/core/ui/ViewTemplate/{import.tid → body/import.tid} +9 -3
  500. package/core/ui/ViewTemplate/body/plugin.tid +10 -0
  501. package/core/ui/ViewTemplate/body.tid +1 -9
  502. package/core/ui/ViewTemplate/subtitle.tid +3 -3
  503. package/core/ui/ViewTemplate/title/default.tid +6 -0
  504. package/core/ui/ViewTemplate/title/system.tid +6 -0
  505. package/core/ui/ViewTemplate/title.tid +7 -18
  506. package/core/ui/ViewTemplate.tid +8 -1
  507. package/core/ui/ViewToolbar/clone.tid +0 -1
  508. package/core/ui/ViewToolbar/close-others.tid +0 -1
  509. package/core/ui/ViewToolbar/edit.tid +0 -1
  510. package/core/ui/ViewToolbar/fold-others.tid +0 -1
  511. package/core/ui/ViewToolbar/fold.tid +0 -2
  512. package/core/ui/ViewToolbar/info.tid +1 -0
  513. package/core/ui/ViewToolbar/more-tiddler-actions.tid +0 -1
  514. package/core/ui/ViewToolbar/new-here.tid +3 -2
  515. package/core/ui/ViewToolbar/new-journal-here.tid +2 -1
  516. package/core/ui/ViewToolbar/open-window.tid +0 -1
  517. package/core/ui/ViewToolbar/permalink.tid +0 -1
  518. package/core/ui/ViewToolbar/permaview.tid +0 -1
  519. package/core/wiki/config/AutoFocus.tid +2 -0
  520. package/core/wiki/config/EditModeFieldnameFilter.tid +3 -0
  521. package/core/wiki/config/EditTabIndex.tid +2 -0
  522. package/core/wiki/config/EditTemplateBodyFilters.multids +5 -0
  523. package/core/wiki/config/EditorEnableImportFilter.tid +4 -0
  524. package/core/wiki/config/EditorImportContentTypesFilter.tid +4 -0
  525. package/core/wiki/config/OfficialPluginLibrary.tid +1 -1
  526. package/core/wiki/config/RegisterPluginTypes.multids +7 -0
  527. package/core/wiki/config/SaverFilter.tid +1 -1
  528. package/core/wiki/config/ServerExternalFiltersDefault.tid +2 -0
  529. package/core/wiki/config/ShortcutInfo.multids +15 -0
  530. package/core/wiki/config/StoryTiddlerTemplateFilters.multids +5 -0
  531. package/core/wiki/config/SwitcherTargets.multids +6 -0
  532. package/core/wiki/config/SyncFilter.tid +1 -1
  533. package/core/wiki/config/SyncSystemTiddlersFromServer.tid +3 -0
  534. package/core/wiki/config/TiddlerColourFilters.multids +5 -0
  535. package/core/wiki/config/TiddlerIconFilters.multids +5 -0
  536. package/core/wiki/config/ViewTemplateBodyFilters.multids +8 -0
  537. package/core/wiki/config/ViewTemplateTitleFilters.multids +5 -0
  538. package/core/wiki/config/shortcuts/shortcuts-mac.multids +1 -0
  539. package/core/wiki/config/shortcuts/shortcuts.multids +13 -0
  540. package/core/wiki/currpalettepreview.tid +32 -3
  541. package/core/wiki/debugstylesheets.tid +9 -0
  542. package/core/wiki/macros/CSS.tid +2 -2
  543. package/core/wiki/macros/colour-picker.tid +2 -2
  544. package/core/wiki/macros/export.tid +10 -6
  545. package/core/wiki/macros/keyboard-driven-input.tid +88 -0
  546. package/core/wiki/macros/list.tid +8 -8
  547. package/core/wiki/macros/tabs.tid +8 -4
  548. package/core/wiki/macros/tag-picker.tid +75 -26
  549. package/core/wiki/macros/tag.tid +5 -3
  550. package/core/wiki/macros/timeline.tid +2 -3
  551. package/core/wiki/macros/toc.tid +5 -5
  552. package/core/wiki/minifocusswitcher.tid +7 -0
  553. package/core/wiki/peek-stylesheets.tid +3 -0
  554. package/core/wiki/tags/ControlPanelPlugins.tid +1 -1
  555. package/core/wiki/tags/EditTemplateBodyFilter.tid +2 -0
  556. package/core/wiki/tags/PluginLibrary.tid +2 -0
  557. package/core/wiki/tags/StoryTiddlerTemplateFilter.tid +2 -0
  558. package/core/wiki/tags/TiddlerColourFilter.tid +3 -0
  559. package/core/wiki/tags/TiddlerIconFilter.tid +3 -0
  560. package/core/wiki/tags/ViewTemplateBodyFilter.tid +3 -0
  561. package/core/wiki/tags/ViewTemplateTitleFilter.tid +3 -0
  562. package/core/wiki/title.tid +4 -1
  563. package/core/wiki/viewswitcher.tid +3 -6
  564. package/editions/de-AT/tiddlers/external/tiddlywiki.files +12 -0
  565. package/editions/de-AT/tiddlers/intro/HelloThumbnail_-_Latest_Version.tid +1 -1
  566. package/editions/de-AT/tiddlers/system/static.content.tid +2 -2
  567. package/editions/de-AT/tiddlywiki.info +3 -2
  568. package/editions/de-AT-server/tiddlywiki.info +2 -1
  569. package/editions/de-DE/tiddlywiki.info +3 -2
  570. package/editions/dev/tiddlers/Continuous Deployment.tid +3 -3
  571. package/editions/dev/tiddlers/HelloThere.tid +3 -1
  572. package/editions/dev/tiddlers/build/Releasing a new version of TiddlyWiki.tid +2 -2
  573. package/editions/dev/tiddlers/from Heigele and Jurke/Data-Storage.tid +1 -9
  574. package/editions/dev/tiddlers/from Heigele and Jurke/wikimethod module type.tid +3 -2
  575. package/editions/dev/tiddlers/from tw5.com/How to create plugins in the browser.tid +1 -1
  576. package/editions/dev/tiddlers/from tw5.com/moduletypes/SyncAdaptorModules.tid +59 -5
  577. package/editions/dev/tiddlers/from tw5.com/moduletypes/WikiRuleModules.tid +6 -5
  578. package/editions/dev/tiddlers/indexer modules.tid +55 -0
  579. package/editions/dev/tiddlers/new/Data Storage in Single File TiddlyWiki.tid +100 -0
  580. package/editions/dev/tiddlers/new/Data Storage.tid +10 -0
  581. package/editions/dev/tiddlers/new/HookMechanism.tid +15 -2
  582. package/editions/dev/tiddlers/new/Hook_ th-before-importing.tid +68 -0
  583. package/editions/dev/tiddlers/new/Hook_ th-closing-tiddler.tid +20 -0
  584. package/editions/dev/tiddlers/new/Hook__th-importing-tiddler.tid +3 -1
  585. package/editions/dev/tiddlers/new/Hook__th-rendering-element.tid +35 -0
  586. package/editions/dev/tiddlers/new/Hook_th-make-tiddler-path.tid +14 -0
  587. package/editions/dev/tiddlers/new/ParserSubclassingMechanism.tid +42 -0
  588. package/editions/dev/tiddlers/new/TiddlyWiki Drag and Drop Interop.tid +15 -0
  589. package/editions/dev/tiddlers/new/dragndropinterop.html +35 -0
  590. package/editions/dev/tiddlers/new/dragndropinterop.html.meta +3 -0
  591. package/editions/dev/tiddlers/new/save-dragndropinterop.tid +3 -0
  592. package/editions/dev/tiddlers/new/th-saving-tiddler.tid +3 -2
  593. package/editions/dev/tiddlers/system/static.content.tid +2 -2
  594. package/editions/dev/tiddlywiki.info +2 -1
  595. package/editions/dynaviewdemo/tiddlers/ViewTemplate.tid +4 -7
  596. package/editions/es-ES/tiddlers/Page_and_tiddler_layout_customisation.tid +3 -3
  597. package/editions/es-ES/tiddlywiki.info +3 -2
  598. package/editions/es-ES-server/tiddlywiki.info +2 -1
  599. package/editions/fr-FR/tiddlers/HelloThumbnail - Latest Version.tid +1 -1
  600. package/editions/fr-FR/tiddlers/Page and tiddler layout customisation.tid +3 -3
  601. package/editions/fr-FR/tiddlywiki.info +3 -2
  602. package/editions/fr-FR-server/tiddlywiki.info +2 -1
  603. package/editions/full/tiddlywiki.info +1 -0
  604. package/editions/innerwikidemo/tiddlywiki.info +2 -1
  605. package/editions/introduction/tiddlers/slides/TiddlyWiki.tid +1 -1
  606. package/editions/introduction/tiddlers/slides/Translations.tid +4 -6
  607. package/editions/introduction/tiddlers/system/styles.tid +2 -1
  608. package/editions/introduction/tiddlywiki.info +8 -1
  609. package/editions/ja-JP/tiddlywiki.info +3 -2
  610. package/editions/ko-KR/tiddlers/system/static.content.tid +2 -2
  611. package/editions/ko-KR/tiddlywiki.info +3 -2
  612. package/editions/ko-KR-server/tiddlywiki.info +2 -1
  613. package/editions/markdowndemo/tiddlers/HelloThere.tid +2 -29
  614. package/editions/markdowndemo/tiddlers/MarkdownExample.tid +20 -21
  615. package/editions/prerelease/tiddlers/$__StoryList.tid +5 -0
  616. package/editions/prerelease/tiddlers/Release 5.2.2.tid +54 -0
  617. package/editions/prerelease/tiddlers/system/PrereleaseLocalPluginLibrary.tid +1 -1
  618. package/editions/prerelease/tiddlers/system/PrereleaseOfficialPluginLibrary.tid +1 -1
  619. package/editions/prerelease/tiddlers/system/download-empty.tid +9 -0
  620. package/editions/prerelease/tiddlers/system/favicon.ico +0 -0
  621. package/editions/prerelease/tiddlers/system/favicon.ico.meta +2 -0
  622. package/editions/prerelease/tiddlers/system/stickytitles.tid +1 -1
  623. package/editions/prerelease/tiddlywiki.info +3 -2
  624. package/editions/server/tiddlywiki.info +1 -6
  625. package/editions/server-external-js/tiddlywiki.info +26 -0
  626. package/editions/share/tiddlywiki.info +14 -0
  627. package/editions/test/tiddlers/tests/data/deserializers/case 1.tid +4 -0
  628. package/editions/test/tiddlers/tests/data/deserializers/case 2.tid +12 -0
  629. package/editions/test/tiddlers/tests/data/deserializers/case 3.tid +18 -0
  630. package/editions/test/tiddlers/tests/data/deserializers/case 4.tid +19 -0
  631. package/editions/test/tiddlers/tests/data/deserializers/case 5.tid +20 -0
  632. package/editions/test/tiddlers/tests/test-backlinks.js +132 -0
  633. package/editions/test/tiddlers/tests/test-compare-filter.js +84 -0
  634. package/editions/test/tiddlers/tests/test-deserializers.js +39 -0
  635. package/editions/test/tiddlers/tests/test-filters.js +885 -468
  636. package/editions/test/tiddlers/tests/test-html-parser.js +18 -12
  637. package/editions/test/tiddlers/tests/test-linked-list.js +270 -0
  638. package/editions/test/tiddlers/tests/test-parsetextreference.js +132 -0
  639. package/editions/test/tiddlers/tests/test-prefixes-filter.js +440 -0
  640. package/editions/test/tiddlers/tests/test-tags.js +1 -1
  641. package/editions/test/tiddlers/tests/test-utils.js +62 -0
  642. package/editions/test/tiddlers/tests/test-widget.js +460 -149
  643. package/editions/test/tiddlers/tests/test-wikitext-parser.js +127 -20
  644. package/editions/tw5.com/tiddlers/$__StoryList.tid +5 -0
  645. package/editions/tw5.com/tiddlers/about/Developers.tid +8 -3
  646. package/editions/tw5.com/tiddlers/about/History of TiddlyWiki.tid +1 -1
  647. package/editions/tw5.com/tiddlers/{License.tid → about/License.tid} +3 -3
  648. package/editions/tw5.com/tiddlers/commands/BuildCommand.tid +1 -1
  649. package/editions/tw5.com/tiddlers/commands/NamedCommandParameters.tid +2 -2
  650. package/editions/tw5.com/tiddlers/community/Community Editions.tid +24 -0
  651. package/editions/tw5.com/tiddlers/community/Community Links Aggregator.tid +10 -0
  652. package/editions/tw5.com/tiddlers/community/Community Palettes.tid +24 -0
  653. package/editions/tw5.com/tiddlers/community/Community Plugins.tid +24 -0
  654. package/editions/tw5.com/tiddlers/community/Community Themes.tid +24 -0
  655. package/editions/tw5.com/tiddlers/community/Community.tid +5 -3
  656. package/editions/tw5.com/tiddlers/community/Contributing.tid +49 -13
  657. package/editions/tw5.com/tiddlers/community/Forums.tid +7 -11
  658. package/editions/tw5.com/tiddlers/community/Other Resources.tid +24 -0
  659. package/editions/tw5.com/tiddlers/community/TW Icons by morosanuae.tid +9 -0
  660. package/editions/tw5.com/tiddlers/community/TiddlyWiki Hangouts.tid +2 -2
  661. package/editions/tw5.com/tiddlers/community/editions/Drift by Tony K.tid +17 -0
  662. package/editions/tw5.com/tiddlers/community/editions/Stroll by David Gifford.tid +18 -0
  663. package/editions/tw5.com/tiddlers/community/editions/TiddlyResearch by Kebi.tid +25 -0
  664. package/editions/tw5.com/tiddlers/community/{resources → editions}/_Cardo-A Task and Project Management Wiki_ by David_Szego.tid +2 -2
  665. package/editions/tw5.com/tiddlers/community/{resources → editions}/_Noteself_ by Danielo Rodriguez.tid +4 -2
  666. package/editions/tw5.com/tiddlers/community/examples/PETTIL.tid +2 -2
  667. package/editions/tw5.com/tiddlers/community/examples/Reveal.js by Devin Weaver.tid +20 -0
  668. package/editions/tw5.com/tiddlers/community/{resources → examples}/_Lucky Sushi_ online shop by sini-Kit.tid +4 -4
  669. package/editions/tw5.com/tiddlers/community/palettes/Dracula for tiddlywiki.tid +22 -0
  670. package/editions/tw5.com/tiddlers/community/palettes/palletes by JD.tid +20 -0
  671. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Ace Editor Plugin by Joerg Plewe.tid +2 -2
  672. package/editions/tw5.com/tiddlers/community/{resources → plugins}/BJHacks.tid +2 -2
  673. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Disqus comments plugin by bimlas.tid +2 -2
  674. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Encrypt single tiddler plugin.tid +2 -2
  675. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Eucalys Tiddly World.tid +4 -3
  676. package/editions/tw5.com/tiddlers/community/plugins/Favorites by Mohammad.tid +18 -0
  677. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Full Text Search Plugin by Rob Hoelz.tid +2 -2
  678. package/editions/tw5.com/tiddlers/community/{resources → plugins}/GSD5.tid +3 -3
  679. package/editions/tw5.com/tiddlers/community/{resources → plugins}/IndexedDB Plugin by Andreas Abeck.tid +2 -2
  680. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Json Mangler plugin by Joshua Fontany.tid +5 -4
  681. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Kin filter operator by bimlas.tid +2 -2
  682. package/editions/tw5.com/tiddlers/community/plugins/Kookma Plugin Library by Mohammad.tid +15 -0
  683. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Leaflet_maps_plugin_by_Sylvain_Comte.tid +2 -2
  684. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Locator plugin by bimlas.tid +2 -2
  685. package/editions/tw5.com/tiddlers/community/{resources → plugins}/MathJax Plugin by Martin Kantor.tid +2 -2
  686. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Plugins by TheDiveO.tid +2 -2
  687. package/editions/tw5.com/tiddlers/community/plugins/Refnotes by Mohammad.tid +22 -0
  688. package/editions/tw5.com/tiddlers/community/plugins/Searchwikis by Mohammad.tid +21 -0
  689. package/editions/tw5.com/tiddlers/community/plugins/Shiraz by Mohammad.tid +32 -0
  690. package/editions/tw5.com/tiddlers/community/plugins/Slider by Mohammad.tid +18 -0
  691. package/editions/tw5.com/tiddlers/community/plugins/Tiddler Commander by Mohammad.tid +25 -0
  692. package/editions/tw5.com/tiddlers/community/{resources → plugins}/TiddlyClip by buggyjay.tid +2 -2
  693. package/editions/tw5.com/tiddlers/community/{resources → plugins}/TiddlyMap by Felix Kuppers.tid +2 -2
  694. package/editions/tw5.com/tiddlers/community/{resources → plugins}/TiddlyWiki for Scholars.tid +2 -2
  695. package/editions/tw5.com/tiddlers/community/plugins/Tiddlyshow by Mohammad.tid +16 -0
  696. package/editions/tw5.com/tiddlers/community/plugins/Timelines by Mohammad.tid +14 -0
  697. package/editions/tw5.com/tiddlers/community/{resources → plugins}/Tinka by Andreas Hahn.tid +2 -2
  698. package/editions/tw5.com/tiddlers/community/plugins/Todolist by Mohammad.tid +14 -0
  699. package/editions/tw5.com/tiddlers/community/plugins/Trashbin by Mohammad.tid +14 -0
  700. package/editions/tw5.com/tiddlers/community/plugins/Utility by Mohammad.tid +13 -0
  701. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_JD Mobile Layout plugin_ by JD.tid +2 -2
  702. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_Mal's Sandbox_ by Mal.tid +2 -2
  703. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_SK_Plugins_ by Stephen Kimmel.tid +2 -2
  704. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_Slides and Stories_ by Jan.tid +2 -2
  705. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_TW5-TeXZilla_ plugin by Joe Renes.tid +2 -2
  706. package/editions/tw5.com/tiddlers/community/{resources → plugins}/_Tekan_ Kanban that stays with you_ by Riz.tid +2 -2
  707. package/editions/tw5.com/tiddlers/community/{resources → plugins}/datepicker based on Pikaday.tid +2 -2
  708. package/editions/tw5.com/tiddlers/community/{resources → plugins}/rboue's plugins for TiddlyWiki.tid +2 -2
  709. package/editions/tw5.com/tiddlers/community/{resources → plugins}/vis.js Timeline.tid +2 -2
  710. package/editions/tw5.com/tiddlers/community/resources/BrainTest.tid +2 -2
  711. package/editions/tw5.com/tiddlers/community/resources/Code styles and auto format settings for IDEs.tid +2 -2
  712. package/editions/tw5.com/tiddlers/community/resources/CouchDB Adaptor.tid +2 -2
  713. package/editions/tw5.com/tiddlers/community/resources/Filter Examples by Tobias Beer.tid +2 -2
  714. package/editions/tw5.com/tiddlers/community/resources/Font Awesome 5 Free SVGs for TiddlyWiki by morosanuae.tid +2 -2
  715. package/editions/tw5.com/tiddlers/community/resources/Gospel_Bubbles_by_Rev_David_Gifford.tid +2 -2
  716. package/editions/tw5.com/tiddlers/community/resources/Grok TiddlyWiki by Soren Bjornstad.tid +16 -0
  717. package/editions/tw5.com/tiddlers/community/resources/Heeg.ru.tid +2 -2
  718. package/editions/tw5.com/tiddlers/community/resources/Projectify by Nicolas Petton.tid +20 -0
  719. package/editions/tw5.com/tiddlers/community/resources/RegExp in Tiddlywiki by Mohammad.tid +19 -0
  720. package/editions/tw5.com/tiddlers/community/resources/SeeAlso by Matias Goldman.tid +2 -2
  721. package/editions/tw5.com/tiddlers/community/resources/Semantic Colors by Mohammad.tid +22 -0
  722. package/editions/tw5.com/tiddlers/community/resources/TB5 a pocket full of tips by Tobias Beer.tid +2 -2
  723. package/editions/tw5.com/tiddlers/community/resources/TW-Scripts by Mohammad.tid +22 -0
  724. package/editions/tw5.com/tiddlers/community/resources/TW5 Magick.tid +2 -2
  725. package/editions/tw5.com/tiddlers/community/resources/TW5-SingleExecutable_by_Jed_Carty.tid +2 -2
  726. package/editions/tw5.com/tiddlers/community/resources/TW5-firebase_ TiddlyWiki5 for Google Firebase by Peter Neumark.tid +27 -0
  727. package/editions/tw5.com/tiddlers/community/resources/TWCommunitySearch.tid +2 -2
  728. package/editions/tw5.com/tiddlers/community/resources/TWaddle by Matias Goldman.tid +1 -1
  729. package/editions/tw5.com/tiddlers/community/resources/TiddlyChrome by Arlen Beiler.tid +2 -2
  730. package/editions/tw5.com/tiddlers/community/resources/TiddlyDrive Add-on for Google Drive by Joshua Stubbs.tid +6 -4
  731. package/editions/tw5.com/tiddlers/community/resources/TiddlyServer by Arlen Beiler.tid +5 -3
  732. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Notes.tid +2 -2
  733. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Posts.tid +2 -2
  734. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Video Tutorials by Francis Meetze.tid +2 -2
  735. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki extensions for Sublime Text 3 by roma0104.tid +2 -2
  736. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki extensions for ViM.tid +2 -2
  737. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki guide FR.tid +2 -2
  738. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki wu.tid +2 -2
  739. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki5 Playground.tid +2 -2
  740. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki5 Squared by Iannis Zannos.tid +2 -2
  741. package/editions/tw5.com/tiddlers/community/resources/Twexe_ Single File Tiddlywiki5 executable.tid +29 -0
  742. package/editions/tw5.com/tiddlers/community/resources/Widdly by Opennota.tid +3 -3
  743. package/editions/tw5.com/tiddlers/community/resources/Wikilabs by PMario.tid +3 -3
  744. package/editions/tw5.com/tiddlers/community/resources/Wills QnD gTD.tid +2 -2
  745. package/editions/tw5.com/tiddlers/community/resources/_ATWiki_ by Lamusia Project.tid +2 -2
  746. package/editions/tw5.com/tiddlers/community/resources/_Dropboard_ by Reid Gould.tid +2 -2
  747. package/editions/tw5.com/tiddlers/community/resources/_Dynamic Tables_ by Jed Carty.tid +2 -2
  748. package/editions/tw5.com/tiddlers/community/resources/_Hacks_ by Thomas Elmiger.tid +3 -2
  749. package/editions/tw5.com/tiddlers/community/resources/_In My Socks_ by Jed Carty.tid +2 -2
  750. package/editions/tw5.com/tiddlers/community/resources/_MathCell_ by Ste Wilson.tid +3 -2
  751. package/editions/tw5.com/tiddlers/community/resources/_TWeb.at_ by Mario Pietsch.tid +2 -2
  752. package/editions/tw5.com/tiddlers/community/resources/_TiddlyServer_ by Matt Lauber.tid +6 -3
  753. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki Knowledge Network_ by Dmitry Sokolov.tid +2 -2
  754. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki Toolmap_ by David Gifford.tid +2 -2
  755. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki5 Bourbon_ from mkt_memory.tid +2 -2
  756. package/editions/tw5.com/tiddlers/community/resources/_TiddlyWiki5 Forum on Reddit_ by Riz.tid +2 -2
  757. package/editions/tw5.com/tiddlers/community/resources/_Timimi_ Extension and executable by Riz.tid +24 -8
  758. package/editions/tw5.com/tiddlers/community/resources/_X3DOM for TiddlyWiki 5_ by Jamal Wills.tid +2 -2
  759. package/editions/tw5.com/tiddlers/community/resources/_file-backups_ Extension Firefox by pmario.tid +5 -3
  760. package/editions/tw5.com/tiddlers/community/resources/_muritest_ by Simon Huber.tid +2 -2
  761. package/editions/tw5.com/tiddlers/community/resources/_savetiddlers_ Extension for Chrome and Firefox by buggyj.tid +4 -2
  762. package/editions/tw5.com/tiddlers/community/resources/twproxy by Steve Gattuso.tid +2 -2
  763. package/editions/tw5.com/tiddlers/community/themes/Mono theme by JD.tid +11 -0
  764. package/editions/tw5.com/tiddlers/community/themes/Notebook theme by Nicolas Petton.tid +19 -0
  765. package/editions/tw5.com/tiddlers/community/themes/Whitespace a negative-spacious webapp-nostalgic theme by JD.tid +11 -0
  766. package/editions/tw5.com/tiddlers/community/{resources → themes}/_Ghostwriter theme by Rory Gibson_ by Riz.tid +2 -2
  767. package/editions/tw5.com/tiddlers/community/{resources → themes}/_Moments-A little color won't hurt_ by Riz.tid +2 -2
  768. package/editions/tw5.com/tiddlers/community/tutorials/GitHub Saver Tutorial by Mohammad.tid +23 -0
  769. package/editions/tw5.com/tiddlers/concepts/Cascades.tid +47 -0
  770. package/editions/tw5.com/tiddlers/concepts/ColourPalettes.tid +1 -1
  771. package/editions/tw5.com/tiddlers/concepts/Concepts.tid +5 -3
  772. package/editions/tw5.com/tiddlers/concepts/Date Fields.tid +5 -4
  773. package/editions/tw5.com/tiddlers/concepts/Edit Template Body Cascade.tid +16 -0
  774. package/editions/tw5.com/tiddlers/concepts/InfoPanel.tid +3 -3
  775. package/editions/tw5.com/tiddlers/concepts/Macros.tid +2 -2
  776. package/editions/tw5.com/tiddlers/concepts/Messages.tid +2 -2
  777. package/editions/tw5.com/tiddlers/concepts/ModuleType.tid +2 -2
  778. package/editions/tw5.com/tiddlers/concepts/Modules.tid +1 -1
  779. package/editions/tw5.com/tiddlers/concepts/Order of Tagged Tiddlers.tid +1 -1
  780. package/editions/tw5.com/tiddlers/concepts/PermaLinks.tid +4 -4
  781. package/editions/tw5.com/tiddlers/concepts/Railroad Diagrams.tid +2 -1
  782. package/editions/tw5.com/tiddlers/concepts/ShadowTiddlers.tid +14 -3
  783. package/editions/tw5.com/tiddlers/concepts/Story Tiddler Template Cascade.tid +16 -0
  784. package/editions/tw5.com/tiddlers/concepts/Story Tiddler Template.tid +13 -0
  785. package/editions/tw5.com/tiddlers/concepts/SystemTags.tid +9 -8
  786. package/editions/tw5.com/tiddlers/concepts/TagTiddlers.tid +1 -1
  787. package/editions/tw5.com/tiddlers/concepts/Tiddler Colour Cascade.tid +16 -0
  788. package/editions/tw5.com/tiddlers/concepts/Tiddler Icon Cascade.tid +16 -0
  789. package/editions/tw5.com/tiddlers/concepts/TiddlerFields.tid +36 -33
  790. package/editions/tw5.com/tiddlers/concepts/Transclusion.tid +1 -1
  791. package/editions/tw5.com/tiddlers/concepts/View Template Body Cascade.tid +19 -0
  792. package/editions/tw5.com/tiddlers/concepts/View Template Title Cascade.tid +16 -0
  793. package/editions/tw5.com/tiddlers/customising/Alternative page layouts.tid +15 -0
  794. package/editions/tw5.com/tiddlers/customising/Configuring startup tiddlers.tid +3 -1
  795. package/editions/tw5.com/tiddlers/customising/Creating new toolbar buttons.tid +35 -0
  796. package/editions/tw5.com/tiddlers/customising/Customise TiddlyWiki.tid +6 -5
  797. package/editions/tw5.com/tiddlers/customising/Customising TiddlyWiki's user interface.tid +75 -0
  798. package/editions/tw5.com/tiddlers/customising/Customising search results.tid +19 -1
  799. package/editions/tw5.com/tiddlers/definitions/BT.tid +3 -2
  800. package/editions/tw5.com/tiddlers/definitions/Base64.tid +1 -1
  801. package/editions/tw5.com/tiddlers/definitions/Cascading Style Sheets.tid +1 -1
  802. package/editions/tw5.com/tiddlers/definitions/Comma Separated Values.tid +1 -1
  803. package/editions/tw5.com/tiddlers/definitions/Data URI.tid +1 -1
  804. package/editions/tw5.com/tiddlers/definitions/Document Object Model.tid +1 -1
  805. package/editions/tw5.com/tiddlers/definitions/GitHub.tid +1 -1
  806. package/editions/tw5.com/tiddlers/definitions/HyperText Markup Language.tid +1 -1
  807. package/editions/tw5.com/tiddlers/definitions/JavaScript Object Notation.tid +1 -1
  808. package/editions/tw5.com/tiddlers/definitions/MathML.tid +2 -2
  809. package/editions/tw5.com/tiddlers/definitions/OpenSource.tid +1 -1
  810. package/editions/tw5.com/tiddlers/definitions/Osmosoft.tid +3 -2
  811. package/editions/tw5.com/tiddlers/definitions/Percent Encoding.tid +1 -1
  812. package/editions/tw5.com/tiddlers/definitions/Quine.tid +1 -1
  813. package/editions/tw5.com/tiddlers/definitions/TiddlyFox.tid +2 -2
  814. package/editions/tw5.com/tiddlers/definitions/URI.tid +1 -1
  815. package/editions/tw5.com/tiddlers/definitions/Web Developer Tools.tid +7 -0
  816. package/editions/tw5.com/tiddlers/definitions/node-webkit.tid +2 -1
  817. package/editions/tw5.com/tiddlers/demonstrations/Alice in Wonderland.tid +4 -3707
  818. package/editions/tw5.com/tiddlers/demonstrations/Apple.tid +2 -2
  819. package/editions/tw5.com/tiddlers/demonstrations/Caruso - Ave Maria.tid +1 -0
  820. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Demo Tiddler List with Custom Story Tiddler Template.tid +10 -0
  821. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Styles.tid +31 -0
  822. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Template.tid +25 -0
  823. package/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/TiddlerTemplateFilter.tid +5 -0
  824. package/editions/tw5.com/tiddlers/demonstrations/CustomTiddlerColourCascadeDemo/CustomTiddlerColourCascadeDemo.tid +9 -0
  825. package/editions/tw5.com/tiddlers/demonstrations/CustomTiddlerIconCascadeDemo/CustomTiddlerIconCascadeDemo.tid +9 -0
  826. package/editions/tw5.com/tiddlers/demonstrations/ImageGallery Example.tid +5 -16
  827. package/editions/tw5.com/tiddlers/demonstrations/KeyboardDrivenInput/Demonstration_ keyboard-driven-input Macro.tid +121 -0
  828. package/editions/tw5.com/tiddlers/demonstrations/KeyboardDrivenInput/kdi-demo-configtid.tid +7 -0
  829. package/editions/tw5.com/tiddlers/demonstrations/SampleNotification.tid +2 -1
  830. package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerFirst.tid +3 -1
  831. package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerSecond.tid +3 -1
  832. package/editions/tw5.com/tiddlers/demonstrations/SampleTiddlerThird.tid +3 -1
  833. package/editions/tw5.com/tiddlers/demonstrations/SampleWizard.tid +2 -1
  834. package/editions/tw5.com/tiddlers/demonstrations/SampleWizard2.tid +2 -1
  835. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Contents.tid +3 -2
  836. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/First.tid +3 -3
  837. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/FirstOne.tid +2 -2
  838. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/FirstThree.tid +2 -2
  839. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/FirstTwo.tid +2 -2
  840. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Fourth.tid +2 -2
  841. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Second.tid +2 -2
  842. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondOne.tid +2 -2
  843. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThree.tid +3 -3
  844. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeOne.tid +2 -2
  845. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeThree.tid +2 -2
  846. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondThreeTwo.tid +2 -2
  847. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/SecondTwo.tid +2 -2
  848. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/Third.tid +3 -3
  849. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/ThirdOne.tid +2 -2
  850. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/ThirdThree.tid +2 -2
  851. package/editions/tw5.com/tiddlers/demonstrations/TableOfContents/ThirdTwo.tid +2 -2
  852. package/editions/tw5.com/tiddlers/demonstrations/Tagged with TagMacro.tid +2 -1
  853. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Compose ballad.tid +3 -3
  854. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Get the Ring.tid +3 -3
  855. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Go to Mordor.tid +3 -3
  856. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Kill the Dragon.tid +4 -4
  857. package/editions/tw5.com/tiddlers/demonstrations/Tasks/Make the beds.tid +3 -3
  858. package/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExample.tid +2 -2
  859. package/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggable.tid +2 -2
  860. package/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggableTemplate.tid +1 -1
  861. package/editions/tw5.com/tiddlers/demonstrations/Tasks/done.tid +3 -1
  862. package/editions/tw5.com/tiddlers/demonstrations/Tasks/task.tid +3 -2
  863. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Days of the Week.tid +5 -4
  864. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Friday.tid +2 -1
  865. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Monday.tid +2 -1
  866. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Saturday.tid +3 -2
  867. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Sunday.tid +2 -1
  868. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Thursday.tid +2 -1
  869. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Tuesday.tid +2 -1
  870. package/editions/tw5.com/tiddlers/demonstrations/Weekdays/Wednesday.tid +2 -1
  871. package/editions/tw5.com/tiddlers/demonstrations/sampletag1.tid +3 -0
  872. package/editions/tw5.com/tiddlers/demonstrations/sampletag2.tid +3 -0
  873. package/editions/tw5.com/tiddlers/features/AutoSave.tid +2 -2
  874. package/editions/tw5.com/tiddlers/features/DateFormat.tid +15 -2
  875. package/editions/tw5.com/tiddlers/features/Importing Tiddlers.tid +3 -3
  876. package/editions/tw5.com/tiddlers/features/LazyLoading.tid +2 -3
  877. package/editions/tw5.com/tiddlers/features/Modals.tid +11 -2
  878. package/editions/tw5.com/tiddlers/features/Performance Instrumentation.tid +2 -2
  879. package/editions/tw5.com/tiddlers/features/SafeMode.tid +4 -2
  880. package/editions/tw5.com/tiddlers/features/Scalability.tid +4 -2
  881. package/editions/tw5.com/tiddlers/features/Searching in TiddlyWiki.tid +1 -1
  882. package/editions/tw5.com/tiddlers/features/StartupActions.tid +15 -6
  883. package/editions/tw5.com/tiddlers/fileformats/TiddlerFiles.tid +15 -4
  884. package/editions/tw5.com/tiddlers/filters/Filter Operators.tid +4 -4
  885. package/editions/tw5.com/tiddlers/filters/Introduction to filter notation.tid +11 -4
  886. package/editions/tw5.com/tiddlers/filters/Mathematics Operators.tid +2 -1
  887. package/editions/tw5.com/tiddlers/filters/acos Operator.tid +15 -0
  888. package/editions/tw5.com/tiddlers/filters/asin Operator.tid +15 -0
  889. package/editions/tw5.com/tiddlers/filters/atan Operator.tid +13 -0
  890. package/editions/tw5.com/tiddlers/filters/atan2 Operator.tid +15 -0
  891. package/editions/tw5.com/tiddlers/filters/average.tid +13 -0
  892. package/editions/tw5.com/tiddlers/filters/charcode.tid +17 -0
  893. package/editions/tw5.com/tiddlers/filters/compare Operator.tid +51 -0
  894. package/editions/tw5.com/tiddlers/filters/contains Operator.tid +1 -1
  895. package/editions/tw5.com/tiddlers/filters/cos Operator.tid +13 -0
  896. package/editions/tw5.com/tiddlers/filters/cycle Operator.tid +24 -0
  897. package/editions/tw5.com/tiddlers/filters/deserializers Operator.tid +14 -0
  898. package/editions/tw5.com/tiddlers/filters/duplicateslugs Operator.tid +22 -0
  899. package/editions/tw5.com/tiddlers/filters/each.tid +2 -2
  900. package/editions/tw5.com/tiddlers/filters/enlist Operator.tid +2 -3
  901. package/editions/tw5.com/tiddlers/filters/enlist-input Operator.tid +31 -0
  902. package/editions/tw5.com/tiddlers/filters/examples/Brownies.tid +9 -0
  903. package/editions/tw5.com/tiddlers/filters/examples/Chick Peas.tid +9 -0
  904. package/editions/tw5.com/tiddlers/filters/examples/How to remove stop words.tid +28 -0
  905. package/editions/tw5.com/tiddlers/filters/examples/Milk.tid +9 -0
  906. package/editions/tw5.com/tiddlers/filters/examples/Rice Pudding.tid +9 -0
  907. package/editions/tw5.com/tiddlers/filters/examples/acos Operator (Examples).tid +7 -0
  908. package/editions/tw5.com/tiddlers/filters/examples/allbefore.tid +1 -0
  909. package/editions/tw5.com/tiddlers/filters/examples/asin Operator (Examples).tid +7 -0
  910. package/editions/tw5.com/tiddlers/filters/examples/atan Operator (Examples).tid +7 -0
  911. package/editions/tw5.com/tiddlers/filters/examples/atan2 Operator (Examples).tid +7 -0
  912. package/editions/tw5.com/tiddlers/filters/examples/average Operator (Examples).tid +10 -0
  913. package/editions/tw5.com/tiddlers/filters/examples/charcode.tid +7 -0
  914. package/editions/tw5.com/tiddlers/filters/examples/compare Operator (Examples).tid +11 -0
  915. package/editions/tw5.com/tiddlers/filters/examples/cos Operator (Examples).tid +7 -0
  916. package/editions/tw5.com/tiddlers/filters/examples/cycle Operator (Examples).tid +21 -0
  917. package/editions/tw5.com/tiddlers/filters/examples/deserializers Operator (Examples).tid +7 -0
  918. package/editions/tw5.com/tiddlers/filters/examples/enlist-input Operator (Examples).tid +12 -0
  919. package/editions/tw5.com/tiddlers/filters/examples/fields.tid +6 -2
  920. package/editions/tw5.com/tiddlers/filters/examples/filter Operator (Examples).tid +23 -0
  921. package/editions/tw5.com/tiddlers/filters/examples/fixed Operator (Examples).tid +1 -0
  922. package/editions/tw5.com/tiddlers/filters/examples/format Operator (Examples).tid +31 -0
  923. package/editions/tw5.com/tiddlers/filters/examples/has.tid +3 -1
  924. package/editions/tw5.com/tiddlers/filters/examples/jsonstringify Operator (Examples).tid +2 -0
  925. package/editions/tw5.com/tiddlers/filters/examples/log Operator (Examples).tid +14 -0
  926. package/editions/tw5.com/tiddlers/filters/examples/lookup Operator (Examples).tid +2 -1
  927. package/editions/tw5.com/tiddlers/filters/examples/match Operator (Examples).tid +1 -1
  928. package/editions/tw5.com/tiddlers/filters/examples/median Operator (Examples).tid +10 -0
  929. package/editions/tw5.com/tiddlers/filters/examples/moduleproperty Operator (Examples).tid +11 -0
  930. package/editions/tw5.com/tiddlers/filters/examples/modules.tid +4 -1
  931. package/editions/tw5.com/tiddlers/filters/examples/pad Operator (Examples).tid +13 -0
  932. package/editions/tw5.com/tiddlers/filters/examples/power Operator (Examples).tid +8 -0
  933. package/editions/tw5.com/tiddlers/filters/examples/reduce Operator (Examples).tid +38 -0
  934. package/editions/tw5.com/tiddlers/filters/examples/search-replace Operator (Examples).tid +38 -0
  935. package/editions/tw5.com/tiddlers/filters/examples/sin Operator (Examples).tid +7 -0
  936. package/editions/tw5.com/tiddlers/filters/examples/sortsub Operator (Examples).tid +34 -0
  937. package/editions/tw5.com/tiddlers/filters/examples/standard-deviation Operator (Examples).tid +10 -0
  938. package/editions/tw5.com/tiddlers/filters/examples/stringify_Operator_(Examples).tid +2 -0
  939. package/editions/tw5.com/tiddlers/filters/examples/subfilter Operator (Examples).tid +25 -3
  940. package/editions/tw5.com/tiddlers/filters/examples/tan Operator (Examples).tid +7 -0
  941. package/editions/tw5.com/tiddlers/filters/examples/toggle Operator (Examples).tid +27 -0
  942. package/editions/tw5.com/tiddlers/filters/examples/trim Operator (Examples).tid +8 -0
  943. package/editions/tw5.com/tiddlers/filters/examples/unique Operator (Examples).tid +8 -0
  944. package/editions/tw5.com/tiddlers/filters/examples/variance Operator (Examples).tid +10 -0
  945. package/editions/tw5.com/tiddlers/filters/examples/zth Operator (Examples).tid +10 -0
  946. package/editions/tw5.com/tiddlers/filters/fields.tid +10 -7
  947. package/editions/tw5.com/tiddlers/filters/filter.tid +49 -0
  948. package/editions/tw5.com/tiddlers/filters/format.tid +24 -0
  949. package/editions/tw5.com/tiddlers/filters/has.tid +4 -3
  950. package/editions/tw5.com/tiddlers/filters/is.tid +10 -8
  951. package/editions/tw5.com/tiddlers/filters/jsonstringify Operator.tid +17 -8
  952. package/editions/tw5.com/tiddlers/filters/length Operator.tid +1 -1
  953. package/editions/tw5.com/tiddlers/filters/list.tid +2 -2
  954. package/editions/tw5.com/tiddlers/filters/log Operator.tid +15 -0
  955. package/editions/tw5.com/tiddlers/filters/median.tid +13 -0
  956. package/editions/tw5.com/tiddlers/filters/moduleproperty Operator.tid +12 -0
  957. package/editions/tw5.com/tiddlers/filters/modules.tid +8 -6
  958. package/editions/tw5.com/tiddlers/filters/nth.tid +9 -7
  959. package/editions/tw5.com/tiddlers/filters/pad Operator.tid +23 -0
  960. package/editions/tw5.com/tiddlers/filters/power Operator.tid +15 -0
  961. package/editions/tw5.com/tiddlers/filters/range.tid +22 -20
  962. package/editions/tw5.com/tiddlers/filters/reduce.tid +52 -0
  963. package/editions/tw5.com/tiddlers/filters/removeprefix.tid +2 -0
  964. package/editions/tw5.com/tiddlers/filters/removesuffix.tid +2 -0
  965. package/editions/tw5.com/tiddlers/filters/search-replace Operator.tid +28 -0
  966. package/editions/tw5.com/tiddlers/filters/sign Operator.tid +2 -2
  967. package/editions/tw5.com/tiddlers/filters/sin Operator.tid +13 -0
  968. package/editions/tw5.com/tiddlers/filters/slugify Operator.tid +24 -0
  969. package/editions/tw5.com/tiddlers/filters/sortsub Operator.tid +33 -0
  970. package/editions/tw5.com/tiddlers/filters/standard-deviation Operator.tid +15 -0
  971. package/editions/tw5.com/tiddlers/filters/storyviews.tid +1 -1
  972. package/editions/tw5.com/tiddlers/filters/stringify_Operator.tid +17 -9
  973. package/editions/tw5.com/tiddlers/filters/subfilter Operator.tid +6 -2
  974. package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix (Examples).tid +46 -0
  975. package/editions/tw5.com/tiddlers/filters/syntax/Cascade Filter Run Prefix.tid +20 -0
  976. package/editions/tw5.com/tiddlers/filters/syntax/Filter Expression.tid +34 -13
  977. package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix (Examples).tid +30 -0
  978. package/editions/tw5.com/tiddlers/filters/syntax/Filter Filter Run Prefix.tid +27 -0
  979. package/editions/tw5.com/tiddlers/filters/syntax/Filter Parameter.tid +7 -2
  980. package/editions/tw5.com/tiddlers/filters/syntax/Filter Run Prefix (Examples).tid +21 -0
  981. package/editions/tw5.com/tiddlers/filters/syntax/Filter Step.tid +4 -2
  982. package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix (Examples).tid +36 -0
  983. package/editions/tw5.com/tiddlers/filters/syntax/Intersection Filter Run Prefix.tid +15 -0
  984. package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix (Examples).tid +41 -0
  985. package/editions/tw5.com/tiddlers/filters/syntax/Map Filter Run Prefix.tid +27 -0
  986. package/editions/tw5.com/tiddlers/filters/syntax/Named Filter Run Prefix.tid +10 -0
  987. package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix (Examples).tid +27 -0
  988. package/editions/tw5.com/tiddlers/filters/syntax/Reduce Filter Run Prefix.tid +38 -0
  989. package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix (Examples).tid +33 -0
  990. package/editions/tw5.com/tiddlers/filters/syntax/Sort Filter Run Prefix.tid +32 -0
  991. package/editions/tw5.com/tiddlers/filters/tan Operator.tid +13 -0
  992. package/editions/tw5.com/tiddlers/filters/title.tid +1 -1
  993. package/editions/tw5.com/tiddlers/filters/toggle Operator.tid +26 -0
  994. package/editions/tw5.com/tiddlers/filters/trim Operator.tid +9 -4
  995. package/editions/tw5.com/tiddlers/filters/unique.tid +10 -0
  996. package/editions/tw5.com/tiddlers/filters/variance Operator.tid +15 -0
  997. package/editions/tw5.com/tiddlers/filters/zth Operator.tid +18 -0
  998. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Android.tid +2 -1
  999. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Chrome.tid +2 -1
  1000. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Firefox.tid +2 -1
  1001. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Internet Explorer.tid +2 -1
  1002. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Node.js.tid +2 -1
  1003. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Online.tid +2 -2
  1004. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - Safari.tid +2 -1
  1005. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted - iOS.tid +2 -1
  1006. package/editions/tw5.com/tiddlers/gettingstarted/GettingStarted.tid +2 -2
  1007. package/editions/tw5.com/tiddlers/hellothere/A Gentle Guide to TiddlyWiki.tid +5 -2
  1008. package/editions/tw5.com/tiddlers/{AllTiddlers.tid → hellothere/AllTiddlers.tid} +0 -0
  1009. package/editions/tw5.com/tiddlers/hellothere/HelloThere.tid +4 -2
  1010. package/editions/tw5.com/tiddlers/hellothere/HelloThumbnail.tid +1 -1
  1011. package/editions/tw5.com/tiddlers/hellothere/Some of the things you can do with TiddlyWiki.tid +2 -2
  1012. package/editions/tw5.com/tiddlers/hellothere/badges/ProductHunt-Badge.svg.tid +22 -0
  1013. package/editions/tw5.com/tiddlers/hellothere/badges/ProductHunt-Link.tid +4 -0
  1014. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - Grok TiddlyWiki.tid +6 -0
  1015. package/editions/tw5.com/tiddlers/hellothere/thumbnails/HelloThumbnail - TiddlyWikiLinks.tid +6 -0
  1016. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Default Tiddler Icon.tid +7 -0
  1017. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting HtmlParserDisableSandbox.tid +13 -0
  1018. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting NewImageType.tid +3 -1
  1019. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting Search-NavigateOnEnter.tid +6 -0
  1020. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting ShowEditPreviewPerTiddler.tid +10 -0
  1021. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Disable Drag and Drop.tid +19 -0
  1022. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Disable Lazy Loading.tid +9 -0
  1023. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Enable File Import in Editor_1.tid +12 -0
  1024. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Setting_ Typin Refresh Delay.tid +5 -3
  1025. package/editions/tw5.com/tiddlers/hiddensettings/Hidden Settings_ Import Content Types for Editor.tid +11 -0
  1026. package/editions/tw5.com/tiddlers/howtos/Adding_a_table_of_contents_to_the_sidebar.tid +2 -2
  1027. package/editions/tw5.com/tiddlers/howtos/Creating SubStories.tid +21 -33
  1028. package/editions/tw5.com/tiddlers/howtos/Debugging Stylesheets.tid +11 -0
  1029. package/editions/tw5.com/tiddlers/howtos/Formatting List Results as Tables with CSS - Specified Columns Methods.tid +4 -0
  1030. package/editions/tw5.com/tiddlers/howtos/Generating Static Sites with TiddlyWiki.tid +8 -6
  1031. package/editions/tw5.com/tiddlers/howtos/How to add a banner for GitHub contributions.tid +1 -1
  1032. package/editions/tw5.com/tiddlers/howtos/How to apply custom styles.tid +1 -1
  1033. package/editions/tw5.com/tiddlers/howtos/How to create a custom story tiddler template.tid +40 -0
  1034. package/editions/tw5.com/tiddlers/howtos/How to create a custom tiddler colour rule.tid +36 -0
  1035. package/editions/tw5.com/tiddlers/howtos/How to create a custom tiddler icon rule.tid +36 -0
  1036. package/editions/tw5.com/tiddlers/howtos/How to create dynamic editor toolbar buttons.tid +126 -0
  1037. package/editions/tw5.com/tiddlers/howtos/How to create keyboard shortcuts.tid +3 -3
  1038. package/editions/tw5.com/tiddlers/howtos/How to export tiddlers.tid +4 -4
  1039. package/editions/tw5.com/tiddlers/howtos/How to put the last modification date in a banner.tid +1 -1
  1040. package/editions/tw5.com/tiddlers/howtos/Insert link.tid +1 -1
  1041. package/editions/tw5.com/tiddlers/howtos/Insert picture.tid +1 -1
  1042. package/editions/tw5.com/tiddlers/howtos/KeyboardShortcuts.tid +9 -5
  1043. package/editions/tw5.com/tiddlers/howtos/More actions.tid +1 -1
  1044. package/editions/tw5.com/tiddlers/howtos/Setting a favicon.tid +4 -2
  1045. package/editions/tw5.com/tiddlers/howtos/Setting a page background image.tid +1 -1
  1046. package/editions/tw5.com/tiddlers/howtos/Simple ways to write protect tiddlers.tid +6 -7
  1047. package/editions/tw5.com/tiddlers/howtos/Tagging.tid +2 -2
  1048. package/editions/tw5.com/tiddlers/howtos/Text preview.tid +14 -2
  1049. package/editions/tw5.com/tiddlers/howtos/Upgrading.tid +1 -1
  1050. package/editions/tw5.com/tiddlers/howtos/Using Excise.tid +2 -2
  1051. package/editions/tw5.com/tiddlers/howtos/Using Stamp.tid +6 -7
  1052. package/editions/tw5.com/tiddlers/howtos/Using Stylesheets.tid +10 -4
  1053. package/editions/tw5.com/tiddlers/howtos/Windows HTA Hack.tid +3 -2
  1054. package/editions/tw5.com/tiddlers/images/Grok TiddlyWiki.png +0 -0
  1055. package/editions/tw5.com/tiddlers/images/Grok TiddlyWiki.png.meta +3 -0
  1056. package/editions/tw5.com/tiddlers/images/Icon Gallery.tid +14 -0
  1057. package/editions/tw5.com/tiddlers/images/New Release Banner.png +0 -0
  1058. package/editions/tw5.com/tiddlers/images/{New Release Banner.jpg.meta → New Release Banner.png.meta} +0 -0
  1059. package/editions/tw5.com/tiddlers/images/TiddlyWikiLinks.png +0 -0
  1060. package/editions/tw5.com/tiddlers/images/TiddlyWikiLinks.png.meta +3 -0
  1061. package/editions/tw5.com/tiddlers/languages/Japanese (Japan) Edition.tid +11 -0
  1062. package/editions/tw5.com/tiddlers/languages/LanguageGallery.tid +2 -2
  1063. package/editions/tw5.com/tiddlers/macros/ColourMacro.tid +2 -2
  1064. package/editions/tw5.com/tiddlers/macros/JsonTiddlersMacro.tid +3 -1
  1065. package/editions/tw5.com/tiddlers/macros/MakeDataUriMacro.tid +3 -1
  1066. package/editions/tw5.com/tiddlers/macros/NowMacro.tid +3 -1
  1067. package/editions/tw5.com/tiddlers/macros/TableOfContentsMacro.tid +3 -1
  1068. package/editions/tw5.com/tiddlers/macros/TabsMacro.tid +6 -2
  1069. package/editions/tw5.com/tiddlers/macros/UnusedTitleMacro.tid +28 -4
  1070. package/editions/tw5.com/tiddlers/macros/examples/colour-picker Macro (Example 1).tid +2 -2
  1071. package/editions/tw5.com/tiddlers/macros/examples/image-picker Macro (Example 1).tid +2 -2
  1072. package/editions/tw5.com/tiddlers/macros/examples/image-picker Macro (Example 2).tid +2 -2
  1073. package/editions/tw5.com/tiddlers/macros/examples/list-thumbnails Macro (Examples).tid +11 -0
  1074. package/editions/tw5.com/tiddlers/macros/examples/qualify.tid +0 -2
  1075. package/editions/tw5.com/tiddlers/macros/examples/unusedtitle Macro (Examples 1).tid +51 -0
  1076. package/editions/tw5.com/tiddlers/macros/examples/unusedtitle.tid +11 -2
  1077. package/editions/tw5.com/tiddlers/macros/keyboard-driven-input_Macro.tid +25 -0
  1078. package/editions/tw5.com/tiddlers/macros/list-thumbnails Macro.tid +19 -0
  1079. package/editions/tw5.com/tiddlers/macros/tag-picker_Macro.tid +2 -0
  1080. package/editions/tw5.com/tiddlers/mechanisms/AlertMechanism.tid +1 -1
  1081. package/editions/tw5.com/tiddlers/mechanisms/HistoryMechanism.tid +3 -3
  1082. package/editions/tw5.com/tiddlers/mechanisms/InfoMechanism.tid +3 -1
  1083. package/editions/tw5.com/tiddlers/mechanisms/PluginMechanism.tid +20 -10
  1084. package/editions/tw5.com/tiddlers/mechanisms/RefreshMechanism.tid +13 -0
  1085. package/editions/tw5.com/tiddlers/mechanisms/RefreshThrottling.tid +17 -0
  1086. package/editions/tw5.com/tiddlers/mechanisms/StateMechanism.tid +3 -3
  1087. package/editions/tw5.com/tiddlers/mechanisms/WikificationMechanism.tid +28 -0
  1088. package/editions/tw5.com/tiddlers/menubar/gettingstarted.tid +6 -0
  1089. package/editions/tw5.com/tiddlers/menubar/tagsMenuBar.tid +2 -0
  1090. package/editions/tw5.com/tiddlers/messages/SampleModal.tid +2 -1
  1091. package/editions/tw5.com/tiddlers/messages/SampleWindowTemplate.tid +10 -0
  1092. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-edit-text-operation.tid +27 -1
  1093. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-fold-all-tiddlers.tid +1 -1
  1094. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-fold-other-tiddlers.tid +3 -3
  1095. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-fold-tiddler.tid +13 -5
  1096. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-import-tiddlers.tid +2 -0
  1097. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-login.tid +2 -1
  1098. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-modal.tid +10 -3
  1099. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-navigate.tid +7 -1
  1100. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-open-external-window.tid +4 -4
  1101. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-open-window.tid +22 -4
  1102. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-rename-tiddler.tid +22 -0
  1103. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-scroll.tid +3 -4
  1104. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-unfold-all-tiddlers.tid +4 -4
  1105. package/editions/tw5.com/tiddlers/messages/WidgetMessage_ tm-unload-plugin-library.tid +18 -0
  1106. package/editions/tw5.com/tiddlers/nodejs/Customising Tiddler File Naming.tid +40 -9
  1107. package/editions/tw5.com/tiddlers/nodejs/Environment Variables on Node.js.tid +4 -2
  1108. package/editions/tw5.com/tiddlers/nodejs/Installing TiddlyWiki Prerelease on Node.js.tid +2 -2
  1109. package/editions/tw5.com/tiddlers/nodejs/Installing TiddlyWiki on Node.js.tid +12 -4
  1110. package/editions/tw5.com/tiddlers/nodejs/Installing custom plugins on Node.js.tid +27 -0
  1111. package/editions/tw5.com/tiddlers/nodejs/Serving TW5 from Android.tid +41 -7
  1112. package/editions/tw5.com/tiddlers/nodejs/TiddlyWiki on Node.js.tid +3 -9
  1113. package/editions/tw5.com/tiddlers/nodejs/Using TiddlyWiki on Node.js.tid +1 -1
  1114. package/editions/tw5.com/tiddlers/nodejs/tiddlywiki.files_Files.tid +43 -5
  1115. package/editions/tw5.com/tiddlers/nodejs/tiddlywiki.info_Files.tid +2 -2
  1116. package/editions/tw5.com/tiddlers/platforms/TiddlyFox Apocalypse.tid +2 -2
  1117. package/editions/tw5.com/tiddlers/platforms/TiddlyWiki in the Sky for TiddlyWeb.tid +3 -15
  1118. package/editions/tw5.com/tiddlers/plugins/Consent Banner Plugin.tid +14 -0
  1119. package/editions/tw5.com/tiddlers/plugins/Installing a plugin from the plugin library.tid +9 -6
  1120. package/editions/tw5.com/tiddlers/plugins/JSZip Plugin.tid +7 -0
  1121. package/editions/tw5.com/tiddlers/plugins/Manually installing a plugin.tid +4 -3
  1122. package/editions/tw5.com/tiddlers/plugins/Plugin Dependencies.tid +13 -0
  1123. package/editions/tw5.com/tiddlers/plugins/Plugin Types.tid +20 -0
  1124. package/editions/tw5.com/tiddlers/plugins/PluginFolders.tid +2 -1
  1125. package/editions/tw5.com/tiddlers/plugins/Plugin_Fields.tid +12 -12
  1126. package/editions/tw5.com/tiddlers/plugins/Share Plugin.tid +12 -0
  1127. package/editions/tw5.com/tiddlers/plugins/Uninstalling a plugin.tid +9 -7
  1128. package/editions/tw5.com/tiddlers/reference/Reference.tid +1 -0
  1129. package/editions/tw5.com/tiddlers/releasenotes/BetaReleases.tid +2 -2
  1130. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.22.tid +179 -0
  1131. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.23.tid +293 -0
  1132. package/editions/tw5.com/tiddlers/releasenotes/Release 5.1.8.tid +1 -1
  1133. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.0.tid +297 -0
  1134. package/editions/tw5.com/tiddlers/releasenotes/Release 5.2.1.tid +118 -0
  1135. package/editions/tw5.com/tiddlers/releasenotes/ReleaseTemplate.tid +3 -0
  1136. package/editions/tw5.com/tiddlers/releasenotes/alpha/AlphaReleases.tid +2 -2
  1137. package/editions/tw5.com/tiddlers/roadmap/RoadMap.tid +3 -10
  1138. package/editions/tw5.com/tiddlers/saving/Emergency Tiddler Export.tid +4 -4
  1139. package/editions/tw5.com/tiddlers/saving/Encryption.tid +3 -3
  1140. package/editions/tw5.com/tiddlers/saving/Example config-tiddlyweb-host for IIS.txt.meta +1 -1
  1141. package/editions/tw5.com/tiddlers/saving/Example package.json for IIS.txt.meta +1 -1
  1142. package/editions/tw5.com/tiddlers/saving/Example tiddlywiki.info for IIS.txt.meta +1 -1
  1143. package/editions/tw5.com/tiddlers/saving/Example web.config for IIS.txt.meta +1 -1
  1144. package/editions/tw5.com/tiddlers/saving/Installing TiddlyWiki on Microsoft Internet Information Server.tid +2 -1
  1145. package/editions/tw5.com/tiddlers/saving/Saving on Android.tid +22 -14
  1146. package/editions/tw5.com/tiddlers/saving/Saving on Beaker Browser.tid +2 -1
  1147. package/editions/tw5.com/tiddlers/saving/Saving on TiddlyDesktop.tid +4 -1
  1148. package/editions/tw5.com/tiddlers/saving/Saving on TiddlyHost.tid +17 -0
  1149. package/editions/tw5.com/tiddlers/saving/Saving on TiddlySpot.tid +24 -32
  1150. package/editions/tw5.com/tiddlers/saving/Saving on a PHP Server.tid +5 -3
  1151. package/editions/tw5.com/tiddlers/saving/Saving on iPad_iPhone.tid +15 -16
  1152. package/editions/tw5.com/tiddlers/saving/Saving to a Git service.tid +10 -9
  1153. package/editions/tw5.com/tiddlers/saving/Saving via WebDAV.tid +66 -12
  1154. package/editions/tw5.com/tiddlers/saving/Saving via minimal Ruby server.tid +4 -2
  1155. package/editions/tw5.com/tiddlers/saving/Saving with TW Receiver.tid +15 -0
  1156. package/editions/tw5.com/tiddlers/saving/Saving with TiddlyFox on Android.tid +2 -2
  1157. package/editions/tw5.com/tiddlers/saving/Saving with TiddlyFox.tid +5 -3
  1158. package/editions/tw5.com/tiddlers/saving/Saving with TiddlyIE.tid +6 -4
  1159. package/editions/tw5.com/tiddlers/saving/Saving with the HTML5 fallback saver.tid +5 -4
  1160. package/editions/tw5.com/tiddlers/saving/Saving.tid +55 -24
  1161. package/editions/tw5.com/tiddlers/saving/TiddlyWiki in the Sky for Dropbox.tid +4 -3
  1162. package/editions/tw5.com/tiddlers/styleguide/Documentation Macros.tid +6 -2
  1163. package/editions/tw5.com/tiddlers/styleguide/Spelling.tid +1 -1
  1164. package/editions/tw5.com/tiddlers/styleguide/Tiddler Structure.tid +3 -1
  1165. package/editions/tw5.com/tiddlers/system/Deprecated_-_What_does_it_mean.tid +2 -2
  1166. package/editions/tw5.com/tiddlers/{TableOfContents.tid → system/TableOfContents.tid} +0 -0
  1167. package/editions/tw5.com/tiddlers/system/doc-macros.tid +36 -0
  1168. package/editions/tw5.com/tiddlers/system/doc-styles.tid +53 -2
  1169. package/editions/tw5.com/tiddlers/system/download-empty-button.tid +4 -1
  1170. package/editions/tw5.com/tiddlers/system/operator-macros.tid +12 -5
  1171. package/editions/tw5.com/tiddlers/system/operator-template.tid +8 -8
  1172. package/editions/tw5.com/tiddlers/system/static.content.tid +2 -2
  1173. package/editions/tw5.com/tiddlers/system/tw5.com-card-template.tid +17 -0
  1174. package/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +128 -2
  1175. package/editions/tw5.com/tiddlers/system/version-macros.tid +2 -2
  1176. package/editions/tw5.com/tiddlers/system/wikitext-macros.tid +4 -0
  1177. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_ControlPanel_Plugins.tid +9 -0
  1178. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_EditorTools.tid +9 -0
  1179. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Image.tid +2 -2
  1180. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Layout.tid +9 -0
  1181. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Macro_View.tid +9 -0
  1182. package/editions/tw5.com/tiddlers/systemtags/SystemTag_ $__tags_Texteditor_Snippet.tid +4 -4
  1183. package/editions/tw5.com/tiddlers/variables/examples/Sample Headings 1-2-3.tid +2 -1
  1184. package/editions/tw5.com/tiddlers/variables/examples/Sample Headings 3-4-5.tid +2 -1
  1185. package/editions/tw5.com/tiddlers/variables/examples/Sample Headings 4-5-6.tid +2 -1
  1186. package/editions/tw5.com/tiddlers/variables/modifier Variable.tid +25 -3
  1187. package/editions/tw5.com/tiddlers/webserver/Using the external JavaScript template.tid +88 -7
  1188. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Delete Tiddler.tid +5 -1
  1189. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Get All Tiddlers.tid +15 -3
  1190. package/editions/tw5.com/tiddlers/webserver/WebServer API_ Put Tiddler.tid +5 -1
  1191. package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ path-prefix.tid +7 -2
  1192. package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ port.tid +2 -1
  1193. package/editions/tw5.com/tiddlers/webserver/WebServer Parameter_ tiddler-render-type.tid +2 -2
  1194. package/editions/tw5.com/tiddlers/widgets/$__docs_anyField.tid +8 -0
  1195. package/editions/tw5.com/tiddlers/widgets/ActionConfirmWidget.tid +40 -0
  1196. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 1.tid +26 -0
  1197. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 2.tid +28 -0
  1198. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 3.tid +28 -0
  1199. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Example 4.tid +28 -0
  1200. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget Template.tid +8 -0
  1201. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget.tid +39 -6
  1202. package/editions/tw5.com/tiddlers/widgets/ActionCreateTiddlerWidget_Example.tid +7 -5
  1203. package/editions/tw5.com/tiddlers/widgets/ActionListopsWidget.tid +53 -3
  1204. package/editions/tw5.com/tiddlers/widgets/ActionLogWidget.tid +50 -0
  1205. package/editions/tw5.com/tiddlers/widgets/ActionPopupWidget.tid +34 -0
  1206. package/editions/tw5.com/tiddlers/widgets/ActionSendMessageWidget.tid +3 -1
  1207. package/editions/tw5.com/tiddlers/widgets/ActionSetMultipleFieldsWidget.tid +31 -0
  1208. package/editions/tw5.com/tiddlers/widgets/ActionWidget Execution Modes.tid +49 -0
  1209. package/editions/tw5.com/tiddlers/widgets/ActionWidgets.tid +10 -7
  1210. package/editions/tw5.com/tiddlers/widgets/BrowseWidget.tid +4 -2
  1211. package/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +13 -11
  1212. package/editions/tw5.com/tiddlers/widgets/CheckboxWidget.tid +3 -2
  1213. package/editions/tw5.com/tiddlers/widgets/DraggableWidget.tid +3 -2
  1214. package/editions/tw5.com/tiddlers/widgets/DroppableWidget.tid +3 -2
  1215. package/editions/tw5.com/tiddlers/widgets/DropzoneWidget.tid +13 -4
  1216. package/editions/tw5.com/tiddlers/widgets/EditTextWidget.tid +13 -18
  1217. package/editions/tw5.com/tiddlers/widgets/EditWidget.tid +10 -4
  1218. package/editions/tw5.com/tiddlers/widgets/EventCatcherWidget.tid +93 -0
  1219. package/editions/tw5.com/tiddlers/widgets/FieldMangler Widget (Examples).tid +10 -0
  1220. package/editions/tw5.com/tiddlers/widgets/FieldManglerWidget.tid +3 -3
  1221. package/editions/tw5.com/tiddlers/widgets/FieldsWidget.tid +3 -0
  1222. package/editions/tw5.com/tiddlers/widgets/ImportVariablesWidget.tid +1 -1
  1223. package/editions/tw5.com/tiddlers/widgets/JSONTiddlerWidget.tid +22 -0
  1224. package/editions/tw5.com/tiddlers/widgets/Keyboard Codes.tid +27 -0
  1225. package/editions/tw5.com/tiddlers/widgets/KeyboardWidget.tid +26 -3
  1226. package/editions/tw5.com/tiddlers/widgets/LetWidget.tid +57 -0
  1227. package/editions/tw5.com/tiddlers/widgets/LinkCatcherWidget.tid +3 -3
  1228. package/editions/tw5.com/tiddlers/widgets/LinkWidget.tid +7 -2
  1229. package/editions/tw5.com/tiddlers/widgets/ListWidget.tid +34 -1
  1230. package/editions/tw5.com/tiddlers/widgets/ListopsData.tid +1 -0
  1231. package/editions/tw5.com/tiddlers/widgets/LogWidget.tid +45 -0
  1232. package/editions/tw5.com/tiddlers/widgets/MacroCallWidget.tid +21 -7
  1233. package/editions/tw5.com/tiddlers/widgets/MessageCatcherWidget.tid +46 -0
  1234. package/editions/tw5.com/tiddlers/widgets/MessageHandlerWidgets.tid +13 -0
  1235. package/editions/tw5.com/tiddlers/widgets/NavigatorWidget.tid +7 -5
  1236. package/editions/tw5.com/tiddlers/widgets/RadioWidget Example.tid +35 -0
  1237. package/editions/tw5.com/tiddlers/widgets/RadioWidget ExampleTemplate.tid +7 -0
  1238. package/editions/tw5.com/tiddlers/widgets/RadioWidget.tid +11 -6
  1239. package/editions/tw5.com/tiddlers/widgets/RangeWidget Example.tid +53 -0
  1240. package/editions/tw5.com/tiddlers/widgets/RangeWidget.tid +16 -9
  1241. package/editions/tw5.com/tiddlers/widgets/RevealWidget.tid +9 -8
  1242. package/editions/tw5.com/tiddlers/widgets/SelectWidget.tid +27 -3
  1243. package/editions/tw5.com/tiddlers/widgets/SetMultipleVariablesWidget.tid +33 -0
  1244. package/editions/tw5.com/tiddlers/widgets/SetWidget.tid +64 -35
  1245. package/editions/tw5.com/tiddlers/widgets/The Extended Listops Filters.tid +2 -1
  1246. package/editions/tw5.com/tiddlers/widgets/TriggeringWidgets.tid +13 -0
  1247. package/editions/tw5.com/tiddlers/widgets/VarsWidget.tid +7 -5
  1248. package/editions/tw5.com/tiddlers/widgets/ViewWidget.tid +7 -2
  1249. package/editions/tw5.com/tiddlers/wikitext/Anchor Links using HTML.tid +200 -0
  1250. package/editions/tw5.com/tiddlers/wikitext/Block Quotes in WikiText.tid +1 -1
  1251. package/editions/tw5.com/tiddlers/wikitext/Code Blocks in WikiText.tid +2 -2
  1252. package/editions/tw5.com/tiddlers/wikitext/Formatting in WikiText.tid +7 -7
  1253. package/editions/tw5.com/tiddlers/wikitext/HTML in WikiText.tid +27 -2
  1254. package/editions/tw5.com/tiddlers/wikitext/Images in WikiText.tid +17 -2
  1255. package/editions/tw5.com/tiddlers/wikitext/Linking in WikiText.tid +1 -1
  1256. package/editions/tw5.com/tiddlers/wikitext/Lists in WikiText.tid +2 -2
  1257. package/editions/tw5.com/tiddlers/wikitext/Transclusion and Substitution.tid +3 -2
  1258. package/editions/tw5.com/tiddlers/workingwithtw/Creating and editing tiddlers.tid +6 -6
  1259. package/editions/tw5.com/tiddlers/workingwithtw/Creating journal tiddlers.tid +3 -3
  1260. package/editions/tw5.com/tiddlers/workingwithtw/Navigating between open tiddlers.tid +1 -1
  1261. package/editions/tw5.com/tiddlers/workingwithtw/Performance.tid +11 -3
  1262. package/editions/tw5.com/tiddlers/workingwithtw/Sharing your tiddlers with others.tid +5 -4
  1263. package/editions/tw5.com/tiddlers/workingwithtw/Using links to navigate between tiddlers.tid +2 -2
  1264. package/editions/tw5.com/tiddlywiki.info +5 -3
  1265. package/editions/tw5.com-docs/tiddlywiki.info +2 -1
  1266. package/editions/tw5.com-server/tiddlywiki.info +2 -1
  1267. package/editions/tw5tank/tiddlywiki.info +3 -2
  1268. package/editions/xlsx-utils/tiddlers/samples/Presidents and Justices.xlsx and b/package/editions/xlsx-utils/tiddlers/samples/Presidents → Justices.xlsx +0 -0
  1269. package/editions/zh-Hans/tiddlywiki.info +2 -1
  1270. package/editions/zh-Hant/tiddlywiki.info +2 -1
  1271. package/languages/ar-PS/Buttons.multids +161 -0
  1272. package/languages/ar-PS/ControlPanel.multids +258 -0
  1273. package/languages/ar-PS/CoreReadMe.tid +8 -0
  1274. package/languages/ar-PS/Dates.multids +90 -0
  1275. package/languages/ar-PS/Docs/ModuleTypes.multids +2 -0
  1276. package/languages/ar-PS/Docs/PaletteColours.multids +2 -0
  1277. package/languages/ar-PS/EditTemplate.multids +27 -0
  1278. package/languages/ar-PS/Exporters.multids +5 -0
  1279. package/languages/ar-PS/Fields.multids +2 -0
  1280. package/languages/ar-PS/Filters.multids +2 -0
  1281. package/languages/ar-PS/GettingStarted.tid +17 -0
  1282. package/languages/ar-PS/Import.multids +17 -0
  1283. package/languages/ar-PS/Misc.multids +77 -0
  1284. package/languages/ar-PS/Modals/Download.tid +13 -0
  1285. package/languages/ar-PS/Modals/SaveInstructions.tid +22 -0
  1286. package/languages/ar-PS/NewJournal.multids +4 -0
  1287. package/languages/ar-PS/Notifications.multids +8 -0
  1288. package/languages/ar-PS/Search.multids +23 -0
  1289. package/languages/ar-PS/SideBar.multids +17 -0
  1290. package/languages/ar-PS/SiteSubtitle.tid +3 -0
  1291. package/languages/ar-PS/SiteTitle.tid +3 -0
  1292. package/languages/ar-PS/ThemeTweaks.multids +2 -0
  1293. package/languages/ar-PS/TiddlerInfo.multids +26 -0
  1294. package/languages/ar-PS/icon.tid +7 -0
  1295. package/languages/ar-PS/plugin.info +9 -0
  1296. package/languages/ca-ES/Buttons.multids +24 -24
  1297. package/languages/ca-ES/ControlPanel.multids +39 -24
  1298. package/languages/ca-ES/Dates.multids +43 -43
  1299. package/languages/ca-ES/Docs/ModuleTypes.multids +2 -2
  1300. package/languages/ca-ES/Docs/PaletteColours.multids +2 -0
  1301. package/languages/ca-ES/EditTemplate.multids +7 -1
  1302. package/languages/ca-ES/Fields.multids +13 -12
  1303. package/languages/ca-ES/Filters.multids +1 -1
  1304. package/languages/ca-ES/Help/notfound.tid +1 -1
  1305. package/languages/ca-ES/Import.multids +11 -0
  1306. package/languages/ca-ES/Misc.multids +23 -3
  1307. package/languages/ca-ES/Search.multids +1 -1
  1308. package/languages/ca-ES/SideBar.multids +1 -1
  1309. package/languages/ca-ES/Snippets/TableOfContents.tid +2 -2
  1310. package/languages/ca-ES/ThemeTweaks.multids +17 -17
  1311. package/languages/cs-CZ/Fields.multids +0 -1
  1312. package/languages/cs-CZ/Misc.multids +0 -1
  1313. package/languages/da-DK/Fields.multids +0 -1
  1314. package/languages/da-DK/Misc.multids +0 -1
  1315. package/languages/de-DE/ControlPanel.multids +49 -27
  1316. package/languages/de-DE/CoreReadMe.tid +1 -1
  1317. package/languages/de-DE/Docs/ModuleTypes.multids +2 -1
  1318. package/languages/de-DE/Docs/PaletteColours.multids +2 -0
  1319. package/languages/de-DE/EditTemplate.multids +9 -1
  1320. package/languages/de-DE/Fields.multids +2 -1
  1321. package/languages/de-DE/Help/help.tid +1 -1
  1322. package/languages/de-DE/Help/import.tid +1 -1
  1323. package/languages/de-DE/Help/listen.tid +3 -2
  1324. package/languages/de-DE/Help/render.tid +2 -1
  1325. package/languages/de-DE/Help/rendertiddlers.tid +2 -2
  1326. package/languages/de-DE/Help/{savewikifolder.tig → savewikifolder.tid} +0 -0
  1327. package/languages/de-DE/Import.multids +18 -7
  1328. package/languages/de-DE/Misc.multids +26 -4
  1329. package/languages/de-DE/NewJournal.multids +0 -1
  1330. package/languages/de-DE/NewJournalTags.tid +3 -0
  1331. package/languages/de-DE/Search.multids +1 -1
  1332. package/languages/de-DE/ThemeTweaks.multids +2 -2
  1333. package/languages/de-DE/TiddlerInfo.multids +1 -1
  1334. package/languages/el-GR/Fields.multids +0 -1
  1335. package/languages/el-GR/Misc.multids +1 -2
  1336. package/languages/es-ES/Buttons.multids +29 -6
  1337. package/languages/es-ES/ControlPanel.multids +97 -37
  1338. package/languages/es-ES/Dates.multids +11 -1
  1339. package/languages/es-ES/Docs/ModuleTypes.multids +8 -0
  1340. package/languages/es-ES/Docs/PaletteColours.multids +109 -0
  1341. package/languages/es-ES/EditTemplate.multids +18 -11
  1342. package/languages/es-ES/Exporters.multids +2 -2
  1343. package/languages/es-ES/Fields.multids +7 -5
  1344. package/languages/es-ES/Filters.multids +9 -7
  1345. package/languages/es-ES/GettingStarted.tid +1 -0
  1346. package/languages/es-ES/Help/deletetiddlers.tid +8 -0
  1347. package/languages/es-ES/Help/fetch.tid +38 -0
  1348. package/languages/es-ES/Help/import.tid +24 -0
  1349. package/languages/es-ES/Help/init.tid +1 -7
  1350. package/languages/es-ES/Help/listen.tid +35 -0
  1351. package/languages/es-ES/Help/load.tid +5 -2
  1352. package/languages/es-ES/Help/makelibrary.tid +1 -3
  1353. package/languages/es-ES/Help/password.tid +2 -1
  1354. package/languages/es-ES/Help/render.tid +35 -0
  1355. package/languages/es-ES/Help/rendertiddler.tid +14 -3
  1356. package/languages/es-ES/Help/rendertiddlers.tid +6 -6
  1357. package/languages/es-ES/Help/save.tid +25 -0
  1358. package/languages/es-ES/Help/savetiddler.tid +3 -2
  1359. package/languages/es-ES/Help/savetiddlers.tid +6 -3
  1360. package/languages/es-ES/Help/savewikifolder.tid +19 -0
  1361. package/languages/es-ES/Help/server.tid +12 -8
  1362. package/languages/es-ES/Import.multids +23 -4
  1363. package/languages/es-ES/Misc.multids +68 -22
  1364. package/languages/es-ES/NewJournalTags.tid +3 -0
  1365. package/languages/es-ES/Notifications.multids +3 -1
  1366. package/languages/es-ES/Search.multids +1 -0
  1367. package/languages/es-ES/SideBar.multids +1 -0
  1368. package/languages/es-ES/ThemeTweaks.multids +42 -0
  1369. package/languages/es-ES/TiddlerInfo.multids +2 -2
  1370. package/languages/es-ES/Types/{application%2Fjavascript.tid → application_javascript.tid} +1 -0
  1371. package/languages/es-ES/Types/{application%2Fjson.tid → application_json.tid} +1 -0
  1372. package/languages/es-ES/Types/{application%2Fx-tiddler-dictionary.tid → application_x_tiddler_dictionary.tid} +1 -0
  1373. package/languages/es-ES/Types/{image%2Fgif.tid → image_gif.tid} +1 -0
  1374. package/languages/es-ES/Types/{image%2Fjpeg.tid → image_jpeg.tid} +1 -0
  1375. package/languages/es-ES/Types/{image%2Fpng.tid → image_png.tid} +1 -0
  1376. package/languages/es-ES/Types/{image%2Fsvg%2Bxml.tid → image_svg_xml.tid} +1 -0
  1377. package/languages/es-ES/Types/{image%2Fx-icon.tid → image_x-icon.tid} +1 -0
  1378. package/languages/es-ES/Types/{text%2Fcss.tid → text_css.tid} +1 -0
  1379. package/languages/es-ES/Types/{text%2Fhtml.tid → text_html.tid} +1 -0
  1380. package/languages/es-ES/Types/{text%2Fplain.tid → text_plain.tid} +1 -0
  1381. package/languages/es-ES/Types/{text%2Fvnd.tiddlywiki.tid → text_vnd.tiddlywiki.tid} +1 -0
  1382. package/languages/es-ES/Types/{text%2Fx-tiddlywiki.tid → text_x-tiddlywiki.tid} +1 -0
  1383. package/languages/es-ES/plugin.info +3 -3
  1384. package/languages/fa-IR/Misc.multids +1 -2
  1385. package/languages/fr-FR/Buttons.multids +4 -0
  1386. package/languages/fr-FR/ControlPanel.multids +21 -2
  1387. package/languages/fr-FR/Docs/ModuleTypes.multids +2 -1
  1388. package/languages/fr-FR/Docs/PaletteColours.multids +2 -0
  1389. package/languages/fr-FR/EditTemplate.multids +8 -0
  1390. package/languages/fr-FR/Fields.multids +2 -1
  1391. package/languages/fr-FR/Filters.multids +3 -2
  1392. package/languages/fr-FR/Help/listen.tid +2 -0
  1393. package/languages/fr-FR/Help/render.tid +5 -4
  1394. package/languages/fr-FR/Help/rendertiddler.tid +2 -0
  1395. package/languages/fr-FR/Help/rendertiddlers.tid +4 -2
  1396. package/languages/fr-FR/Help/savetiddler.tid +2 -0
  1397. package/languages/fr-FR/Help/savetiddlers.tid +2 -0
  1398. package/languages/fr-FR/Import.multids +21 -10
  1399. package/languages/fr-FR/Misc.multids +25 -3
  1400. package/languages/fr-FR/NewJournalTags.tid +3 -0
  1401. package/languages/fr-FR/TiddlerInfo.multids +2 -2
  1402. package/languages/he-IL/Fields.multids +0 -1
  1403. package/languages/he-IL/Misc.multids +0 -1
  1404. package/languages/hi-IN/Fields.multids +0 -1
  1405. package/languages/hi-IN/Misc.multids +0 -1
  1406. package/languages/ia-IA/Fields.multids +0 -1
  1407. package/languages/ia-IA/Misc.multids +0 -1
  1408. package/languages/it-IT/Fields.multids +0 -1
  1409. package/languages/it-IT/Misc.multids +0 -1
  1410. package/languages/ja-JP/Fields.multids +0 -1
  1411. package/languages/ja-JP/Misc.multids +0 -1
  1412. package/languages/ko-KR/Fields.multids +0 -1
  1413. package/languages/ko-KR/Misc.multids +0 -1
  1414. package/languages/nl-NL/Buttons.multids +2 -0
  1415. package/languages/nl-NL/ControlPanel.multids +32 -0
  1416. package/languages/nl-NL/Docs/PaletteColours.multids +2 -0
  1417. package/languages/nl-NL/EditTemplate.multids +4 -0
  1418. package/languages/nl-NL/Fields.multids +4 -1
  1419. package/languages/nl-NL/Filters.multids +1 -0
  1420. package/languages/nl-NL/Help/deletetiddlers.tid +8 -0
  1421. package/languages/nl-NL/Help/savewikifolder.tid +19 -0
  1422. package/languages/nl-NL/Import.multids +8 -0
  1423. package/languages/nl-NL/Misc.multids +16 -3
  1424. package/languages/pa-IN/Fields.multids +0 -1
  1425. package/languages/pa-IN/Misc.multids +0 -1
  1426. package/languages/pl-PL/Buttons.multids +189 -0
  1427. package/languages/pl-PL/ControlPanel.multids +216 -0
  1428. package/languages/pl-PL/Dates.multids +88 -0
  1429. package/languages/pl-PL/Docs/ModuleTypes.multids +30 -0
  1430. package/languages/pl-PL/Docs/PaletteColours.multids +109 -0
  1431. package/languages/pl-PL/EditTemplate.multids +38 -0
  1432. package/languages/pl-PL/Exporters.multids +7 -0
  1433. package/languages/pl-PL/Fields.multids +39 -0
  1434. package/languages/pl-PL/Filters.multids +16 -0
  1435. package/languages/pl-PL/GettingStarted.tid +17 -0
  1436. package/languages/pl-PL/Help/build.tid +12 -0
  1437. package/languages/pl-PL/Help/clearpassword.tid +8 -0
  1438. package/languages/pl-PL/Help/default.tid +22 -0
  1439. package/languages/pl-PL/Help/deletetiddlers.tid +8 -0
  1440. package/languages/pl-PL/Help/editions.tid +8 -0
  1441. package/languages/pl-PL/Help/fetch.tid +40 -0
  1442. package/languages/pl-PL/Help/help.tid +10 -0
  1443. package/languages/pl-PL/Help/import.tid +24 -0
  1444. package/languages/pl-PL/Help/init.tid +23 -0
  1445. package/languages/pl-PL/Help/listen.tid +35 -0
  1446. package/languages/pl-PL/Help/load.tid +19 -0
  1447. package/languages/pl-PL/Help/makelibrary.tid +14 -0
  1448. package/languages/pl-PL/Help/notfound.tid +3 -0
  1449. package/languages/pl-PL/Help/output.tid +11 -0
  1450. package/languages/pl-PL/Help/password.tid +10 -0
  1451. package/languages/pl-PL/Help/render.tid +35 -0
  1452. package/languages/pl-PL/Help/rendertiddler.tid +24 -0
  1453. package/languages/pl-PL/Help/rendertiddlers.tid +20 -0
  1454. package/languages/pl-PL/Help/save.tid +25 -0
  1455. package/languages/pl-PL/Help/savetiddler.tid +14 -0
  1456. package/languages/pl-PL/Help/savetiddlers.tid +16 -0
  1457. package/languages/pl-PL/Help/savewikifolder.tid +19 -0
  1458. package/languages/pl-PL/Help/server.tid +42 -0
  1459. package/languages/pl-PL/Help/setfield.tid +17 -0
  1460. package/languages/pl-PL/Help/unpackplugin.tid +8 -0
  1461. package/languages/pl-PL/Help/verbose.tid +8 -0
  1462. package/languages/pl-PL/Help/version.tid +8 -0
  1463. package/languages/pl-PL/Import.multids +35 -0
  1464. package/languages/pl-PL/Misc.multids +95 -0
  1465. package/languages/pl-PL/Modals/Download.tid +12 -0
  1466. package/languages/pl-PL/Modals/SaveInstructions.tid +21 -0
  1467. package/languages/pl-PL/NewJournal.multids +4 -0
  1468. package/languages/pl-PL/NewJournalTags.tid +3 -0
  1469. package/languages/pl-PL/Notifications.multids +6 -0
  1470. package/languages/pl-PL/Search.multids +21 -0
  1471. package/languages/pl-PL/SideBar.multids +18 -0
  1472. package/languages/pl-PL/SiteSubtitle.tid +3 -0
  1473. package/languages/pl-PL/SiteTitle.tid +3 -0
  1474. package/languages/pl-PL/Snippets/ListByTag.tid +5 -0
  1475. package/languages/pl-PL/Snippets/MacroDefinition.tid +7 -0
  1476. package/languages/pl-PL/Snippets/Table 4x3.tid +8 -0
  1477. package/languages/pl-PL/Snippets/TableOfContents.tid +9 -0
  1478. package/languages/pl-PL/ThemeTweaks.multids +42 -0
  1479. package/languages/pl-PL/TiddlerInfo.multids +22 -0
  1480. package/languages/pl-PL/Types/application_javascript.tid +5 -0
  1481. package/languages/pl-PL/Types/application_json.tid +5 -0
  1482. package/languages/pl-PL/Types/application_x_tiddler_dictionary.tid +5 -0
  1483. package/languages/pl-PL/Types/image_gif.tid +5 -0
  1484. package/languages/pl-PL/Types/image_jpeg.tid +5 -0
  1485. package/languages/pl-PL/Types/image_png.tid +5 -0
  1486. package/languages/pl-PL/Types/image_svg_xml.tid +5 -0
  1487. package/languages/pl-PL/Types/image_x-icon.tid +5 -0
  1488. package/languages/pl-PL/Types/text_css.tid +5 -0
  1489. package/languages/pl-PL/Types/text_html.tid +5 -0
  1490. package/languages/pl-PL/Types/text_plain.tid +5 -0
  1491. package/languages/pl-PL/Types/text_vnd.tiddlywiki.tid +5 -0
  1492. package/languages/pl-PL/Types/text_x-tiddlywiki.tid +5 -0
  1493. package/languages/pl-PL/icon.tid +7 -0
  1494. package/languages/pl-PL/plugin.info +8 -0
  1495. package/languages/pl-PL/readme.md +1 -0
  1496. package/languages/pt-BR/Fields.multids +0 -1
  1497. package/languages/pt-BR/Misc.multids +0 -1
  1498. package/languages/pt-PT/Buttons.multids +17 -6
  1499. package/languages/pt-PT/ControlPanel.multids +43 -4
  1500. package/languages/pt-PT/Dates.multids +33 -31
  1501. package/languages/pt-PT/Docs/ModuleTypes.multids +4 -1
  1502. package/languages/pt-PT/Docs/PaletteColours.multids +8 -6
  1503. package/languages/pt-PT/EditTemplate.multids +6 -1
  1504. package/languages/pt-PT/Fields.multids +3 -1
  1505. package/languages/pt-PT/Filters.multids +2 -0
  1506. package/languages/pt-PT/GettingStarted.tid +1 -1
  1507. package/languages/pt-PT/Help/build.tid +2 -3
  1508. package/languages/pt-PT/Help/clearpassword.tid +1 -1
  1509. package/languages/pt-PT/Help/default.tid +1 -1
  1510. package/languages/pt-PT/Help/deletetiddlers.tid +8 -0
  1511. package/languages/pt-PT/Help/editions.tid +1 -1
  1512. package/languages/pt-PT/Help/fetch.tid +38 -0
  1513. package/languages/pt-PT/Help/help.tid +1 -1
  1514. package/languages/pt-PT/Help/import.tid +24 -0
  1515. package/languages/pt-PT/Help/init.tid +1 -1
  1516. package/languages/pt-PT/Help/listen.tid +34 -0
  1517. package/languages/pt-PT/Help/load.tid +1 -1
  1518. package/languages/pt-PT/Help/makelibrary.tid +1 -1
  1519. package/languages/pt-PT/Help/output.tid +1 -2
  1520. package/languages/pt-PT/Help/password.tid +1 -2
  1521. package/languages/pt-PT/Help/render.tid +34 -0
  1522. package/languages/pt-PT/Help/rendertiddlers.tid +1 -1
  1523. package/languages/pt-PT/Help/save.tid +25 -0
  1524. package/languages/pt-PT/Help/savetiddler.tid +1 -1
  1525. package/languages/pt-PT/Help/savetiddlers.tid +1 -1
  1526. package/languages/pt-PT/Help/savewikifolder.tid +19 -0
  1527. package/languages/pt-PT/Help/server.tid +1 -1
  1528. package/languages/pt-PT/Help/setfield.tid +1 -1
  1529. package/languages/pt-PT/Help/unpackplugin.tid +2 -2
  1530. package/languages/pt-PT/Help/verbose.tid +1 -1
  1531. package/languages/pt-PT/Help/version.tid +1 -1
  1532. package/languages/pt-PT/Import.multids +8 -0
  1533. package/languages/pt-PT/Misc.multids +8 -4
  1534. package/languages/pt-PT/NewJournal.multids +1 -0
  1535. package/languages/pt-PT/Notifications.multids +2 -0
  1536. package/languages/pt-PT/Search.multids +7 -7
  1537. package/languages/pt-PT/SideBar.multids +1 -0
  1538. package/languages/pt-PT/SiteSubtitle.tid +1 -1
  1539. package/languages/pt-PT/SiteTitle.tid +1 -1
  1540. package/languages/pt-PT/ThemeTweaks.multids +2 -1
  1541. package/languages/ru-RU/Docs/Fields.multids +0 -1
  1542. package/languages/ru-RU/Misc.multids +0 -1
  1543. package/languages/sk-SK/Fields.multids +0 -1
  1544. package/languages/sk-SK/Misc.multids +0 -1
  1545. package/languages/sl-SI/Fields.multids +0 -1
  1546. package/languages/sl-SI/Misc.multids +1 -2
  1547. package/languages/sv-SE/Fields.multids +0 -1
  1548. package/languages/sv-SE/Misc.multids +0 -1
  1549. package/languages/zh-Hans/Buttons.multids +1 -1
  1550. package/languages/zh-Hans/ControlPanel.multids +45 -13
  1551. package/languages/zh-Hans/Docs/ModuleTypes.multids +2 -1
  1552. package/languages/zh-Hans/Docs/PaletteColours.multids +2 -0
  1553. package/languages/zh-Hans/EditTemplate.multids +6 -0
  1554. package/languages/zh-Hans/Fields.multids +2 -1
  1555. package/languages/zh-Hans/Help/listen.tid +4 -2
  1556. package/languages/zh-Hans/Help/render.tid +2 -2
  1557. package/languages/zh-Hans/Help/rendertiddlers.tid +2 -2
  1558. package/languages/zh-Hans/Help/save.tid +1 -1
  1559. package/languages/zh-Hans/Import.multids +18 -7
  1560. package/languages/zh-Hans/Misc.multids +28 -6
  1561. package/languages/zh-Hans/NewJournal.multids +0 -1
  1562. package/languages/zh-Hans/NewJournalTags.tid +3 -0
  1563. package/languages/zh-Hans/TiddlerInfo.multids +1 -1
  1564. package/languages/zh-Hant/Buttons.multids +1 -1
  1565. package/languages/zh-Hant/ControlPanel.multids +47 -15
  1566. package/languages/zh-Hant/Docs/ModuleTypes.multids +2 -1
  1567. package/languages/zh-Hant/Docs/PaletteColours.multids +2 -0
  1568. package/languages/zh-Hant/EditTemplate.multids +6 -0
  1569. package/languages/zh-Hant/Fields.multids +2 -1
  1570. package/languages/zh-Hant/Help/listen.tid +5 -3
  1571. package/languages/zh-Hant/Help/render.tid +2 -2
  1572. package/languages/zh-Hant/Help/rendertiddlers.tid +2 -2
  1573. package/languages/zh-Hant/Help/save.tid +1 -1
  1574. package/languages/zh-Hant/Import.multids +18 -7
  1575. package/languages/zh-Hant/Misc.multids +25 -3
  1576. package/languages/zh-Hant/NewJournal.multids +0 -1
  1577. package/languages/zh-Hant/NewJournalTags.tid +3 -0
  1578. package/languages/zh-Hant/TiddlerInfo.multids +1 -1
  1579. package/license +1 -1
  1580. package/licenses/cla-individual.md +102 -0
  1581. package/package.json +4 -2
  1582. package/plugins/tiddlywiki/async/plugin.info +3 -3
  1583. package/plugins/tiddlywiki/aws/docs/help.tid +2 -2
  1584. package/plugins/tiddlywiki/aws/docs/readme.tid +1 -0
  1585. package/plugins/tiddlywiki/aws/modules/encodings.js +27 -0
  1586. package/plugins/tiddlywiki/aws/plugin.info +4 -4
  1587. package/plugins/tiddlywiki/bibtex/deserializer.js +3 -2
  1588. package/plugins/tiddlywiki/bibtex/files/LICENSE +0 -0
  1589. package/plugins/tiddlywiki/bibtex/files/README.md +0 -0
  1590. package/plugins/tiddlywiki/bibtex/files/bibtexParse.js +42 -26
  1591. package/plugins/tiddlywiki/bibtex/plugin.info +2 -2
  1592. package/plugins/tiddlywiki/blog/plugin.info +2 -3
  1593. package/plugins/tiddlywiki/browser-sniff/plugin.info +2 -3
  1594. package/plugins/tiddlywiki/browser-storage/config/SaveFilter.tid +1 -1
  1595. package/plugins/tiddlywiki/browser-storage/plugin.info +2 -3
  1596. package/plugins/tiddlywiki/browser-storage/settings.tid +1 -1
  1597. package/plugins/tiddlywiki/browser-storage/startup.js +1 -1
  1598. package/plugins/tiddlywiki/cecily/plugin.info +1 -2
  1599. package/plugins/tiddlywiki/classictools/plugin.info +2 -3
  1600. package/plugins/tiddlywiki/codemirror/config/theme.tid +1 -1
  1601. package/plugins/tiddlywiki/codemirror/config-language.multids +8 -1
  1602. package/plugins/tiddlywiki/codemirror/engine.js +101 -6
  1603. package/plugins/tiddlywiki/codemirror/files/addon/dialog/dialog.js +1 -1
  1604. package/plugins/tiddlywiki/codemirror/files/addon/selection/activeline.js +1 -1
  1605. package/plugins/tiddlywiki/codemirror/files/codemirror.css +1 -1
  1606. package/plugins/tiddlywiki/codemirror/files/codemirror.js +1 -1
  1607. package/plugins/tiddlywiki/codemirror/plugin.info +2 -2
  1608. package/plugins/tiddlywiki/codemirror/readme.tid +2 -13
  1609. package/plugins/tiddlywiki/codemirror/settings/cursorBlinkRate.tid +7 -0
  1610. package/plugins/tiddlywiki/codemirror/settings/indentUnit.tid +7 -0
  1611. package/plugins/tiddlywiki/codemirror/settings/indentWithTabs.tid +8 -0
  1612. package/plugins/tiddlywiki/codemirror/settings/smartIndent.tid +8 -0
  1613. package/plugins/tiddlywiki/codemirror/settings/tabSize.tid +7 -0
  1614. package/plugins/tiddlywiki/codemirror/styles.tid +84 -1
  1615. package/plugins/tiddlywiki/codemirror/ui/controlpanel/settings.tid +1 -1
  1616. package/plugins/tiddlywiki/codemirror-autocomplete/files/addon/hint/anyword-hint.js +2 -2
  1617. package/plugins/tiddlywiki/codemirror-autocomplete/files/addon/hint/css-hint.js +2 -2
  1618. package/plugins/tiddlywiki/codemirror-autocomplete/files/addon/hint/html-hint.js +2 -2
  1619. package/plugins/tiddlywiki/codemirror-autocomplete/files/addon/hint/javascript-hint.js +2 -2
  1620. package/plugins/tiddlywiki/codemirror-autocomplete/files/addon/hint/show-hint.js +2 -2
  1621. package/plugins/tiddlywiki/codemirror-autocomplete/files/addon/hint/xml-hint.js +2 -2
  1622. package/plugins/tiddlywiki/codemirror-autocomplete/plugin.info +4 -2
  1623. package/plugins/tiddlywiki/codemirror-closebrackets/files/addon/edit/closebrackets.js +2 -2
  1624. package/plugins/tiddlywiki/codemirror-closebrackets/files/addon/edit/matchbrackets.js +2 -2
  1625. package/plugins/tiddlywiki/codemirror-closebrackets/plugin.info +3 -2
  1626. package/plugins/tiddlywiki/codemirror-closetag/files/addon/edit/closetag.js +2 -2
  1627. package/plugins/tiddlywiki/codemirror-closetag/files/addon/fold/xml-fold.js +2 -2
  1628. package/plugins/tiddlywiki/codemirror-closetag/plugin.info +3 -2
  1629. package/plugins/tiddlywiki/codemirror-fullscreen-editing/files/addon/fullscreen/fullscreen.js +2 -2
  1630. package/plugins/tiddlywiki/codemirror-fullscreen-editing/plugin.info +3 -2
  1631. package/plugins/tiddlywiki/codemirror-keymap-emacs/files/keymap/emacs.js +2 -2
  1632. package/plugins/tiddlywiki/codemirror-keymap-emacs/plugin.info +3 -2
  1633. package/plugins/tiddlywiki/codemirror-keymap-sublime-text/files/addons/comment/comment.js +3 -0
  1634. package/plugins/tiddlywiki/codemirror-keymap-sublime-text/files/keymap/sublime.js +2 -2
  1635. package/plugins/tiddlywiki/codemirror-keymap-sublime-text/files/tiddlywiki.files +7 -0
  1636. package/plugins/tiddlywiki/codemirror-keymap-sublime-text/plugin.info +4 -2
  1637. package/plugins/tiddlywiki/codemirror-keymap-vim/files/keymap/vim.js +2 -2
  1638. package/plugins/tiddlywiki/codemirror-keymap-vim/plugin.info +4 -2
  1639. package/plugins/tiddlywiki/codemirror-mode-css/files/mode/css/css.js +2 -2
  1640. package/plugins/tiddlywiki/codemirror-mode-css/plugin.info +3 -2
  1641. package/plugins/tiddlywiki/codemirror-mode-htmlembedded/files/addon/mode/multiplex.js +2 -2
  1642. package/plugins/tiddlywiki/codemirror-mode-htmlembedded/files/mode/htmlembedded/htmlembedded.js +2 -2
  1643. package/plugins/tiddlywiki/codemirror-mode-htmlembedded/plugin.info +4 -2
  1644. package/plugins/tiddlywiki/codemirror-mode-htmlmixed/files/mode/htmlmixed/htmlmixed.js +2 -2
  1645. package/plugins/tiddlywiki/codemirror-mode-htmlmixed/plugin.info +4 -2
  1646. package/plugins/tiddlywiki/codemirror-mode-javascript/files/mode/javascript/javascript.js +2 -2
  1647. package/plugins/tiddlywiki/codemirror-mode-javascript/plugin.info +3 -2
  1648. package/plugins/tiddlywiki/codemirror-mode-markdown/files/mode/markdown/markdown.js +2 -2
  1649. package/plugins/tiddlywiki/codemirror-mode-markdown/plugin.info +4 -2
  1650. package/plugins/tiddlywiki/codemirror-mode-x-tiddlywiki/plugin.info +3 -2
  1651. package/plugins/tiddlywiki/codemirror-mode-xml/files/mode/xml/xml.js +2 -2
  1652. package/plugins/tiddlywiki/codemirror-mode-xml/plugin.info +3 -2
  1653. package/plugins/tiddlywiki/codemirror-search-replace/files/addon/search/jump-to-line.js +2 -2
  1654. package/plugins/tiddlywiki/codemirror-search-replace/files/addon/search/search.js +2 -2
  1655. package/plugins/tiddlywiki/codemirror-search-replace/files/addon/search/searchcursor.js +2 -2
  1656. package/plugins/tiddlywiki/codemirror-search-replace/plugin.info +3 -2
  1657. package/plugins/tiddlywiki/comments/header-view-template-segment.tid +26 -2
  1658. package/plugins/tiddlywiki/comments/plugin.info +2 -3
  1659. package/plugins/tiddlywiki/consent-banner/banner.tid +28 -0
  1660. package/plugins/tiddlywiki/consent-banner/blocked-embed-message-wrapper.tid +13 -0
  1661. package/plugins/tiddlywiki/consent-banner/buttons/accept.tid +6 -0
  1662. package/plugins/tiddlywiki/consent-banner/buttons/decline.tid +6 -0
  1663. package/plugins/tiddlywiki/consent-banner/config/DefaultColourMappings.multids +15 -0
  1664. package/plugins/tiddlywiki/consent-banner/config/block-embedded-content.tid +2 -0
  1665. package/plugins/tiddlywiki/consent-banner/config/blocked-embed-message.tid +7 -0
  1666. package/plugins/tiddlywiki/consent-banner/config/blocked-raw-message.tid +19 -0
  1667. package/plugins/tiddlywiki/consent-banner/config/buttons.multids +8 -0
  1668. package/plugins/tiddlywiki/consent-banner/config/cookie-consent-required.tid +2 -0
  1669. package/plugins/tiddlywiki/consent-banner/config/greeting-message.tid +19 -0
  1670. package/plugins/tiddlywiki/consent-banner/config/tv-block-embedded-content.tid +4 -0
  1671. package/plugins/tiddlywiki/consent-banner/config.tid +48 -0
  1672. package/plugins/tiddlywiki/consent-banner/docs.tid +64 -0
  1673. package/plugins/tiddlywiki/consent-banner/plugin.info +6 -0
  1674. package/plugins/tiddlywiki/consent-banner/raw-widget.js +69 -0
  1675. package/plugins/tiddlywiki/consent-banner/readme.tid +10 -0
  1676. package/plugins/tiddlywiki/consent-banner/startup.js +107 -0
  1677. package/plugins/tiddlywiki/consent-banner/styles.tid +111 -0
  1678. package/plugins/tiddlywiki/consent-banner/youtube-macros.tid +21 -0
  1679. package/plugins/tiddlywiki/d3/plugin.info +2 -3
  1680. package/plugins/tiddlywiki/dynannotate/docs/readme.tid +108 -0
  1681. package/plugins/tiddlywiki/dynannotate/examples/combined.tid +111 -0
  1682. package/plugins/tiddlywiki/dynannotate/examples/example-annotation-1.tid +5 -0
  1683. package/plugins/tiddlywiki/dynannotate/examples/example-annotation-2.tid +5 -0
  1684. package/plugins/tiddlywiki/dynannotate/examples/example-annotation-3.tid +5 -0
  1685. package/plugins/tiddlywiki/dynannotate/examples/example-annotation-4.json +10 -0
  1686. package/plugins/tiddlywiki/dynannotate/examples/example-text.multids +19 -0
  1687. package/plugins/tiddlywiki/dynannotate/examples/examples.tid +4 -0
  1688. package/plugins/tiddlywiki/dynannotate/examples/simple.tid +100 -0
  1689. package/plugins/tiddlywiki/dynannotate/examples/snippets.tid +56 -0
  1690. package/plugins/tiddlywiki/dynannotate/examples/viewtemplate-text.tid +98 -0
  1691. package/plugins/tiddlywiki/dynannotate/examples/viewtemplate.tid +29 -0
  1692. package/plugins/tiddlywiki/dynannotate/modules/dynannotate.js +418 -0
  1693. package/plugins/tiddlywiki/dynannotate/modules/selection-tracker.js +116 -0
  1694. package/plugins/tiddlywiki/dynannotate/modules/textmap.js +177 -0
  1695. package/plugins/tiddlywiki/dynannotate/plugin.info +9 -0
  1696. package/plugins/tiddlywiki/dynannotate/styles.tid +44 -0
  1697. package/plugins/tiddlywiki/dynaview/examples/reveal-on-scroll.tid +4 -4
  1698. package/plugins/tiddlywiki/dynaview/examples/zoomable-tooltips.tid +1 -1
  1699. package/plugins/tiddlywiki/dynaview/macros.tid +4 -4
  1700. package/plugins/tiddlywiki/dynaview/plugin.info +1 -2
  1701. package/plugins/tiddlywiki/evernote/plugin.info +1 -2
  1702. package/plugins/tiddlywiki/external-attachments/plugin.info +2 -3
  1703. package/plugins/tiddlywiki/external-attachments/startup.js +15 -12
  1704. package/plugins/tiddlywiki/filesystem/filesystemadaptor.js +68 -34
  1705. package/plugins/tiddlywiki/filesystem/plugin.info +2 -3
  1706. package/plugins/tiddlywiki/freelinks/config-Freelinks-Enable.tid +2 -0
  1707. package/plugins/tiddlywiki/freelinks/macros-view.tid +8 -0
  1708. package/plugins/tiddlywiki/freelinks/plain-text.js +62 -0
  1709. package/plugins/tiddlywiki/freelinks/plugin.info +6 -0
  1710. package/plugins/tiddlywiki/freelinks/readme.tid +42 -0
  1711. package/plugins/tiddlywiki/freelinks/settings.tid +7 -0
  1712. package/plugins/tiddlywiki/freelinks/styles.tid +8 -0
  1713. package/plugins/tiddlywiki/freelinks/text.js +168 -0
  1714. package/plugins/tiddlywiki/github-fork-ribbon/plugin.info +3 -2
  1715. package/plugins/tiddlywiki/github-fork-ribbon/usage.tid +2 -0
  1716. package/plugins/tiddlywiki/googleanalytics/googleanalytics.js +37 -13
  1717. package/plugins/tiddlywiki/googleanalytics/plugin.info +2 -3
  1718. package/plugins/tiddlywiki/googleanalytics/readme.tid +2 -0
  1719. package/plugins/tiddlywiki/hammerjs/plugin.info +3 -3
  1720. package/plugins/tiddlywiki/help/help.tid +10 -8
  1721. package/plugins/tiddlywiki/help/plugin.info +2 -3
  1722. package/plugins/tiddlywiki/highlight/files/highlight.pack.js +2 -2
  1723. package/plugins/tiddlywiki/highlight/plugin.info +3 -3
  1724. package/plugins/tiddlywiki/highlight/readme.tid +11 -1
  1725. package/plugins/tiddlywiki/highlight/styles.tid +79 -1
  1726. package/plugins/tiddlywiki/innerwiki/innerwiki.js +2 -1
  1727. package/plugins/tiddlywiki/innerwiki/plugin.info +2 -3
  1728. package/plugins/tiddlywiki/innerwiki/template.tid +0 -4
  1729. package/plugins/tiddlywiki/internals/plugin.info +1 -2
  1730. package/plugins/tiddlywiki/jasmine/files/jasmine/MIT.LICENSE +20 -0
  1731. package/plugins/tiddlywiki/jasmine/files/jasmine/lib/command.js +283 -0
  1732. package/plugins/tiddlywiki/jasmine/files/jasmine/lib/filters/console_spec_filter.js +10 -0
  1733. package/plugins/tiddlywiki/jasmine/files/jasmine/lib/jasmine.js +263 -0
  1734. package/plugins/tiddlywiki/jasmine/files/jasmine/lib/reporters/completion_reporter.js +29 -0
  1735. package/plugins/tiddlywiki/jasmine/files/jasmine/lib/reporters/console_reporter.js +232 -0
  1736. package/plugins/tiddlywiki/jasmine/files/{MIT.LICENSE → jasmine-core/MIT.LICENSE} +1 -1
  1737. package/plugins/tiddlywiki/jasmine/files/jasmine-core/lib/jasmine-core/boot.js +158 -0
  1738. package/plugins/tiddlywiki/jasmine/files/jasmine-core/lib/jasmine-core/jasmine-html.js +620 -0
  1739. package/plugins/tiddlywiki/jasmine/files/jasmine-core/lib/jasmine-core/jasmine.css +128 -0
  1740. package/plugins/tiddlywiki/jasmine/files/jasmine-core/lib/jasmine-core/jasmine.js +7033 -0
  1741. package/plugins/tiddlywiki/jasmine/files/jasmine-core/lib/jasmine-core/json2.js +489 -0
  1742. package/plugins/tiddlywiki/jasmine/files/jasmine-core/lib/jasmine-core/node_boot.js +38 -0
  1743. package/plugins/tiddlywiki/jasmine/files/jasmine-core/lib/jasmine-core.js +37 -0
  1744. package/plugins/tiddlywiki/jasmine/files/tiddlywiki.files +41 -18
  1745. package/plugins/tiddlywiki/jasmine/jasmine-plugin.js +119 -57
  1746. package/plugins/tiddlywiki/jasmine/plugin.info +2 -3
  1747. package/plugins/tiddlywiki/jasmine/readme.tid +1 -1
  1748. package/plugins/tiddlywiki/jasmine/update-packages.sh +30 -0
  1749. package/plugins/tiddlywiki/jszip/docs.tid +43 -0
  1750. package/plugins/tiddlywiki/jszip/examples.tid +36 -0
  1751. package/plugins/tiddlywiki/jszip/plugin.info +4 -4
  1752. package/plugins/tiddlywiki/jszip/readme.tid +1 -1
  1753. package/plugins/tiddlywiki/jszip/startup.js +104 -0
  1754. package/plugins/tiddlywiki/katex/config.tid +17 -0
  1755. package/plugins/tiddlywiki/katex/files/README.md +79 -100
  1756. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.ttf +0 -0
  1757. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff +0 -0
  1758. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  1759. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  1760. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  1761. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  1762. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  1763. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  1764. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  1765. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  1766. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  1767. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  1768. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  1769. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  1770. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  1771. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.ttf +0 -0
  1772. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff +0 -0
  1773. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Bold.woff2 +0 -0
  1774. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  1775. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  1776. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  1777. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.ttf +0 -0
  1778. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff +0 -0
  1779. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Italic.woff2 +0 -0
  1780. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.ttf +0 -0
  1781. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff +0 -0
  1782. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Main-Regular.woff2 +0 -0
  1783. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  1784. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  1785. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  1786. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.ttf +0 -0
  1787. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff +0 -0
  1788. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Math-Italic.woff2 +0 -0
  1789. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  1790. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  1791. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  1792. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  1793. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  1794. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  1795. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  1796. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  1797. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  1798. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.ttf +0 -0
  1799. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff +0 -0
  1800. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Script-Regular.woff2 +0 -0
  1801. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.ttf +0 -0
  1802. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff +0 -0
  1803. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  1804. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.ttf +0 -0
  1805. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff +0 -0
  1806. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  1807. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.ttf +0 -0
  1808. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff +0 -0
  1809. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  1810. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.ttf +0 -0
  1811. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff +0 -0
  1812. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  1813. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  1814. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  1815. package/plugins/tiddlywiki/katex/files/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  1816. package/plugins/tiddlywiki/katex/files/katex.css +1079 -0
  1817. package/plugins/tiddlywiki/katex/files/katex.js +4917 -3543
  1818. package/plugins/tiddlywiki/katex/files/katex.min.css +1 -1
  1819. package/plugins/tiddlywiki/katex/files/katex.min.js +1 -1
  1820. package/plugins/tiddlywiki/katex/files/katex.without-font-face.min.css +1 -1
  1821. package/plugins/tiddlywiki/katex/files/mhchem.min.js +1 -1683
  1822. package/plugins/tiddlywiki/katex/files/tiddlywiki.files +3 -1
  1823. package/plugins/tiddlywiki/katex/plugin.info +4 -5
  1824. package/plugins/tiddlywiki/katex/readme.tid +1 -1
  1825. package/plugins/tiddlywiki/katex/styles.tid +7 -1
  1826. package/plugins/tiddlywiki/katex/ui/config/macro.tid +137 -0
  1827. package/plugins/tiddlywiki/katex/wrapper.js +19 -13
  1828. package/plugins/tiddlywiki/markdown/config_breaks.tid +3 -0
  1829. package/plugins/tiddlywiki/markdown/config_linkNewWindow.tid +3 -0
  1830. package/plugins/tiddlywiki/markdown/config_linkify.tid +3 -0
  1831. package/plugins/tiddlywiki/markdown/config_quotes.tid +3 -0
  1832. package/plugins/tiddlywiki/markdown/config_renderWikiText.tid +3 -0
  1833. package/plugins/tiddlywiki/markdown/config_renderWikiTextPragma.tid +3 -0
  1834. package/plugins/tiddlywiki/markdown/config_typographer.tid +3 -0
  1835. package/plugins/tiddlywiki/markdown/files/remarkable-katex-license.txt +21 -0
  1836. package/plugins/tiddlywiki/markdown/files/remarkable-katex.js +137 -0
  1837. package/plugins/tiddlywiki/markdown/files/remarkable-katex.min.js +20 -0
  1838. package/plugins/tiddlywiki/markdown/files/remarkable-license.txt +22 -0
  1839. package/plugins/tiddlywiki/markdown/files/remarkable.js +1 -0
  1840. package/plugins/tiddlywiki/markdown/files/tiddlywiki.files +26 -2
  1841. package/plugins/tiddlywiki/markdown/new-markdown.tid +3 -2
  1842. package/plugins/tiddlywiki/markdown/plugin.info +3 -4
  1843. package/plugins/tiddlywiki/markdown/readme.tid +1 -1
  1844. package/plugins/tiddlywiki/markdown/usage.tid +15 -9
  1845. package/plugins/tiddlywiki/markdown/wrapper.js +297 -57
  1846. package/plugins/tiddlywiki/menubar/config-DefaultColourMappings.multids +4 -0
  1847. package/plugins/tiddlywiki/menubar/config-MenuItemsVisibility.multids +5 -0
  1848. package/plugins/tiddlywiki/menubar/config-TableOfContentsTag.tid +2 -0
  1849. package/plugins/tiddlywiki/menubar/config-breakpoint.tid +2 -0
  1850. package/plugins/tiddlywiki/menubar/config.tid +37 -0
  1851. package/plugins/tiddlywiki/menubar/items/contents.tid +11 -0
  1852. package/plugins/tiddlywiki/menubar/items/hamburger.tid +17 -0
  1853. package/plugins/tiddlywiki/menubar/items/pagecontrols.tid +19 -0
  1854. package/plugins/tiddlywiki/menubar/items/search.tid +56 -0
  1855. package/plugins/tiddlywiki/menubar/items/server.tid +14 -0
  1856. package/plugins/tiddlywiki/menubar/items/sidebar.tid +11 -0
  1857. package/plugins/tiddlywiki/menubar/items/topleftbar.tid +11 -0
  1858. package/plugins/tiddlywiki/menubar/items/toprightbar.tid +12 -0
  1859. package/plugins/tiddlywiki/menubar/menu.tid +68 -0
  1860. package/plugins/tiddlywiki/menubar/overrides/core-ui-PageTemplate-topleftbar.tid +3 -0
  1861. package/plugins/tiddlywiki/menubar/overrides/core-ui-PageTemplate-toprightbar.tid +3 -0
  1862. package/plugins/tiddlywiki/menubar/plugin.info +6 -0
  1863. package/plugins/tiddlywiki/menubar/readme.tid +30 -0
  1864. package/plugins/tiddlywiki/menubar/styles.tid +222 -0
  1865. package/plugins/tiddlywiki/menubar/tags-MenuBar.tid +2 -0
  1866. package/plugins/tiddlywiki/mobiledragdrop/plugin.info +2 -2
  1867. package/plugins/tiddlywiki/nodewebkitsaver/plugin.info +2 -3
  1868. package/plugins/tiddlywiki/pluginlibrary/plugin.info +1 -2
  1869. package/plugins/tiddlywiki/powered-by-tiddlywiki/plugin.info +2 -3
  1870. package/plugins/tiddlywiki/qrcode/ViewToolbarButton/Button.tid +3 -4
  1871. package/plugins/tiddlywiki/qrcode/plugin.info +2 -2
  1872. package/plugins/tiddlywiki/railroad/files/railroad-diagrams.css +10 -4
  1873. package/plugins/tiddlywiki/railroad/files/tiddlywiki.files +1 -1
  1874. package/plugins/tiddlywiki/railroad/plugin.info +2 -2
  1875. package/plugins/tiddlywiki/railroad/wrapper.js +1 -1
  1876. package/plugins/tiddlywiki/savetrail/plugin.info +2 -3
  1877. package/plugins/tiddlywiki/savetrail/savetrail.js +4 -4
  1878. package/plugins/tiddlywiki/sax/plugin.info +2 -2
  1879. package/plugins/tiddlywiki/share/DefaultTiddlers.tid +3 -0
  1880. package/plugins/tiddlywiki/share/SiteSubtitle.tid +3 -0
  1881. package/plugins/tiddlywiki/share/SiteTitle.tid +3 -0
  1882. package/plugins/tiddlywiki/share/above-story.tid +4 -0
  1883. package/plugins/tiddlywiki/share/base-url.tid +2 -0
  1884. package/plugins/tiddlywiki/share/exclusions.tid +2 -0
  1885. package/plugins/tiddlywiki/share/filter.tid +2 -0
  1886. package/plugins/tiddlywiki/share/plugin.info +6 -0
  1887. package/plugins/tiddlywiki/share/pluginreloadwarning.tid +3 -0
  1888. package/plugins/tiddlywiki/share/rawmarkup.js +114 -0
  1889. package/plugins/tiddlywiki/share/rawmarkup.tid +8 -0
  1890. package/plugins/tiddlywiki/share/readme.tid +9 -0
  1891. package/plugins/tiddlywiki/share/settings.tid +7 -0
  1892. package/plugins/tiddlywiki/share/startup-warning.css +87 -0
  1893. package/plugins/tiddlywiki/share/startup-warning.css.meta +2 -0
  1894. package/plugins/tiddlywiki/share/startup-warning.html +47 -0
  1895. package/plugins/tiddlywiki/share/startup-warning.html.meta +2 -0
  1896. package/plugins/tiddlywiki/share/styles.tid +17 -0
  1897. package/plugins/tiddlywiki/share/wizard.tid +71 -0
  1898. package/plugins/tiddlywiki/stacked-view/plugin.info +1 -2
  1899. package/plugins/tiddlywiki/tahoelafs/plugin.info +1 -2
  1900. package/plugins/tiddlywiki/text-slicer/plugin.info +3 -3
  1901. package/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler.tid +2 -2
  1902. package/plugins/tiddlywiki/text-slicer/templates/plain/tiddler.tid +10 -10
  1903. package/plugins/tiddlywiki/text-slicer/templates/static/tiddler.tid +10 -10
  1904. package/plugins/tiddlywiki/text-slicer/ui/slice-toolbar-button.tid +6 -4
  1905. package/plugins/tiddlywiki/tiddlyweb/config-tiddlers-filter.tid +2 -0
  1906. package/plugins/tiddlywiki/tiddlyweb/configOfficialPluginLibrary.tid +7 -0
  1907. package/plugins/tiddlywiki/tiddlyweb/css-tiddler.tid +7 -0
  1908. package/plugins/tiddlywiki/tiddlyweb/html-div-skinny-tiddler.tid +9 -0
  1909. package/plugins/tiddlywiki/tiddlyweb/html-div-tiddler.tid +1 -1
  1910. package/plugins/tiddlywiki/tiddlyweb/html-json-skinny-tiddler.tid +4 -0
  1911. package/plugins/tiddlywiki/tiddlyweb/html-json-tiddler.tid +4 -0
  1912. package/plugins/tiddlywiki/tiddlyweb/icon-cloud.tid +4 -0
  1913. package/plugins/tiddlywiki/tiddlyweb/javascript-tiddler.tid +7 -0
  1914. package/plugins/tiddlywiki/tiddlyweb/plugin.info +4 -4
  1915. package/plugins/tiddlywiki/tiddlyweb/save-offline.tid +2 -1
  1916. package/plugins/tiddlywiki/tiddlyweb/save-wiki-button.tid +26 -0
  1917. package/plugins/tiddlywiki/tiddlyweb/styles.tid +44 -0
  1918. package/plugins/tiddlywiki/tiddlyweb/syncer-actions-copy-logs.tid +6 -0
  1919. package/plugins/tiddlywiki/tiddlyweb/syncer-actions-login-status.tid +9 -0
  1920. package/plugins/tiddlywiki/tiddlyweb/syncer-actions-login.tid +8 -0
  1921. package/plugins/tiddlywiki/tiddlyweb/syncer-actions-logout.tid +8 -0
  1922. package/plugins/tiddlywiki/tiddlyweb/syncer-actions-refresh.tid +9 -0
  1923. package/plugins/tiddlywiki/tiddlyweb/syncer-actions-save-snapshot.tid +9 -0
  1924. package/plugins/tiddlywiki/tiddlyweb/tags-syncerdropdown.tid +2 -0
  1925. package/plugins/tiddlywiki/tiddlyweb/tiddlywebadaptor.js +41 -14
  1926. package/plugins/tiddlywiki/translators/plugin.info +1 -2
  1927. package/plugins/tiddlywiki/tw2parser/plugin.info +2 -2
  1928. package/plugins/tiddlywiki/tw2parser/wikitextparser.js +1 -1
  1929. package/plugins/tiddlywiki/tw5.com-docs/plugin.info +1 -2
  1930. package/plugins/tiddlywiki/twitter/plugin.info +2 -3
  1931. package/plugins/tiddlywiki/twitter/startup.js +27 -0
  1932. package/plugins/tiddlywiki/upgrade/config.js +1 -0
  1933. package/plugins/tiddlywiki/upgrade/plugin.info +1 -2
  1934. package/plugins/tiddlywiki/xlsx-utils/deserializer.js +2 -1
  1935. package/plugins/tiddlywiki/xlsx-utils/importer.js +6 -5
  1936. package/plugins/tiddlywiki/xlsx-utils/plugin.info +3 -3
  1937. package/plugins/tiddlywiki/xlsx-utils/xlsx-import-command.js +3 -2
  1938. package/plugins/tiddlywiki/xmldom/plugin.info +2 -3
  1939. package/readme.md +4 -16
  1940. package/themes/tiddlywiki/snowwhite/base.tid +5 -1
  1941. package/themes/tiddlywiki/starlight/styles.tid +6 -6
  1942. package/themes/tiddlywiki/tight/base.tid +9 -5
  1943. package/themes/tiddlywiki/vanilla/ThemeTweaks.tid +7 -3
  1944. package/themes/tiddlywiki/vanilla/base.tid +580 -121
  1945. package/themes/tiddlywiki/vanilla/reset.tid +169 -294
  1946. package/themes/tiddlywiki/vanilla/settings.multids +1 -1
  1947. package/.travis.yml +0 -34
  1948. package/bin/travis-push.sh +0 -20
  1949. package/core/ui/ViewTemplate/plugin.tid +0 -12
  1950. package/editions/codemirrordemo/tiddlers/cm-theme-tiddlywiki.tid +0 -56
  1951. package/editions/de-AT/tiddlers/bilder/New_Release_Banner.png.tid +0 -6
  1952. package/editions/prerelease/tiddlers/Release 5.1.22.tid +0 -14
  1953. package/editions/tw5.com/tiddlers/community/Resources.tid +0 -25
  1954. package/editions/tw5.com/tiddlers/community/examples/Obadiah.tid +0 -10
  1955. package/editions/tw5.com/tiddlers/community/resources/Hosting TiddlyWiki5 on GoogleDrive.tid +0 -13
  1956. package/editions/tw5.com/tiddlers/community/resources/How Does Twederation Work by Jed Carty.tid +0 -14
  1957. package/editions/tw5.com/tiddlers/community/resources/Plugins by Uwe Stuehler.tid +0 -13
  1958. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki Jingle by Mans Martensson.tid +0 -18
  1959. package/editions/tw5.com/tiddlers/community/resources/TiddlyWiki5 Coding.tid +0 -18
  1960. package/editions/tw5.com/tiddlers/customising/Page and tiddler layout customisation.tid +0 -60
  1961. package/editions/tw5.com/tiddlers/demonstrations/SampleAlert.tid +0 -9
  1962. package/editions/tw5.com/tiddlers/images/New Release Banner.jpg +0 -0
  1963. package/plugins/tiddlywiki/dynaview/examples/unreveal-on-scroll.tid +0 -28
  1964. package/plugins/tiddlywiki/jasmine/files/jasmine-html.js +0 -681
  1965. package/plugins/tiddlywiki/jasmine/files/jasmine.css +0 -82
  1966. package/plugins/tiddlywiki/jasmine/files/jasmine.js +0 -2600
  1967. package/plugins/tiddlywiki/jasmine/files/reporter.js +0 -276
  1968. package/plugins/tiddlywiki/markdown/dialect.tid +0 -3
  1969. package/plugins/tiddlywiki/markdown/files/markdown.js +0 -1725
  1970. package/plugins/tiddlywiki/tiddlyweb/ServerControlPanel.tid +0 -20
@@ -1,2600 +0,0 @@
1
- var isCommonJS = typeof window == "undefined" && typeof exports == "object";
2
-
3
- /**
4
- * Top level namespace for Jasmine, a lightweight JavaScript BDD/spec/testing framework.
5
- *
6
- * @namespace
7
- */
8
- var jasmine = {};
9
- if (isCommonJS) exports.jasmine = jasmine;
10
- /**
11
- * @private
12
- */
13
- jasmine.unimplementedMethod_ = function() {
14
- throw new Error("unimplemented method");
15
- };
16
-
17
- /**
18
- * Use <code>jasmine.undefined</code> instead of <code>undefined</code>, since <code>undefined</code> is just
19
- * a plain old variable and may be redefined by somebody else.
20
- *
21
- * @private
22
- */
23
- jasmine.undefined = jasmine.___undefined___;
24
-
25
- /**
26
- * Show diagnostic messages in the console if set to true
27
- *
28
- */
29
- jasmine.VERBOSE = false;
30
-
31
- /**
32
- * Default interval in milliseconds for event loop yields (e.g. to allow network activity or to refresh the screen with the HTML-based runner). Small values here may result in slow test running. Zero means no updates until all tests have completed.
33
- *
34
- */
35
- jasmine.DEFAULT_UPDATE_INTERVAL = 250;
36
-
37
- /**
38
- * Maximum levels of nesting that will be included when an object is pretty-printed
39
- */
40
- jasmine.MAX_PRETTY_PRINT_DEPTH = 40;
41
-
42
- /**
43
- * Default timeout interval in milliseconds for waitsFor() blocks.
44
- */
45
- jasmine.DEFAULT_TIMEOUT_INTERVAL = 5000;
46
-
47
- /**
48
- * By default exceptions thrown in the context of a test are caught by jasmine so that it can run the remaining tests in the suite.
49
- * Set to false to let the exception bubble up in the browser.
50
- *
51
- */
52
- jasmine.CATCH_EXCEPTIONS = true;
53
-
54
- jasmine.getGlobal = function() {
55
- function getGlobal() {
56
- return this;
57
- }
58
-
59
- return getGlobal();
60
- };
61
-
62
- /**
63
- * Allows for bound functions to be compared. Internal use only.
64
- *
65
- * @ignore
66
- * @private
67
- * @param base {Object} bound 'this' for the function
68
- * @param name {Function} function to find
69
- */
70
- jasmine.bindOriginal_ = function(base, name) {
71
- var original = base[name];
72
- if (original.apply) {
73
- return function() {
74
- return original.apply(base, arguments);
75
- };
76
- } else {
77
- // IE support
78
- return jasmine.getGlobal()[name];
79
- }
80
- };
81
-
82
- jasmine.setTimeout = jasmine.bindOriginal_(jasmine.getGlobal(), 'setTimeout');
83
- jasmine.clearTimeout = jasmine.bindOriginal_(jasmine.getGlobal(), 'clearTimeout');
84
- jasmine.setInterval = jasmine.bindOriginal_(jasmine.getGlobal(), 'setInterval');
85
- jasmine.clearInterval = jasmine.bindOriginal_(jasmine.getGlobal(), 'clearInterval');
86
-
87
- jasmine.MessageResult = function(values) {
88
- this.type = 'log';
89
- this.values = values;
90
- this.trace = new Error(); // todo: test better
91
- };
92
-
93
- jasmine.MessageResult.prototype.toString = function() {
94
- var text = "";
95
- for (var i = 0; i < this.values.length; i++) {
96
- if (i > 0) text += " ";
97
- if (jasmine.isString_(this.values[i])) {
98
- text += this.values[i];
99
- } else {
100
- text += jasmine.pp(this.values[i]);
101
- }
102
- }
103
- return text;
104
- };
105
-
106
- jasmine.ExpectationResult = function(params) {
107
- this.type = 'expect';
108
- this.matcherName = params.matcherName;
109
- this.passed_ = params.passed;
110
- this.expected = params.expected;
111
- this.actual = params.actual;
112
- this.message = this.passed_ ? 'Passed.' : params.message;
113
-
114
- var trace = (params.trace || new Error(this.message));
115
- this.trace = this.passed_ ? '' : trace;
116
- };
117
-
118
- jasmine.ExpectationResult.prototype.toString = function () {
119
- return this.message;
120
- };
121
-
122
- jasmine.ExpectationResult.prototype.passed = function () {
123
- return this.passed_;
124
- };
125
-
126
- /**
127
- * Getter for the Jasmine environment. Ensures one gets created
128
- */
129
- jasmine.getEnv = function() {
130
- var env = jasmine.currentEnv_ = jasmine.currentEnv_ || new jasmine.Env();
131
- return env;
132
- };
133
-
134
- /**
135
- * @ignore
136
- * @private
137
- * @param value
138
- * @returns {Boolean}
139
- */
140
- jasmine.isArray_ = function(value) {
141
- return jasmine.isA_("Array", value);
142
- };
143
-
144
- /**
145
- * @ignore
146
- * @private
147
- * @param value
148
- * @returns {Boolean}
149
- */
150
- jasmine.isString_ = function(value) {
151
- return jasmine.isA_("String", value);
152
- };
153
-
154
- /**
155
- * @ignore
156
- * @private
157
- * @param value
158
- * @returns {Boolean}
159
- */
160
- jasmine.isNumber_ = function(value) {
161
- return jasmine.isA_("Number", value);
162
- };
163
-
164
- /**
165
- * @ignore
166
- * @private
167
- * @param {String} typeName
168
- * @param value
169
- * @returns {Boolean}
170
- */
171
- jasmine.isA_ = function(typeName, value) {
172
- return Object.prototype.toString.apply(value) === '[object ' + typeName + ']';
173
- };
174
-
175
- /**
176
- * Pretty printer for expecations. Takes any object and turns it into a human-readable string.
177
- *
178
- * @param value {Object} an object to be outputted
179
- * @returns {String}
180
- */
181
- jasmine.pp = function(value) {
182
- var stringPrettyPrinter = new jasmine.StringPrettyPrinter();
183
- stringPrettyPrinter.format(value);
184
- return stringPrettyPrinter.string;
185
- };
186
-
187
- /**
188
- * Returns true if the object is a DOM Node.
189
- *
190
- * @param {Object} obj object to check
191
- * @returns {Boolean}
192
- */
193
- jasmine.isDomNode = function(obj) {
194
- return obj.nodeType > 0;
195
- };
196
-
197
- /**
198
- * Returns a matchable 'generic' object of the class type. For use in expecations of type when values don't matter.
199
- *
200
- * @example
201
- * // don't care about which function is passed in, as long as it's a function
202
- * expect(mySpy).toHaveBeenCalledWith(jasmine.any(Function));
203
- *
204
- * @param {Class} clazz
205
- * @returns matchable object of the type clazz
206
- */
207
- jasmine.any = function(clazz) {
208
- return new jasmine.Matchers.Any(clazz);
209
- };
210
-
211
- /**
212
- * Returns a matchable subset of a JSON object. For use in expectations when you don't care about all of the
213
- * attributes on the object.
214
- *
215
- * @example
216
- * // don't care about any other attributes than foo.
217
- * expect(mySpy).toHaveBeenCalledWith(jasmine.objectContaining({foo: "bar"});
218
- *
219
- * @param sample {Object} sample
220
- * @returns matchable object for the sample
221
- */
222
- jasmine.objectContaining = function (sample) {
223
- return new jasmine.Matchers.ObjectContaining(sample);
224
- };
225
-
226
- /**
227
- * Jasmine Spies are test doubles that can act as stubs, spies, fakes or when used in an expecation, mocks.
228
- *
229
- * Spies should be created in test setup, before expectations. They can then be checked, using the standard Jasmine
230
- * expectation syntax. Spies can be checked if they were called or not and what the calling params were.
231
- *
232
- * A Spy has the following fields: wasCalled, callCount, mostRecentCall, and argsForCall (see docs).
233
- *
234
- * Spies are torn down at the end of every spec.
235
- *
236
- * Note: Do <b>not</b> call new jasmine.Spy() directly - a spy must be created using spyOn, jasmine.createSpy or jasmine.createSpyObj.
237
- *
238
- * @example
239
- * // a stub
240
- * var myStub = jasmine.createSpy('myStub'); // can be used anywhere
241
- *
242
- * // spy example
243
- * var foo = {
244
- * not: function(bool) { return !bool; }
245
- * }
246
- *
247
- * // actual foo.not will not be called, execution stops
248
- * spyOn(foo, 'not');
249
-
250
- // foo.not spied upon, execution will continue to implementation
251
- * spyOn(foo, 'not').andCallThrough();
252
- *
253
- * // fake example
254
- * var foo = {
255
- * not: function(bool) { return !bool; }
256
- * }
257
- *
258
- * // foo.not(val) will return val
259
- * spyOn(foo, 'not').andCallFake(function(value) {return value;});
260
- *
261
- * // mock example
262
- * foo.not(7 == 7);
263
- * expect(foo.not).toHaveBeenCalled();
264
- * expect(foo.not).toHaveBeenCalledWith(true);
265
- *
266
- * @constructor
267
- * @see spyOn, jasmine.createSpy, jasmine.createSpyObj
268
- * @param {String} name
269
- */
270
- jasmine.Spy = function(name) {
271
- /**
272
- * The name of the spy, if provided.
273
- */
274
- this.identity = name || 'unknown';
275
- /**
276
- * Is this Object a spy?
277
- */
278
- this.isSpy = true;
279
- /**
280
- * The actual function this spy stubs.
281
- */
282
- this.plan = function() {
283
- };
284
- /**
285
- * Tracking of the most recent call to the spy.
286
- * @example
287
- * var mySpy = jasmine.createSpy('foo');
288
- * mySpy(1, 2);
289
- * mySpy.mostRecentCall.args = [1, 2];
290
- */
291
- this.mostRecentCall = {};
292
-
293
- /**
294
- * Holds arguments for each call to the spy, indexed by call count
295
- * @example
296
- * var mySpy = jasmine.createSpy('foo');
297
- * mySpy(1, 2);
298
- * mySpy(7, 8);
299
- * mySpy.mostRecentCall.args = [7, 8];
300
- * mySpy.argsForCall[0] = [1, 2];
301
- * mySpy.argsForCall[1] = [7, 8];
302
- */
303
- this.argsForCall = [];
304
- this.calls = [];
305
- };
306
-
307
- /**
308
- * Tells a spy to call through to the actual implemenatation.
309
- *
310
- * @example
311
- * var foo = {
312
- * bar: function() { // do some stuff }
313
- * }
314
- *
315
- * // defining a spy on an existing property: foo.bar
316
- * spyOn(foo, 'bar').andCallThrough();
317
- */
318
- jasmine.Spy.prototype.andCallThrough = function() {
319
- this.plan = this.originalValue;
320
- return this;
321
- };
322
-
323
- /**
324
- * For setting the return value of a spy.
325
- *
326
- * @example
327
- * // defining a spy from scratch: foo() returns 'baz'
328
- * var foo = jasmine.createSpy('spy on foo').andReturn('baz');
329
- *
330
- * // defining a spy on an existing property: foo.bar() returns 'baz'
331
- * spyOn(foo, 'bar').andReturn('baz');
332
- *
333
- * @param {Object} value
334
- */
335
- jasmine.Spy.prototype.andReturn = function(value) {
336
- this.plan = function() {
337
- return value;
338
- };
339
- return this;
340
- };
341
-
342
- /**
343
- * For throwing an exception when a spy is called.
344
- *
345
- * @example
346
- * // defining a spy from scratch: foo() throws an exception w/ message 'ouch'
347
- * var foo = jasmine.createSpy('spy on foo').andThrow('baz');
348
- *
349
- * // defining a spy on an existing property: foo.bar() throws an exception w/ message 'ouch'
350
- * spyOn(foo, 'bar').andThrow('baz');
351
- *
352
- * @param {String} exceptionMsg
353
- */
354
- jasmine.Spy.prototype.andThrow = function(exceptionMsg) {
355
- this.plan = function() {
356
- throw exceptionMsg;
357
- };
358
- return this;
359
- };
360
-
361
- /**
362
- * Calls an alternate implementation when a spy is called.
363
- *
364
- * @example
365
- * var baz = function() {
366
- * // do some stuff, return something
367
- * }
368
- * // defining a spy from scratch: foo() calls the function baz
369
- * var foo = jasmine.createSpy('spy on foo').andCall(baz);
370
- *
371
- * // defining a spy on an existing property: foo.bar() calls an anonymnous function
372
- * spyOn(foo, 'bar').andCall(function() { return 'baz';} );
373
- *
374
- * @param {Function} fakeFunc
375
- */
376
- jasmine.Spy.prototype.andCallFake = function(fakeFunc) {
377
- this.plan = fakeFunc;
378
- return this;
379
- };
380
-
381
- /**
382
- * Resets all of a spy's the tracking variables so that it can be used again.
383
- *
384
- * @example
385
- * spyOn(foo, 'bar');
386
- *
387
- * foo.bar();
388
- *
389
- * expect(foo.bar.callCount).toEqual(1);
390
- *
391
- * foo.bar.reset();
392
- *
393
- * expect(foo.bar.callCount).toEqual(0);
394
- */
395
- jasmine.Spy.prototype.reset = function() {
396
- this.wasCalled = false;
397
- this.callCount = 0;
398
- this.argsForCall = [];
399
- this.calls = [];
400
- this.mostRecentCall = {};
401
- };
402
-
403
- jasmine.createSpy = function(name) {
404
-
405
- var spyObj = function() {
406
- spyObj.wasCalled = true;
407
- spyObj.callCount++;
408
- var args = jasmine.util.argsToArray(arguments);
409
- spyObj.mostRecentCall.object = this;
410
- spyObj.mostRecentCall.args = args;
411
- spyObj.argsForCall.push(args);
412
- spyObj.calls.push({object: this, args: args});
413
- return spyObj.plan.apply(this, arguments);
414
- };
415
-
416
- var spy = new jasmine.Spy(name);
417
-
418
- for (var prop in spy) {
419
- spyObj[prop] = spy[prop];
420
- }
421
-
422
- spyObj.reset();
423
-
424
- return spyObj;
425
- };
426
-
427
- /**
428
- * Determines whether an object is a spy.
429
- *
430
- * @param {jasmine.Spy|Object} putativeSpy
431
- * @returns {Boolean}
432
- */
433
- jasmine.isSpy = function(putativeSpy) {
434
- return putativeSpy && putativeSpy.isSpy;
435
- };
436
-
437
- /**
438
- * Creates a more complicated spy: an Object that has every property a function that is a spy. Used for stubbing something
439
- * large in one call.
440
- *
441
- * @param {String} baseName name of spy class
442
- * @param {Array} methodNames array of names of methods to make spies
443
- */
444
- jasmine.createSpyObj = function(baseName, methodNames) {
445
- if (!jasmine.isArray_(methodNames) || methodNames.length === 0) {
446
- throw new Error('createSpyObj requires a non-empty array of method names to create spies for');
447
- }
448
- var obj = {};
449
- for (var i = 0; i < methodNames.length; i++) {
450
- obj[methodNames[i]] = jasmine.createSpy(baseName + '.' + methodNames[i]);
451
- }
452
- return obj;
453
- };
454
-
455
- /**
456
- * All parameters are pretty-printed and concatenated together, then written to the current spec's output.
457
- *
458
- * Be careful not to leave calls to <code>jasmine.log</code> in production code.
459
- */
460
- jasmine.log = function() {
461
- var spec = jasmine.getEnv().currentSpec;
462
- spec.log.apply(spec, arguments);
463
- };
464
-
465
- /**
466
- * Function that installs a spy on an existing object's method name. Used within a Spec to create a spy.
467
- *
468
- * @example
469
- * // spy example
470
- * var foo = {
471
- * not: function(bool) { return !bool; }
472
- * }
473
- * spyOn(foo, 'not'); // actual foo.not will not be called, execution stops
474
- *
475
- * @see jasmine.createSpy
476
- * @param obj
477
- * @param methodName
478
- * @return {jasmine.Spy} a Jasmine spy that can be chained with all spy methods
479
- */
480
- var spyOn = function(obj, methodName) {
481
- return jasmine.getEnv().currentSpec.spyOn(obj, methodName);
482
- };
483
- if (isCommonJS) exports.spyOn = spyOn;
484
-
485
- /**
486
- * Creates a Jasmine spec that will be added to the current suite.
487
- *
488
- * // TODO: pending tests
489
- *
490
- * @example
491
- * it('should be true', function() {
492
- * expect(true).toEqual(true);
493
- * });
494
- *
495
- * @param {String} desc description of this specification
496
- * @param {Function} func defines the preconditions and expectations of the spec
497
- */
498
- var it = function(desc, func) {
499
- return jasmine.getEnv().it(desc, func);
500
- };
501
- if (isCommonJS) exports.it = it;
502
-
503
- /**
504
- * Creates a <em>disabled</em> Jasmine spec.
505
- *
506
- * A convenience method that allows existing specs to be disabled temporarily during development.
507
- *
508
- * @param {String} desc description of this specification
509
- * @param {Function} func defines the preconditions and expectations of the spec
510
- */
511
- var xit = function(desc, func) {
512
- return jasmine.getEnv().xit(desc, func);
513
- };
514
- if (isCommonJS) exports.xit = xit;
515
-
516
- /**
517
- * Starts a chain for a Jasmine expectation.
518
- *
519
- * It is passed an Object that is the actual value and should chain to one of the many
520
- * jasmine.Matchers functions.
521
- *
522
- * @param {Object} actual Actual value to test against and expected value
523
- * @return {jasmine.Matchers}
524
- */
525
- var expect = function(actual) {
526
- return jasmine.getEnv().currentSpec.expect(actual);
527
- };
528
- if (isCommonJS) exports.expect = expect;
529
-
530
- /**
531
- * Defines part of a jasmine spec. Used in cominbination with waits or waitsFor in asynchrnous specs.
532
- *
533
- * @param {Function} func Function that defines part of a jasmine spec.
534
- */
535
- var runs = function(func) {
536
- jasmine.getEnv().currentSpec.runs(func);
537
- };
538
- if (isCommonJS) exports.runs = runs;
539
-
540
- /**
541
- * Waits a fixed time period before moving to the next block.
542
- *
543
- * @deprecated Use waitsFor() instead
544
- * @param {Number} timeout milliseconds to wait
545
- */
546
- var waits = function(timeout) {
547
- jasmine.getEnv().currentSpec.waits(timeout);
548
- };
549
- if (isCommonJS) exports.waits = waits;
550
-
551
- /**
552
- * Waits for the latchFunction to return true before proceeding to the next block.
553
- *
554
- * @param {Function} latchFunction
555
- * @param {String} optional_timeoutMessage
556
- * @param {Number} optional_timeout
557
- */
558
- var waitsFor = function(latchFunction, optional_timeoutMessage, optional_timeout) {
559
- jasmine.getEnv().currentSpec.waitsFor.apply(jasmine.getEnv().currentSpec, arguments);
560
- };
561
- if (isCommonJS) exports.waitsFor = waitsFor;
562
-
563
- /**
564
- * A function that is called before each spec in a suite.
565
- *
566
- * Used for spec setup, including validating assumptions.
567
- *
568
- * @param {Function} beforeEachFunction
569
- */
570
- var beforeEach = function(beforeEachFunction) {
571
- jasmine.getEnv().beforeEach(beforeEachFunction);
572
- };
573
- if (isCommonJS) exports.beforeEach = beforeEach;
574
-
575
- /**
576
- * A function that is called after each spec in a suite.
577
- *
578
- * Used for restoring any state that is hijacked during spec execution.
579
- *
580
- * @param {Function} afterEachFunction
581
- */
582
- var afterEach = function(afterEachFunction) {
583
- jasmine.getEnv().afterEach(afterEachFunction);
584
- };
585
- if (isCommonJS) exports.afterEach = afterEach;
586
-
587
- /**
588
- * Defines a suite of specifications.
589
- *
590
- * Stores the description and all defined specs in the Jasmine environment as one suite of specs. Variables declared
591
- * are accessible by calls to beforeEach, it, and afterEach. Describe blocks can be nested, allowing for specialization
592
- * of setup in some tests.
593
- *
594
- * @example
595
- * // TODO: a simple suite
596
- *
597
- * // TODO: a simple suite with a nested describe block
598
- *
599
- * @param {String} description A string, usually the class under test.
600
- * @param {Function} specDefinitions function that defines several specs.
601
- */
602
- var describe = function(description, specDefinitions) {
603
- return jasmine.getEnv().describe(description, specDefinitions);
604
- };
605
- if (isCommonJS) exports.describe = describe;
606
-
607
- /**
608
- * Disables a suite of specifications. Used to disable some suites in a file, or files, temporarily during development.
609
- *
610
- * @param {String} description A string, usually the class under test.
611
- * @param {Function} specDefinitions function that defines several specs.
612
- */
613
- var xdescribe = function(description, specDefinitions) {
614
- return jasmine.getEnv().xdescribe(description, specDefinitions);
615
- };
616
- if (isCommonJS) exports.xdescribe = xdescribe;
617
-
618
-
619
- // Provide the XMLHttpRequest class for IE 5.x-6.x:
620
- jasmine.XmlHttpRequest = (typeof XMLHttpRequest == "undefined") ? function() {
621
- function tryIt(f) {
622
- try {
623
- return f();
624
- } catch(e) {
625
- }
626
- return null;
627
- }
628
-
629
- var xhr = tryIt(function() {
630
- return new ActiveXObject("Msxml2.XMLHTTP.6.0");
631
- }) ||
632
- tryIt(function() {
633
- return new ActiveXObject("Msxml2.XMLHTTP.3.0");
634
- }) ||
635
- tryIt(function() {
636
- return new ActiveXObject("Msxml2.XMLHTTP");
637
- }) ||
638
- tryIt(function() {
639
- return new ActiveXObject("Microsoft.XMLHTTP");
640
- });
641
-
642
- if (!xhr) throw new Error("This browser does not support XMLHttpRequest.");
643
-
644
- return xhr;
645
- } : XMLHttpRequest;
646
- /**
647
- * @namespace
648
- */
649
- jasmine.util = {};
650
-
651
- /**
652
- * Declare that a child class inherit it's prototype from the parent class.
653
- *
654
- * @private
655
- * @param {Function} childClass
656
- * @param {Function} parentClass
657
- */
658
- jasmine.util.inherit = function(childClass, parentClass) {
659
- /**
660
- * @private
661
- */
662
- var subclass = function() {
663
- };
664
- subclass.prototype = parentClass.prototype;
665
- childClass.prototype = new subclass();
666
- };
667
-
668
- jasmine.util.formatException = function(e) {
669
- var lineNumber;
670
- if (e.line) {
671
- lineNumber = e.line;
672
- }
673
- else if (e.lineNumber) {
674
- lineNumber = e.lineNumber;
675
- }
676
-
677
- var file;
678
-
679
- if (e.sourceURL) {
680
- file = e.sourceURL;
681
- }
682
- else if (e.fileName) {
683
- file = e.fileName;
684
- }
685
-
686
- var message = (e.name && e.message) ? (e.name + ': ' + e.message) : e.toString();
687
-
688
- if (file && lineNumber) {
689
- message += ' in ' + file + ' (line ' + lineNumber + ')';
690
- }
691
-
692
- return message;
693
- };
694
-
695
- jasmine.util.htmlEscape = function(str) {
696
- if (!str) return str;
697
- return str.replace(/&/g, '&amp;')
698
- .replace(/</g, '&lt;')
699
- .replace(/>/g, '&gt;');
700
- };
701
-
702
- jasmine.util.argsToArray = function(args) {
703
- var arrayOfArgs = [];
704
- for (var i = 0; i < args.length; i++) arrayOfArgs.push(args[i]);
705
- return arrayOfArgs;
706
- };
707
-
708
- jasmine.util.extend = function(destination, source) {
709
- for (var property in source) destination[property] = source[property];
710
- return destination;
711
- };
712
-
713
- /**
714
- * Environment for Jasmine
715
- *
716
- * @constructor
717
- */
718
- jasmine.Env = function() {
719
- this.currentSpec = null;
720
- this.currentSuite = null;
721
- this.currentRunner_ = new jasmine.Runner(this);
722
-
723
- this.reporter = new jasmine.MultiReporter();
724
-
725
- this.updateInterval = jasmine.DEFAULT_UPDATE_INTERVAL;
726
- this.defaultTimeoutInterval = jasmine.DEFAULT_TIMEOUT_INTERVAL;
727
- this.lastUpdate = 0;
728
- this.specFilter = function() {
729
- return true;
730
- };
731
-
732
- this.nextSpecId_ = 0;
733
- this.nextSuiteId_ = 0;
734
- this.equalityTesters_ = [];
735
-
736
- // wrap matchers
737
- this.matchersClass = function() {
738
- jasmine.Matchers.apply(this, arguments);
739
- };
740
- jasmine.util.inherit(this.matchersClass, jasmine.Matchers);
741
-
742
- jasmine.Matchers.wrapInto_(jasmine.Matchers.prototype, this.matchersClass);
743
- };
744
-
745
-
746
- jasmine.Env.prototype.setTimeout = jasmine.setTimeout;
747
- jasmine.Env.prototype.clearTimeout = jasmine.clearTimeout;
748
- jasmine.Env.prototype.setInterval = jasmine.setInterval;
749
- jasmine.Env.prototype.clearInterval = jasmine.clearInterval;
750
-
751
- /**
752
- * @returns an object containing jasmine version build info, if set.
753
- */
754
- jasmine.Env.prototype.version = function () {
755
- if (jasmine.version_) {
756
- return jasmine.version_;
757
- } else {
758
- throw new Error('Version not set');
759
- }
760
- };
761
-
762
- /**
763
- * @returns string containing jasmine version build info, if set.
764
- */
765
- jasmine.Env.prototype.versionString = function() {
766
- if (!jasmine.version_) {
767
- return "version unknown";
768
- }
769
-
770
- var version = this.version();
771
- var versionString = version.major + "." + version.minor + "." + version.build;
772
- if (version.release_candidate) {
773
- versionString += ".rc" + version.release_candidate;
774
- }
775
- versionString += " revision " + version.revision;
776
- return versionString;
777
- };
778
-
779
- /**
780
- * @returns a sequential integer starting at 0
781
- */
782
- jasmine.Env.prototype.nextSpecId = function () {
783
- return this.nextSpecId_++;
784
- };
785
-
786
- /**
787
- * @returns a sequential integer starting at 0
788
- */
789
- jasmine.Env.prototype.nextSuiteId = function () {
790
- return this.nextSuiteId_++;
791
- };
792
-
793
- /**
794
- * Register a reporter to receive status updates from Jasmine.
795
- * @param {jasmine.Reporter} reporter An object which will receive status updates.
796
- */
797
- jasmine.Env.prototype.addReporter = function(reporter) {
798
- this.reporter.addReporter(reporter);
799
- };
800
-
801
- jasmine.Env.prototype.execute = function() {
802
- this.currentRunner_.execute();
803
- };
804
-
805
- jasmine.Env.prototype.describe = function(description, specDefinitions) {
806
- var suite = new jasmine.Suite(this, description, specDefinitions, this.currentSuite);
807
-
808
- var parentSuite = this.currentSuite;
809
- if (parentSuite) {
810
- parentSuite.add(suite);
811
- } else {
812
- this.currentRunner_.add(suite);
813
- }
814
-
815
- this.currentSuite = suite;
816
-
817
- var declarationError = null;
818
- try {
819
- specDefinitions.call(suite);
820
- } catch(e) {
821
- declarationError = e;
822
- }
823
-
824
- if (declarationError) {
825
- this.it("encountered a declaration exception", function() {
826
- throw declarationError;
827
- });
828
- }
829
-
830
- this.currentSuite = parentSuite;
831
-
832
- return suite;
833
- };
834
-
835
- jasmine.Env.prototype.beforeEach = function(beforeEachFunction) {
836
- if (this.currentSuite) {
837
- this.currentSuite.beforeEach(beforeEachFunction);
838
- } else {
839
- this.currentRunner_.beforeEach(beforeEachFunction);
840
- }
841
- };
842
-
843
- jasmine.Env.prototype.currentRunner = function () {
844
- return this.currentRunner_;
845
- };
846
-
847
- jasmine.Env.prototype.afterEach = function(afterEachFunction) {
848
- if (this.currentSuite) {
849
- this.currentSuite.afterEach(afterEachFunction);
850
- } else {
851
- this.currentRunner_.afterEach(afterEachFunction);
852
- }
853
-
854
- };
855
-
856
- jasmine.Env.prototype.xdescribe = function(desc, specDefinitions) {
857
- return {
858
- execute: function() {
859
- }
860
- };
861
- };
862
-
863
- jasmine.Env.prototype.it = function(description, func) {
864
- var spec = new jasmine.Spec(this, this.currentSuite, description);
865
- this.currentSuite.add(spec);
866
- this.currentSpec = spec;
867
-
868
- if (func) {
869
- spec.runs(func);
870
- }
871
-
872
- return spec;
873
- };
874
-
875
- jasmine.Env.prototype.xit = function(desc, func) {
876
- return {
877
- id: this.nextSpecId(),
878
- runs: function() {
879
- }
880
- };
881
- };
882
-
883
- jasmine.Env.prototype.compareRegExps_ = function(a, b, mismatchKeys, mismatchValues) {
884
- if (a.source != b.source)
885
- mismatchValues.push("expected pattern /" + b.source + "/ is not equal to the pattern /" + a.source + "/");
886
-
887
- if (a.ignoreCase != b.ignoreCase)
888
- mismatchValues.push("expected modifier i was" + (b.ignoreCase ? " " : " not ") + "set and does not equal the origin modifier");
889
-
890
- if (a.global != b.global)
891
- mismatchValues.push("expected modifier g was" + (b.global ? " " : " not ") + "set and does not equal the origin modifier");
892
-
893
- if (a.multiline != b.multiline)
894
- mismatchValues.push("expected modifier m was" + (b.multiline ? " " : " not ") + "set and does not equal the origin modifier");
895
-
896
- if (a.sticky != b.sticky)
897
- mismatchValues.push("expected modifier y was" + (b.sticky ? " " : " not ") + "set and does not equal the origin modifier");
898
-
899
- return (mismatchValues.length === 0);
900
- };
901
-
902
- jasmine.Env.prototype.compareObjects_ = function(a, b, mismatchKeys, mismatchValues) {
903
- if (a.__Jasmine_been_here_before__ === b && b.__Jasmine_been_here_before__ === a) {
904
- return true;
905
- }
906
-
907
- a.__Jasmine_been_here_before__ = b;
908
- b.__Jasmine_been_here_before__ = a;
909
-
910
- var hasKey = function(obj, keyName) {
911
- return obj !== null && obj[keyName] !== jasmine.undefined;
912
- };
913
-
914
- for (var property in b) {
915
- if (!hasKey(a, property) && hasKey(b, property)) {
916
- mismatchKeys.push("expected has key '" + property + "', but missing from actual.");
917
- }
918
- }
919
- for (property in a) {
920
- if (!hasKey(b, property) && hasKey(a, property)) {
921
- mismatchKeys.push("expected missing key '" + property + "', but present in actual.");
922
- }
923
- }
924
- for (property in b) {
925
- if (property == '__Jasmine_been_here_before__') continue;
926
- if (!this.equals_(a[property], b[property], mismatchKeys, mismatchValues)) {
927
- mismatchValues.push("'" + property + "' was '" + (b[property] ? jasmine.util.htmlEscape(b[property].toString()) : b[property]) + "' in expected, but was '" + (a[property] ? jasmine.util.htmlEscape(a[property].toString()) : a[property]) + "' in actual.");
928
- }
929
- }
930
-
931
- if (jasmine.isArray_(a) && jasmine.isArray_(b) && a.length != b.length) {
932
- mismatchValues.push("arrays were not the same length");
933
- }
934
-
935
- delete a.__Jasmine_been_here_before__;
936
- delete b.__Jasmine_been_here_before__;
937
- return (mismatchKeys.length === 0 && mismatchValues.length === 0);
938
- };
939
-
940
- jasmine.Env.prototype.equals_ = function(a, b, mismatchKeys, mismatchValues) {
941
- mismatchKeys = mismatchKeys || [];
942
- mismatchValues = mismatchValues || [];
943
-
944
- for (var i = 0; i < this.equalityTesters_.length; i++) {
945
- var equalityTester = this.equalityTesters_[i];
946
- var result = equalityTester(a, b, this, mismatchKeys, mismatchValues);
947
- if (result !== jasmine.undefined) return result;
948
- }
949
-
950
- if (a === b) return true;
951
-
952
- if (a === jasmine.undefined || a === null || b === jasmine.undefined || b === null) {
953
- return (a == jasmine.undefined && b == jasmine.undefined);
954
- }
955
-
956
- if (jasmine.isDomNode(a) && jasmine.isDomNode(b)) {
957
- return a === b;
958
- }
959
-
960
- if (a instanceof Date && b instanceof Date) {
961
- return a.getTime() == b.getTime();
962
- }
963
-
964
- if (a.jasmineMatches) {
965
- return a.jasmineMatches(b);
966
- }
967
-
968
- if (b.jasmineMatches) {
969
- return b.jasmineMatches(a);
970
- }
971
-
972
- if (a instanceof jasmine.Matchers.ObjectContaining) {
973
- return a.matches(b);
974
- }
975
-
976
- if (b instanceof jasmine.Matchers.ObjectContaining) {
977
- return b.matches(a);
978
- }
979
-
980
- if (jasmine.isString_(a) && jasmine.isString_(b)) {
981
- return (a == b);
982
- }
983
-
984
- if (jasmine.isNumber_(a) && jasmine.isNumber_(b)) {
985
- return (a == b);
986
- }
987
-
988
- if (a instanceof RegExp && b instanceof RegExp) {
989
- return this.compareRegExps_(a, b, mismatchKeys, mismatchValues);
990
- }
991
-
992
- if (typeof a === "object" && typeof b === "object") {
993
- return this.compareObjects_(a, b, mismatchKeys, mismatchValues);
994
- }
995
-
996
- //Straight check
997
- return (a === b);
998
- };
999
-
1000
- jasmine.Env.prototype.contains_ = function(haystack, needle) {
1001
- if (jasmine.isArray_(haystack)) {
1002
- for (var i = 0; i < haystack.length; i++) {
1003
- if (this.equals_(haystack[i], needle)) return true;
1004
- }
1005
- return false;
1006
- }
1007
- return haystack.indexOf(needle) >= 0;
1008
- };
1009
-
1010
- jasmine.Env.prototype.addEqualityTester = function(equalityTester) {
1011
- this.equalityTesters_.push(equalityTester);
1012
- };
1013
- /** No-op base class for Jasmine reporters.
1014
- *
1015
- * @constructor
1016
- */
1017
- jasmine.Reporter = function() {
1018
- };
1019
-
1020
- //noinspection JSUnusedLocalSymbols
1021
- jasmine.Reporter.prototype.reportRunnerStarting = function(runner) {
1022
- };
1023
-
1024
- //noinspection JSUnusedLocalSymbols
1025
- jasmine.Reporter.prototype.reportRunnerResults = function(runner) {
1026
- };
1027
-
1028
- //noinspection JSUnusedLocalSymbols
1029
- jasmine.Reporter.prototype.reportSuiteResults = function(suite) {
1030
- };
1031
-
1032
- //noinspection JSUnusedLocalSymbols
1033
- jasmine.Reporter.prototype.reportSpecStarting = function(spec) {
1034
- };
1035
-
1036
- //noinspection JSUnusedLocalSymbols
1037
- jasmine.Reporter.prototype.reportSpecResults = function(spec) {
1038
- };
1039
-
1040
- //noinspection JSUnusedLocalSymbols
1041
- jasmine.Reporter.prototype.log = function(str) {
1042
- };
1043
-
1044
- /**
1045
- * Blocks are functions with executable code that make up a spec.
1046
- *
1047
- * @constructor
1048
- * @param {jasmine.Env} env
1049
- * @param {Function} func
1050
- * @param {jasmine.Spec} spec
1051
- */
1052
- jasmine.Block = function(env, func, spec) {
1053
- this.env = env;
1054
- this.func = func;
1055
- this.spec = spec;
1056
- };
1057
-
1058
- jasmine.Block.prototype.execute = function(onComplete) {
1059
- if (!jasmine.CATCH_EXCEPTIONS) {
1060
- this.func.apply(this.spec);
1061
- }
1062
- else {
1063
- try {
1064
- this.func.apply(this.spec);
1065
- } catch (e) {
1066
- this.spec.fail(e);
1067
- }
1068
- }
1069
- onComplete();
1070
- };
1071
- /** JavaScript API reporter.
1072
- *
1073
- * @constructor
1074
- */
1075
- jasmine.JsApiReporter = function() {
1076
- this.started = false;
1077
- this.finished = false;
1078
- this.suites_ = [];
1079
- this.results_ = {};
1080
- };
1081
-
1082
- jasmine.JsApiReporter.prototype.reportRunnerStarting = function(runner) {
1083
- this.started = true;
1084
- var suites = runner.topLevelSuites();
1085
- for (var i = 0; i < suites.length; i++) {
1086
- var suite = suites[i];
1087
- this.suites_.push(this.summarize_(suite));
1088
- }
1089
- };
1090
-
1091
- jasmine.JsApiReporter.prototype.suites = function() {
1092
- return this.suites_;
1093
- };
1094
-
1095
- jasmine.JsApiReporter.prototype.summarize_ = function(suiteOrSpec) {
1096
- var isSuite = suiteOrSpec instanceof jasmine.Suite;
1097
- var summary = {
1098
- id: suiteOrSpec.id,
1099
- name: suiteOrSpec.description,
1100
- type: isSuite ? 'suite' : 'spec',
1101
- children: []
1102
- };
1103
-
1104
- if (isSuite) {
1105
- var children = suiteOrSpec.children();
1106
- for (var i = 0; i < children.length; i++) {
1107
- summary.children.push(this.summarize_(children[i]));
1108
- }
1109
- }
1110
- return summary;
1111
- };
1112
-
1113
- jasmine.JsApiReporter.prototype.results = function() {
1114
- return this.results_;
1115
- };
1116
-
1117
- jasmine.JsApiReporter.prototype.resultsForSpec = function(specId) {
1118
- return this.results_[specId];
1119
- };
1120
-
1121
- //noinspection JSUnusedLocalSymbols
1122
- jasmine.JsApiReporter.prototype.reportRunnerResults = function(runner) {
1123
- this.finished = true;
1124
- };
1125
-
1126
- //noinspection JSUnusedLocalSymbols
1127
- jasmine.JsApiReporter.prototype.reportSuiteResults = function(suite) {
1128
- };
1129
-
1130
- //noinspection JSUnusedLocalSymbols
1131
- jasmine.JsApiReporter.prototype.reportSpecResults = function(spec) {
1132
- this.results_[spec.id] = {
1133
- messages: spec.results().getItems(),
1134
- result: spec.results().failedCount > 0 ? "failed" : "passed"
1135
- };
1136
- };
1137
-
1138
- //noinspection JSUnusedLocalSymbols
1139
- jasmine.JsApiReporter.prototype.log = function(str) {
1140
- };
1141
-
1142
- jasmine.JsApiReporter.prototype.resultsForSpecs = function(specIds){
1143
- var results = {};
1144
- for (var i = 0; i < specIds.length; i++) {
1145
- var specId = specIds[i];
1146
- results[specId] = this.summarizeResult_(this.results_[specId]);
1147
- }
1148
- return results;
1149
- };
1150
-
1151
- jasmine.JsApiReporter.prototype.summarizeResult_ = function(result){
1152
- var summaryMessages = [];
1153
- var messagesLength = result.messages.length;
1154
- for (var messageIndex = 0; messageIndex < messagesLength; messageIndex++) {
1155
- var resultMessage = result.messages[messageIndex];
1156
- summaryMessages.push({
1157
- text: resultMessage.type == 'log' ? resultMessage.toString() : jasmine.undefined,
1158
- passed: resultMessage.passed ? resultMessage.passed() : true,
1159
- type: resultMessage.type,
1160
- message: resultMessage.message,
1161
- trace: {
1162
- stack: resultMessage.passed && !resultMessage.passed() ? resultMessage.trace.stack : jasmine.undefined
1163
- }
1164
- });
1165
- }
1166
-
1167
- return {
1168
- result : result.result,
1169
- messages : summaryMessages
1170
- };
1171
- };
1172
-
1173
- /**
1174
- * @constructor
1175
- * @param {jasmine.Env} env
1176
- * @param actual
1177
- * @param {jasmine.Spec} spec
1178
- */
1179
- jasmine.Matchers = function(env, actual, spec, opt_isNot) {
1180
- this.env = env;
1181
- this.actual = actual;
1182
- this.spec = spec;
1183
- this.isNot = opt_isNot || false;
1184
- this.reportWasCalled_ = false;
1185
- };
1186
-
1187
- // todo: @deprecated as of Jasmine 0.11, remove soon [xw]
1188
- jasmine.Matchers.pp = function(str) {
1189
- throw new Error("jasmine.Matchers.pp() is no longer supported, please use jasmine.pp() instead!");
1190
- };
1191
-
1192
- // todo: @deprecated Deprecated as of Jasmine 0.10. Rewrite your custom matchers to return true or false. [xw]
1193
- jasmine.Matchers.prototype.report = function(result, failing_message, details) {
1194
- throw new Error("As of jasmine 0.11, custom matchers must be implemented differently -- please see jasmine docs");
1195
- };
1196
-
1197
- jasmine.Matchers.wrapInto_ = function(prototype, matchersClass) {
1198
- for (var methodName in prototype) {
1199
- if (methodName == 'report') continue;
1200
- var orig = prototype[methodName];
1201
- matchersClass.prototype[methodName] = jasmine.Matchers.matcherFn_(methodName, orig);
1202
- }
1203
- };
1204
-
1205
- jasmine.Matchers.matcherFn_ = function(matcherName, matcherFunction) {
1206
- return function() {
1207
- var matcherArgs = jasmine.util.argsToArray(arguments);
1208
- var result = matcherFunction.apply(this, arguments);
1209
-
1210
- if (this.isNot) {
1211
- result = !result;
1212
- }
1213
-
1214
- if (this.reportWasCalled_) return result;
1215
-
1216
- var message;
1217
- if (!result) {
1218
- if (this.message) {
1219
- message = this.message.apply(this, arguments);
1220
- if (jasmine.isArray_(message)) {
1221
- message = message[this.isNot ? 1 : 0];
1222
- }
1223
- } else {
1224
- var englishyPredicate = matcherName.replace(/[A-Z]/g, function(s) { return ' ' + s.toLowerCase(); });
1225
- message = "Expected " + jasmine.pp(this.actual) + (this.isNot ? " not " : " ") + englishyPredicate;
1226
- if (matcherArgs.length > 0) {
1227
- for (var i = 0; i < matcherArgs.length; i++) {
1228
- if (i > 0) message += ",";
1229
- message += " " + jasmine.pp(matcherArgs[i]);
1230
- }
1231
- }
1232
- message += ".";
1233
- }
1234
- }
1235
- var expectationResult = new jasmine.ExpectationResult({
1236
- matcherName: matcherName,
1237
- passed: result,
1238
- expected: matcherArgs.length > 1 ? matcherArgs : matcherArgs[0],
1239
- actual: this.actual,
1240
- message: message
1241
- });
1242
- this.spec.addMatcherResult(expectationResult);
1243
- return jasmine.undefined;
1244
- };
1245
- };
1246
-
1247
-
1248
-
1249
-
1250
- /**
1251
- * toBe: compares the actual to the expected using ===
1252
- * @param expected
1253
- */
1254
- jasmine.Matchers.prototype.toBe = function(expected) {
1255
- return this.actual === expected;
1256
- };
1257
-
1258
- /**
1259
- * toNotBe: compares the actual to the expected using !==
1260
- * @param expected
1261
- * @deprecated as of 1.0. Use not.toBe() instead.
1262
- */
1263
- jasmine.Matchers.prototype.toNotBe = function(expected) {
1264
- return this.actual !== expected;
1265
- };
1266
-
1267
- /**
1268
- * toEqual: compares the actual to the expected using common sense equality. Handles Objects, Arrays, etc.
1269
- *
1270
- * @param expected
1271
- */
1272
- jasmine.Matchers.prototype.toEqual = function(expected) {
1273
- return this.env.equals_(this.actual, expected);
1274
- };
1275
-
1276
- /**
1277
- * toNotEqual: compares the actual to the expected using the ! of jasmine.Matchers.toEqual
1278
- * @param expected
1279
- * @deprecated as of 1.0. Use not.toEqual() instead.
1280
- */
1281
- jasmine.Matchers.prototype.toNotEqual = function(expected) {
1282
- return !this.env.equals_(this.actual, expected);
1283
- };
1284
-
1285
- /**
1286
- * Matcher that compares the actual to the expected using a regular expression. Constructs a RegExp, so takes
1287
- * a pattern or a String.
1288
- *
1289
- * @param expected
1290
- */
1291
- jasmine.Matchers.prototype.toMatch = function(expected) {
1292
- return new RegExp(expected).test(this.actual);
1293
- };
1294
-
1295
- /**
1296
- * Matcher that compares the actual to the expected using the boolean inverse of jasmine.Matchers.toMatch
1297
- * @param expected
1298
- * @deprecated as of 1.0. Use not.toMatch() instead.
1299
- */
1300
- jasmine.Matchers.prototype.toNotMatch = function(expected) {
1301
- return !(new RegExp(expected).test(this.actual));
1302
- };
1303
-
1304
- /**
1305
- * Matcher that compares the actual to jasmine.undefined.
1306
- */
1307
- jasmine.Matchers.prototype.toBeDefined = function() {
1308
- return (this.actual !== jasmine.undefined);
1309
- };
1310
-
1311
- /**
1312
- * Matcher that compares the actual to jasmine.undefined.
1313
- */
1314
- jasmine.Matchers.prototype.toBeUndefined = function() {
1315
- return (this.actual === jasmine.undefined);
1316
- };
1317
-
1318
- /**
1319
- * Matcher that compares the actual to null.
1320
- */
1321
- jasmine.Matchers.prototype.toBeNull = function() {
1322
- return (this.actual === null);
1323
- };
1324
-
1325
- /**
1326
- * Matcher that compares the actual to NaN.
1327
- */
1328
- jasmine.Matchers.prototype.toBeNaN = function() {
1329
- this.message = function() {
1330
- return [ "Expected " + jasmine.pp(this.actual) + " to be NaN." ];
1331
- };
1332
-
1333
- return (this.actual !== this.actual);
1334
- };
1335
-
1336
- /**
1337
- * Matcher that boolean not-nots the actual.
1338
- */
1339
- jasmine.Matchers.prototype.toBeTruthy = function() {
1340
- return !!this.actual;
1341
- };
1342
-
1343
-
1344
- /**
1345
- * Matcher that boolean nots the actual.
1346
- */
1347
- jasmine.Matchers.prototype.toBeFalsy = function() {
1348
- return !this.actual;
1349
- };
1350
-
1351
-
1352
- /**
1353
- * Matcher that checks to see if the actual, a Jasmine spy, was called.
1354
- */
1355
- jasmine.Matchers.prototype.toHaveBeenCalled = function() {
1356
- if (arguments.length > 0) {
1357
- throw new Error('toHaveBeenCalled does not take arguments, use toHaveBeenCalledWith');
1358
- }
1359
-
1360
- if (!jasmine.isSpy(this.actual)) {
1361
- throw new Error('Expected a spy, but got ' + jasmine.pp(this.actual) + '.');
1362
- }
1363
-
1364
- this.message = function() {
1365
- return [
1366
- "Expected spy " + this.actual.identity + " to have been called.",
1367
- "Expected spy " + this.actual.identity + " not to have been called."
1368
- ];
1369
- };
1370
-
1371
- return this.actual.wasCalled;
1372
- };
1373
-
1374
- /** @deprecated Use expect(xxx).toHaveBeenCalled() instead */
1375
- jasmine.Matchers.prototype.wasCalled = jasmine.Matchers.prototype.toHaveBeenCalled;
1376
-
1377
- /**
1378
- * Matcher that checks to see if the actual, a Jasmine spy, was not called.
1379
- *
1380
- * @deprecated Use expect(xxx).not.toHaveBeenCalled() instead
1381
- */
1382
- jasmine.Matchers.prototype.wasNotCalled = function() {
1383
- if (arguments.length > 0) {
1384
- throw new Error('wasNotCalled does not take arguments');
1385
- }
1386
-
1387
- if (!jasmine.isSpy(this.actual)) {
1388
- throw new Error('Expected a spy, but got ' + jasmine.pp(this.actual) + '.');
1389
- }
1390
-
1391
- this.message = function() {
1392
- return [
1393
- "Expected spy " + this.actual.identity + " to not have been called.",
1394
- "Expected spy " + this.actual.identity + " to have been called."
1395
- ];
1396
- };
1397
-
1398
- return !this.actual.wasCalled;
1399
- };
1400
-
1401
- /**
1402
- * Matcher that checks to see if the actual, a Jasmine spy, was called with a set of parameters.
1403
- *
1404
- * @example
1405
- *
1406
- */
1407
- jasmine.Matchers.prototype.toHaveBeenCalledWith = function() {
1408
- var expectedArgs = jasmine.util.argsToArray(arguments);
1409
- if (!jasmine.isSpy(this.actual)) {
1410
- throw new Error('Expected a spy, but got ' + jasmine.pp(this.actual) + '.');
1411
- }
1412
- this.message = function() {
1413
- var invertedMessage = "Expected spy " + this.actual.identity + " not to have been called with " + jasmine.pp(expectedArgs) + " but it was.";
1414
- var positiveMessage = "";
1415
- if (this.actual.callCount === 0) {
1416
- positiveMessage = "Expected spy " + this.actual.identity + " to have been called with " + jasmine.pp(expectedArgs) + " but it was never called.";
1417
- } else {
1418
- positiveMessage = "Expected spy " + this.actual.identity + " to have been called with " + jasmine.pp(expectedArgs) + " but actual calls were " + jasmine.pp(this.actual.argsForCall).replace(/^\[ | \]$/g, '')
1419
- }
1420
- return [positiveMessage, invertedMessage];
1421
- };
1422
-
1423
- return this.env.contains_(this.actual.argsForCall, expectedArgs);
1424
- };
1425
-
1426
- /** @deprecated Use expect(xxx).toHaveBeenCalledWith() instead */
1427
- jasmine.Matchers.prototype.wasCalledWith = jasmine.Matchers.prototype.toHaveBeenCalledWith;
1428
-
1429
- /** @deprecated Use expect(xxx).not.toHaveBeenCalledWith() instead */
1430
- jasmine.Matchers.prototype.wasNotCalledWith = function() {
1431
- var expectedArgs = jasmine.util.argsToArray(arguments);
1432
- if (!jasmine.isSpy(this.actual)) {
1433
- throw new Error('Expected a spy, but got ' + jasmine.pp(this.actual) + '.');
1434
- }
1435
-
1436
- this.message = function() {
1437
- return [
1438
- "Expected spy not to have been called with " + jasmine.pp(expectedArgs) + " but it was",
1439
- "Expected spy to have been called with " + jasmine.pp(expectedArgs) + " but it was"
1440
- ];
1441
- };
1442
-
1443
- return !this.env.contains_(this.actual.argsForCall, expectedArgs);
1444
- };
1445
-
1446
- /**
1447
- * Matcher that checks that the expected item is an element in the actual Array.
1448
- *
1449
- * @param {Object} expected
1450
- */
1451
- jasmine.Matchers.prototype.toContain = function(expected) {
1452
- return this.env.contains_(this.actual, expected);
1453
- };
1454
-
1455
- /**
1456
- * Matcher that checks that the expected item is NOT an element in the actual Array.
1457
- *
1458
- * @param {Object} expected
1459
- * @deprecated as of 1.0. Use not.toContain() instead.
1460
- */
1461
- jasmine.Matchers.prototype.toNotContain = function(expected) {
1462
- return !this.env.contains_(this.actual, expected);
1463
- };
1464
-
1465
- jasmine.Matchers.prototype.toBeLessThan = function(expected) {
1466
- return this.actual < expected;
1467
- };
1468
-
1469
- jasmine.Matchers.prototype.toBeGreaterThan = function(expected) {
1470
- return this.actual > expected;
1471
- };
1472
-
1473
- /**
1474
- * Matcher that checks that the expected item is equal to the actual item
1475
- * up to a given level of decimal precision (default 2).
1476
- *
1477
- * @param {Number} expected
1478
- * @param {Number} precision, as number of decimal places
1479
- */
1480
- jasmine.Matchers.prototype.toBeCloseTo = function(expected, precision) {
1481
- if (!(precision === 0)) {
1482
- precision = precision || 2;
1483
- }
1484
- return Math.abs(expected - this.actual) < (Math.pow(10, -precision) / 2);
1485
- };
1486
-
1487
- /**
1488
- * Matcher that checks that the expected exception was thrown by the actual.
1489
- *
1490
- * @param {String} [expected]
1491
- */
1492
- jasmine.Matchers.prototype.toThrow = function(expected) {
1493
- var result = false;
1494
- var exception;
1495
- if (typeof this.actual != 'function') {
1496
- throw new Error('Actual is not a function');
1497
- }
1498
- try {
1499
- this.actual();
1500
- } catch (e) {
1501
- exception = e;
1502
- }
1503
- if (exception) {
1504
- result = (expected === jasmine.undefined || this.env.equals_(exception.message || exception, expected.message || expected));
1505
- }
1506
-
1507
- var not = this.isNot ? "not " : "";
1508
-
1509
- this.message = function() {
1510
- if (exception && (expected === jasmine.undefined || !this.env.equals_(exception.message || exception, expected.message || expected))) {
1511
- return ["Expected function " + not + "to throw", expected ? expected.message || expected : "an exception", ", but it threw", exception.message || exception].join(' ');
1512
- } else {
1513
- return "Expected function to throw an exception.";
1514
- }
1515
- };
1516
-
1517
- return result;
1518
- };
1519
-
1520
- jasmine.Matchers.Any = function(expectedClass) {
1521
- this.expectedClass = expectedClass;
1522
- };
1523
-
1524
- jasmine.Matchers.Any.prototype.jasmineMatches = function(other) {
1525
- if (this.expectedClass == String) {
1526
- return typeof other == 'string' || other instanceof String;
1527
- }
1528
-
1529
- if (this.expectedClass == Number) {
1530
- return typeof other == 'number' || other instanceof Number;
1531
- }
1532
-
1533
- if (this.expectedClass == Function) {
1534
- return typeof other == 'function' || other instanceof Function;
1535
- }
1536
-
1537
- if (this.expectedClass == Object) {
1538
- return typeof other == 'object';
1539
- }
1540
-
1541
- return other instanceof this.expectedClass;
1542
- };
1543
-
1544
- jasmine.Matchers.Any.prototype.jasmineToString = function() {
1545
- return '<jasmine.any(' + this.expectedClass + ')>';
1546
- };
1547
-
1548
- jasmine.Matchers.ObjectContaining = function (sample) {
1549
- this.sample = sample;
1550
- };
1551
-
1552
- jasmine.Matchers.ObjectContaining.prototype.jasmineMatches = function(other, mismatchKeys, mismatchValues) {
1553
- mismatchKeys = mismatchKeys || [];
1554
- mismatchValues = mismatchValues || [];
1555
-
1556
- var env = jasmine.getEnv();
1557
-
1558
- var hasKey = function(obj, keyName) {
1559
- return obj != null && obj[keyName] !== jasmine.undefined;
1560
- };
1561
-
1562
- for (var property in this.sample) {
1563
- if (!hasKey(other, property) && hasKey(this.sample, property)) {
1564
- mismatchKeys.push("expected has key '" + property + "', but missing from actual.");
1565
- }
1566
- else if (!env.equals_(this.sample[property], other[property], mismatchKeys, mismatchValues)) {
1567
- mismatchValues.push("'" + property + "' was '" + (other[property] ? jasmine.util.htmlEscape(other[property].toString()) : other[property]) + "' in expected, but was '" + (this.sample[property] ? jasmine.util.htmlEscape(this.sample[property].toString()) : this.sample[property]) + "' in actual.");
1568
- }
1569
- }
1570
-
1571
- return (mismatchKeys.length === 0 && mismatchValues.length === 0);
1572
- };
1573
-
1574
- jasmine.Matchers.ObjectContaining.prototype.jasmineToString = function () {
1575
- return "<jasmine.objectContaining(" + jasmine.pp(this.sample) + ")>";
1576
- };
1577
- // Mock setTimeout, clearTimeout
1578
- // Contributed by Pivotal Computer Systems, www.pivotalsf.com
1579
-
1580
- jasmine.FakeTimer = function() {
1581
- this.reset();
1582
-
1583
- var self = this;
1584
- self.setTimeout = function(funcToCall, millis) {
1585
- self.timeoutsMade++;
1586
- self.scheduleFunction(self.timeoutsMade, funcToCall, millis, false);
1587
- return self.timeoutsMade;
1588
- };
1589
-
1590
- self.setInterval = function(funcToCall, millis) {
1591
- self.timeoutsMade++;
1592
- self.scheduleFunction(self.timeoutsMade, funcToCall, millis, true);
1593
- return self.timeoutsMade;
1594
- };
1595
-
1596
- self.clearTimeout = function(timeoutKey) {
1597
- self.scheduledFunctions[timeoutKey] = jasmine.undefined;
1598
- };
1599
-
1600
- self.clearInterval = function(timeoutKey) {
1601
- self.scheduledFunctions[timeoutKey] = jasmine.undefined;
1602
- };
1603
-
1604
- };
1605
-
1606
- jasmine.FakeTimer.prototype.reset = function() {
1607
- this.timeoutsMade = 0;
1608
- this.scheduledFunctions = {};
1609
- this.nowMillis = 0;
1610
- };
1611
-
1612
- jasmine.FakeTimer.prototype.tick = function(millis) {
1613
- var oldMillis = this.nowMillis;
1614
- var newMillis = oldMillis + millis;
1615
- this.runFunctionsWithinRange(oldMillis, newMillis);
1616
- this.nowMillis = newMillis;
1617
- };
1618
-
1619
- jasmine.FakeTimer.prototype.runFunctionsWithinRange = function(oldMillis, nowMillis) {
1620
- var scheduledFunc;
1621
- var funcsToRun = [];
1622
- for (var timeoutKey in this.scheduledFunctions) {
1623
- scheduledFunc = this.scheduledFunctions[timeoutKey];
1624
- if (scheduledFunc != jasmine.undefined &&
1625
- scheduledFunc.runAtMillis >= oldMillis &&
1626
- scheduledFunc.runAtMillis <= nowMillis) {
1627
- funcsToRun.push(scheduledFunc);
1628
- this.scheduledFunctions[timeoutKey] = jasmine.undefined;
1629
- }
1630
- }
1631
-
1632
- if (funcsToRun.length > 0) {
1633
- funcsToRun.sort(function(a, b) {
1634
- return a.runAtMillis - b.runAtMillis;
1635
- });
1636
- for (var i = 0; i < funcsToRun.length; ++i) {
1637
- try {
1638
- var funcToRun = funcsToRun[i];
1639
- this.nowMillis = funcToRun.runAtMillis;
1640
- funcToRun.funcToCall();
1641
- if (funcToRun.recurring) {
1642
- this.scheduleFunction(funcToRun.timeoutKey,
1643
- funcToRun.funcToCall,
1644
- funcToRun.millis,
1645
- true);
1646
- }
1647
- } catch(e) {
1648
- }
1649
- }
1650
- this.runFunctionsWithinRange(oldMillis, nowMillis);
1651
- }
1652
- };
1653
-
1654
- jasmine.FakeTimer.prototype.scheduleFunction = function(timeoutKey, funcToCall, millis, recurring) {
1655
- this.scheduledFunctions[timeoutKey] = {
1656
- runAtMillis: this.nowMillis + millis,
1657
- funcToCall: funcToCall,
1658
- recurring: recurring,
1659
- timeoutKey: timeoutKey,
1660
- millis: millis
1661
- };
1662
- };
1663
-
1664
- /**
1665
- * @namespace
1666
- */
1667
- jasmine.Clock = {
1668
- defaultFakeTimer: new jasmine.FakeTimer(),
1669
-
1670
- reset: function() {
1671
- jasmine.Clock.assertInstalled();
1672
- jasmine.Clock.defaultFakeTimer.reset();
1673
- },
1674
-
1675
- tick: function(millis) {
1676
- jasmine.Clock.assertInstalled();
1677
- jasmine.Clock.defaultFakeTimer.tick(millis);
1678
- },
1679
-
1680
- runFunctionsWithinRange: function(oldMillis, nowMillis) {
1681
- jasmine.Clock.defaultFakeTimer.runFunctionsWithinRange(oldMillis, nowMillis);
1682
- },
1683
-
1684
- scheduleFunction: function(timeoutKey, funcToCall, millis, recurring) {
1685
- jasmine.Clock.defaultFakeTimer.scheduleFunction(timeoutKey, funcToCall, millis, recurring);
1686
- },
1687
-
1688
- useMock: function() {
1689
- if (!jasmine.Clock.isInstalled()) {
1690
- var spec = jasmine.getEnv().currentSpec;
1691
- spec.after(jasmine.Clock.uninstallMock);
1692
-
1693
- jasmine.Clock.installMock();
1694
- }
1695
- },
1696
-
1697
- installMock: function() {
1698
- jasmine.Clock.installed = jasmine.Clock.defaultFakeTimer;
1699
- },
1700
-
1701
- uninstallMock: function() {
1702
- jasmine.Clock.assertInstalled();
1703
- jasmine.Clock.installed = jasmine.Clock.real;
1704
- },
1705
-
1706
- real: {
1707
- setTimeout: jasmine.getGlobal().setTimeout,
1708
- clearTimeout: jasmine.getGlobal().clearTimeout,
1709
- setInterval: jasmine.getGlobal().setInterval,
1710
- clearInterval: jasmine.getGlobal().clearInterval
1711
- },
1712
-
1713
- assertInstalled: function() {
1714
- if (!jasmine.Clock.isInstalled()) {
1715
- throw new Error("Mock clock is not installed, use jasmine.Clock.useMock()");
1716
- }
1717
- },
1718
-
1719
- isInstalled: function() {
1720
- return jasmine.Clock.installed == jasmine.Clock.defaultFakeTimer;
1721
- },
1722
-
1723
- installed: null
1724
- };
1725
- jasmine.Clock.installed = jasmine.Clock.real;
1726
-
1727
- //else for IE support
1728
- jasmine.getGlobal().setTimeout = function(funcToCall, millis) {
1729
- if (jasmine.Clock.installed.setTimeout.apply) {
1730
- return jasmine.Clock.installed.setTimeout.apply(this, arguments);
1731
- } else {
1732
- return jasmine.Clock.installed.setTimeout(funcToCall, millis);
1733
- }
1734
- };
1735
-
1736
- jasmine.getGlobal().setInterval = function(funcToCall, millis) {
1737
- if (jasmine.Clock.installed.setInterval.apply) {
1738
- return jasmine.Clock.installed.setInterval.apply(this, arguments);
1739
- } else {
1740
- return jasmine.Clock.installed.setInterval(funcToCall, millis);
1741
- }
1742
- };
1743
-
1744
- jasmine.getGlobal().clearTimeout = function(timeoutKey) {
1745
- if (jasmine.Clock.installed.clearTimeout.apply) {
1746
- return jasmine.Clock.installed.clearTimeout.apply(this, arguments);
1747
- } else {
1748
- return jasmine.Clock.installed.clearTimeout(timeoutKey);
1749
- }
1750
- };
1751
-
1752
- jasmine.getGlobal().clearInterval = function(timeoutKey) {
1753
- if (jasmine.Clock.installed.clearTimeout.apply) {
1754
- return jasmine.Clock.installed.clearInterval.apply(this, arguments);
1755
- } else {
1756
- return jasmine.Clock.installed.clearInterval(timeoutKey);
1757
- }
1758
- };
1759
-
1760
- /**
1761
- * @constructor
1762
- */
1763
- jasmine.MultiReporter = function() {
1764
- this.subReporters_ = [];
1765
- };
1766
- jasmine.util.inherit(jasmine.MultiReporter, jasmine.Reporter);
1767
-
1768
- jasmine.MultiReporter.prototype.addReporter = function(reporter) {
1769
- this.subReporters_.push(reporter);
1770
- };
1771
-
1772
- (function() {
1773
- var functionNames = [
1774
- "reportRunnerStarting",
1775
- "reportRunnerResults",
1776
- "reportSuiteResults",
1777
- "reportSpecStarting",
1778
- "reportSpecResults",
1779
- "log"
1780
- ];
1781
- for (var i = 0; i < functionNames.length; i++) {
1782
- var functionName = functionNames[i];
1783
- jasmine.MultiReporter.prototype[functionName] = (function(functionName) {
1784
- return function() {
1785
- for (var j = 0; j < this.subReporters_.length; j++) {
1786
- var subReporter = this.subReporters_[j];
1787
- if (subReporter[functionName]) {
1788
- subReporter[functionName].apply(subReporter, arguments);
1789
- }
1790
- }
1791
- };
1792
- })(functionName);
1793
- }
1794
- })();
1795
- /**
1796
- * Holds results for a set of Jasmine spec. Allows for the results array to hold another jasmine.NestedResults
1797
- *
1798
- * @constructor
1799
- */
1800
- jasmine.NestedResults = function() {
1801
- /**
1802
- * The total count of results
1803
- */
1804
- this.totalCount = 0;
1805
- /**
1806
- * Number of passed results
1807
- */
1808
- this.passedCount = 0;
1809
- /**
1810
- * Number of failed results
1811
- */
1812
- this.failedCount = 0;
1813
- /**
1814
- * Was this suite/spec skipped?
1815
- */
1816
- this.skipped = false;
1817
- /**
1818
- * @ignore
1819
- */
1820
- this.items_ = [];
1821
- };
1822
-
1823
- /**
1824
- * Roll up the result counts.
1825
- *
1826
- * @param result
1827
- */
1828
- jasmine.NestedResults.prototype.rollupCounts = function(result) {
1829
- this.totalCount += result.totalCount;
1830
- this.passedCount += result.passedCount;
1831
- this.failedCount += result.failedCount;
1832
- };
1833
-
1834
- /**
1835
- * Adds a log message.
1836
- * @param values Array of message parts which will be concatenated later.
1837
- */
1838
- jasmine.NestedResults.prototype.log = function(values) {
1839
- this.items_.push(new jasmine.MessageResult(values));
1840
- };
1841
-
1842
- /**
1843
- * Getter for the results: message & results.
1844
- */
1845
- jasmine.NestedResults.prototype.getItems = function() {
1846
- return this.items_;
1847
- };
1848
-
1849
- /**
1850
- * Adds a result, tracking counts (total, passed, & failed)
1851
- * @param {jasmine.ExpectationResult|jasmine.NestedResults} result
1852
- */
1853
- jasmine.NestedResults.prototype.addResult = function(result) {
1854
- if (result.type != 'log') {
1855
- if (result.items_) {
1856
- this.rollupCounts(result);
1857
- } else {
1858
- this.totalCount++;
1859
- if (result.passed()) {
1860
- this.passedCount++;
1861
- } else {
1862
- this.failedCount++;
1863
- }
1864
- }
1865
- }
1866
- this.items_.push(result);
1867
- };
1868
-
1869
- /**
1870
- * @returns {Boolean} True if <b>everything</b> below passed
1871
- */
1872
- jasmine.NestedResults.prototype.passed = function() {
1873
- return this.passedCount === this.totalCount;
1874
- };
1875
- /**
1876
- * Base class for pretty printing for expectation results.
1877
- */
1878
- jasmine.PrettyPrinter = function() {
1879
- this.ppNestLevel_ = 0;
1880
- };
1881
-
1882
- /**
1883
- * Formats a value in a nice, human-readable string.
1884
- *
1885
- * @param value
1886
- */
1887
- jasmine.PrettyPrinter.prototype.format = function(value) {
1888
- this.ppNestLevel_++;
1889
- try {
1890
- if (value === jasmine.undefined) {
1891
- this.emitScalar('undefined');
1892
- } else if (value === null) {
1893
- this.emitScalar('null');
1894
- } else if (value === jasmine.getGlobal()) {
1895
- this.emitScalar('<global>');
1896
- } else if (value.jasmineToString) {
1897
- this.emitScalar(value.jasmineToString());
1898
- } else if (typeof value === 'string') {
1899
- this.emitString(value);
1900
- } else if (jasmine.isSpy(value)) {
1901
- this.emitScalar("spy on " + value.identity);
1902
- } else if (value instanceof RegExp) {
1903
- this.emitScalar(value.toString());
1904
- } else if (typeof value === 'function') {
1905
- this.emitScalar('Function');
1906
- } else if (typeof value.nodeType === 'number') {
1907
- this.emitScalar('HTMLNode');
1908
- } else if (value instanceof Date) {
1909
- this.emitScalar('Date(' + value + ')');
1910
- } else if (value.__Jasmine_been_here_before__) {
1911
- this.emitScalar('<circular reference: ' + (jasmine.isArray_(value) ? 'Array' : 'Object') + '>');
1912
- } else if (jasmine.isArray_(value) || typeof value == 'object') {
1913
- value.__Jasmine_been_here_before__ = true;
1914
- if (jasmine.isArray_(value)) {
1915
- this.emitArray(value);
1916
- } else {
1917
- this.emitObject(value);
1918
- }
1919
- delete value.__Jasmine_been_here_before__;
1920
- } else {
1921
- this.emitScalar(value.toString());
1922
- }
1923
- } finally {
1924
- this.ppNestLevel_--;
1925
- }
1926
- };
1927
-
1928
- jasmine.PrettyPrinter.prototype.iterateObject = function(obj, fn) {
1929
- for (var property in obj) {
1930
- if (!obj.hasOwnProperty(property)) continue;
1931
- if (property == '__Jasmine_been_here_before__') continue;
1932
- fn(property, obj.__lookupGetter__ ? (obj.__lookupGetter__(property) !== jasmine.undefined &&
1933
- obj.__lookupGetter__(property) !== null) : false);
1934
- }
1935
- };
1936
-
1937
- jasmine.PrettyPrinter.prototype.emitArray = jasmine.unimplementedMethod_;
1938
- jasmine.PrettyPrinter.prototype.emitObject = jasmine.unimplementedMethod_;
1939
- jasmine.PrettyPrinter.prototype.emitScalar = jasmine.unimplementedMethod_;
1940
- jasmine.PrettyPrinter.prototype.emitString = jasmine.unimplementedMethod_;
1941
-
1942
- jasmine.StringPrettyPrinter = function() {
1943
- jasmine.PrettyPrinter.call(this);
1944
-
1945
- this.string = '';
1946
- };
1947
- jasmine.util.inherit(jasmine.StringPrettyPrinter, jasmine.PrettyPrinter);
1948
-
1949
- jasmine.StringPrettyPrinter.prototype.emitScalar = function(value) {
1950
- this.append(value);
1951
- };
1952
-
1953
- jasmine.StringPrettyPrinter.prototype.emitString = function(value) {
1954
- this.append("'" + value + "'");
1955
- };
1956
-
1957
- jasmine.StringPrettyPrinter.prototype.emitArray = function(array) {
1958
- if (this.ppNestLevel_ > jasmine.MAX_PRETTY_PRINT_DEPTH) {
1959
- this.append("Array");
1960
- return;
1961
- }
1962
-
1963
- this.append('[ ');
1964
- for (var i = 0; i < array.length; i++) {
1965
- if (i > 0) {
1966
- this.append(', ');
1967
- }
1968
- this.format(array[i]);
1969
- }
1970
- this.append(' ]');
1971
- };
1972
-
1973
- jasmine.StringPrettyPrinter.prototype.emitObject = function(obj) {
1974
- if (this.ppNestLevel_ > jasmine.MAX_PRETTY_PRINT_DEPTH) {
1975
- this.append("Object");
1976
- return;
1977
- }
1978
-
1979
- var self = this;
1980
- this.append('{ ');
1981
- var first = true;
1982
-
1983
- this.iterateObject(obj, function(property, isGetter) {
1984
- if (first) {
1985
- first = false;
1986
- } else {
1987
- self.append(', ');
1988
- }
1989
-
1990
- self.append(property);
1991
- self.append(' : ');
1992
- if (isGetter) {
1993
- self.append('<getter>');
1994
- } else {
1995
- self.format(obj[property]);
1996
- }
1997
- });
1998
-
1999
- this.append(' }');
2000
- };
2001
-
2002
- jasmine.StringPrettyPrinter.prototype.append = function(value) {
2003
- this.string += value;
2004
- };
2005
- jasmine.Queue = function(env) {
2006
- this.env = env;
2007
-
2008
- // parallel to blocks. each true value in this array means the block will
2009
- // get executed even if we abort
2010
- this.ensured = [];
2011
- this.blocks = [];
2012
- this.running = false;
2013
- this.index = 0;
2014
- this.offset = 0;
2015
- this.abort = false;
2016
- };
2017
-
2018
- jasmine.Queue.prototype.addBefore = function(block, ensure) {
2019
- if (ensure === jasmine.undefined) {
2020
- ensure = false;
2021
- }
2022
-
2023
- this.blocks.unshift(block);
2024
- this.ensured.unshift(ensure);
2025
- };
2026
-
2027
- jasmine.Queue.prototype.add = function(block, ensure) {
2028
- if (ensure === jasmine.undefined) {
2029
- ensure = false;
2030
- }
2031
-
2032
- this.blocks.push(block);
2033
- this.ensured.push(ensure);
2034
- };
2035
-
2036
- jasmine.Queue.prototype.insertNext = function(block, ensure) {
2037
- if (ensure === jasmine.undefined) {
2038
- ensure = false;
2039
- }
2040
-
2041
- this.ensured.splice((this.index + this.offset + 1), 0, ensure);
2042
- this.blocks.splice((this.index + this.offset + 1), 0, block);
2043
- this.offset++;
2044
- };
2045
-
2046
- jasmine.Queue.prototype.start = function(onComplete) {
2047
- this.running = true;
2048
- this.onComplete = onComplete;
2049
- this.next_();
2050
- };
2051
-
2052
- jasmine.Queue.prototype.isRunning = function() {
2053
- return this.running;
2054
- };
2055
-
2056
- jasmine.Queue.LOOP_DONT_RECURSE = true;
2057
-
2058
- jasmine.Queue.prototype.next_ = function() {
2059
- var self = this;
2060
- var goAgain = true;
2061
-
2062
- while (goAgain) {
2063
- goAgain = false;
2064
-
2065
- if (self.index < self.blocks.length && !(this.abort && !this.ensured[self.index])) {
2066
- var calledSynchronously = true;
2067
- var completedSynchronously = false;
2068
-
2069
- var onComplete = function () {
2070
- if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {
2071
- completedSynchronously = true;
2072
- return;
2073
- }
2074
-
2075
- if (self.blocks[self.index].abort) {
2076
- self.abort = true;
2077
- }
2078
-
2079
- self.offset = 0;
2080
- self.index++;
2081
-
2082
- var now = new Date().getTime();
2083
- if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {
2084
- self.env.lastUpdate = now;
2085
- self.env.setTimeout(function() {
2086
- self.next_();
2087
- }, 0);
2088
- } else {
2089
- if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {
2090
- goAgain = true;
2091
- } else {
2092
- self.next_();
2093
- }
2094
- }
2095
- };
2096
- self.blocks[self.index].execute(onComplete);
2097
-
2098
- calledSynchronously = false;
2099
- if (completedSynchronously) {
2100
- onComplete();
2101
- }
2102
-
2103
- } else {
2104
- self.running = false;
2105
- if (self.onComplete) {
2106
- self.onComplete();
2107
- }
2108
- }
2109
- }
2110
- };
2111
-
2112
- jasmine.Queue.prototype.results = function() {
2113
- var results = new jasmine.NestedResults();
2114
- for (var i = 0; i < this.blocks.length; i++) {
2115
- if (this.blocks[i].results) {
2116
- results.addResult(this.blocks[i].results());
2117
- }
2118
- }
2119
- return results;
2120
- };
2121
-
2122
-
2123
- /**
2124
- * Runner
2125
- *
2126
- * @constructor
2127
- * @param {jasmine.Env} env
2128
- */
2129
- jasmine.Runner = function(env) {
2130
- var self = this;
2131
- self.env = env;
2132
- self.queue = new jasmine.Queue(env);
2133
- self.before_ = [];
2134
- self.after_ = [];
2135
- self.suites_ = [];
2136
- };
2137
-
2138
- jasmine.Runner.prototype.execute = function() {
2139
- var self = this;
2140
- if (self.env.reporter.reportRunnerStarting) {
2141
- self.env.reporter.reportRunnerStarting(this);
2142
- }
2143
- self.queue.start(function () {
2144
- self.finishCallback();
2145
- });
2146
- };
2147
-
2148
- jasmine.Runner.prototype.beforeEach = function(beforeEachFunction) {
2149
- beforeEachFunction.typeName = 'beforeEach';
2150
- this.before_.splice(0,0,beforeEachFunction);
2151
- };
2152
-
2153
- jasmine.Runner.prototype.afterEach = function(afterEachFunction) {
2154
- afterEachFunction.typeName = 'afterEach';
2155
- this.after_.splice(0,0,afterEachFunction);
2156
- };
2157
-
2158
-
2159
- jasmine.Runner.prototype.finishCallback = function() {
2160
- this.env.reporter.reportRunnerResults(this);
2161
- };
2162
-
2163
- jasmine.Runner.prototype.addSuite = function(suite) {
2164
- this.suites_.push(suite);
2165
- };
2166
-
2167
- jasmine.Runner.prototype.add = function(block) {
2168
- if (block instanceof jasmine.Suite) {
2169
- this.addSuite(block);
2170
- }
2171
- this.queue.add(block);
2172
- };
2173
-
2174
- jasmine.Runner.prototype.specs = function () {
2175
- var suites = this.suites();
2176
- var specs = [];
2177
- for (var i = 0; i < suites.length; i++) {
2178
- specs = specs.concat(suites[i].specs());
2179
- }
2180
- return specs;
2181
- };
2182
-
2183
- jasmine.Runner.prototype.suites = function() {
2184
- return this.suites_;
2185
- };
2186
-
2187
- jasmine.Runner.prototype.topLevelSuites = function() {
2188
- var topLevelSuites = [];
2189
- for (var i = 0; i < this.suites_.length; i++) {
2190
- if (!this.suites_[i].parentSuite) {
2191
- topLevelSuites.push(this.suites_[i]);
2192
- }
2193
- }
2194
- return topLevelSuites;
2195
- };
2196
-
2197
- jasmine.Runner.prototype.results = function() {
2198
- return this.queue.results();
2199
- };
2200
- /**
2201
- * Internal representation of a Jasmine specification, or test.
2202
- *
2203
- * @constructor
2204
- * @param {jasmine.Env} env
2205
- * @param {jasmine.Suite} suite
2206
- * @param {String} description
2207
- */
2208
- jasmine.Spec = function(env, suite, description) {
2209
- if (!env) {
2210
- throw new Error('jasmine.Env() required');
2211
- }
2212
- if (!suite) {
2213
- throw new Error('jasmine.Suite() required');
2214
- }
2215
- var spec = this;
2216
- spec.id = env.nextSpecId ? env.nextSpecId() : null;
2217
- spec.env = env;
2218
- spec.suite = suite;
2219
- spec.description = description;
2220
- spec.queue = new jasmine.Queue(env);
2221
-
2222
- spec.afterCallbacks = [];
2223
- spec.spies_ = [];
2224
-
2225
- spec.results_ = new jasmine.NestedResults();
2226
- spec.results_.description = description;
2227
- spec.matchersClass = null;
2228
- };
2229
-
2230
- jasmine.Spec.prototype.getFullName = function() {
2231
- return this.suite.getFullName() + ' ' + this.description + '.';
2232
- };
2233
-
2234
-
2235
- jasmine.Spec.prototype.results = function() {
2236
- return this.results_;
2237
- };
2238
-
2239
- /**
2240
- * All parameters are pretty-printed and concatenated together, then written to the spec's output.
2241
- *
2242
- * Be careful not to leave calls to <code>jasmine.log</code> in production code.
2243
- */
2244
- jasmine.Spec.prototype.log = function() {
2245
- return this.results_.log(arguments);
2246
- };
2247
-
2248
- jasmine.Spec.prototype.runs = function (func) {
2249
- var block = new jasmine.Block(this.env, func, this);
2250
- this.addToQueue(block);
2251
- return this;
2252
- };
2253
-
2254
- jasmine.Spec.prototype.addToQueue = function (block) {
2255
- if (this.queue.isRunning()) {
2256
- this.queue.insertNext(block);
2257
- } else {
2258
- this.queue.add(block);
2259
- }
2260
- };
2261
-
2262
- /**
2263
- * @param {jasmine.ExpectationResult} result
2264
- */
2265
- jasmine.Spec.prototype.addMatcherResult = function(result) {
2266
- this.results_.addResult(result);
2267
- };
2268
-
2269
- jasmine.Spec.prototype.expect = function(actual) {
2270
- var positive = new (this.getMatchersClass_())(this.env, actual, this);
2271
- positive.not = new (this.getMatchersClass_())(this.env, actual, this, true);
2272
- return positive;
2273
- };
2274
-
2275
- /**
2276
- * Waits a fixed time period before moving to the next block.
2277
- *
2278
- * @deprecated Use waitsFor() instead
2279
- * @param {Number} timeout milliseconds to wait
2280
- */
2281
- jasmine.Spec.prototype.waits = function(timeout) {
2282
- var waitsFunc = new jasmine.WaitsBlock(this.env, timeout, this);
2283
- this.addToQueue(waitsFunc);
2284
- return this;
2285
- };
2286
-
2287
- /**
2288
- * Waits for the latchFunction to return true before proceeding to the next block.
2289
- *
2290
- * @param {Function} latchFunction
2291
- * @param {String} optional_timeoutMessage
2292
- * @param {Number} optional_timeout
2293
- */
2294
- jasmine.Spec.prototype.waitsFor = function(latchFunction, optional_timeoutMessage, optional_timeout) {
2295
- var latchFunction_ = null;
2296
- var optional_timeoutMessage_ = null;
2297
- var optional_timeout_ = null;
2298
-
2299
- for (var i = 0; i < arguments.length; i++) {
2300
- var arg = arguments[i];
2301
- switch (typeof arg) {
2302
- case 'function':
2303
- latchFunction_ = arg;
2304
- break;
2305
- case 'string':
2306
- optional_timeoutMessage_ = arg;
2307
- break;
2308
- case 'number':
2309
- optional_timeout_ = arg;
2310
- break;
2311
- }
2312
- }
2313
-
2314
- var waitsForFunc = new jasmine.WaitsForBlock(this.env, optional_timeout_, latchFunction_, optional_timeoutMessage_, this);
2315
- this.addToQueue(waitsForFunc);
2316
- return this;
2317
- };
2318
-
2319
- jasmine.Spec.prototype.fail = function (e) {
2320
- var expectationResult = new jasmine.ExpectationResult({
2321
- passed: false,
2322
- message: e ? jasmine.util.formatException(e) : 'Exception',
2323
- trace: { stack: e.stack }
2324
- });
2325
- this.results_.addResult(expectationResult);
2326
- };
2327
-
2328
- jasmine.Spec.prototype.getMatchersClass_ = function() {
2329
- return this.matchersClass || this.env.matchersClass;
2330
- };
2331
-
2332
- jasmine.Spec.prototype.addMatchers = function(matchersPrototype) {
2333
- var parent = this.getMatchersClass_();
2334
- var newMatchersClass = function() {
2335
- parent.apply(this, arguments);
2336
- };
2337
- jasmine.util.inherit(newMatchersClass, parent);
2338
- jasmine.Matchers.wrapInto_(matchersPrototype, newMatchersClass);
2339
- this.matchersClass = newMatchersClass;
2340
- };
2341
-
2342
- jasmine.Spec.prototype.finishCallback = function() {
2343
- this.env.reporter.reportSpecResults(this);
2344
- };
2345
-
2346
- jasmine.Spec.prototype.finish = function(onComplete) {
2347
- this.removeAllSpies();
2348
- this.finishCallback();
2349
- if (onComplete) {
2350
- onComplete();
2351
- }
2352
- };
2353
-
2354
- jasmine.Spec.prototype.after = function(doAfter) {
2355
- if (this.queue.isRunning()) {
2356
- this.queue.add(new jasmine.Block(this.env, doAfter, this), true);
2357
- } else {
2358
- this.afterCallbacks.unshift(doAfter);
2359
- }
2360
- };
2361
-
2362
- jasmine.Spec.prototype.execute = function(onComplete) {
2363
- var spec = this;
2364
- if (!spec.env.specFilter(spec)) {
2365
- spec.results_.skipped = true;
2366
- spec.finish(onComplete);
2367
- return;
2368
- }
2369
-
2370
- this.env.reporter.reportSpecStarting(this);
2371
-
2372
- spec.env.currentSpec = spec;
2373
-
2374
- spec.addBeforesAndAftersToQueue();
2375
-
2376
- spec.queue.start(function () {
2377
- spec.finish(onComplete);
2378
- });
2379
- };
2380
-
2381
- jasmine.Spec.prototype.addBeforesAndAftersToQueue = function() {
2382
- var runner = this.env.currentRunner();
2383
- var i;
2384
-
2385
- for (var suite = this.suite; suite; suite = suite.parentSuite) {
2386
- for (i = 0; i < suite.before_.length; i++) {
2387
- this.queue.addBefore(new jasmine.Block(this.env, suite.before_[i], this));
2388
- }
2389
- }
2390
- for (i = 0; i < runner.before_.length; i++) {
2391
- this.queue.addBefore(new jasmine.Block(this.env, runner.before_[i], this));
2392
- }
2393
- for (i = 0; i < this.afterCallbacks.length; i++) {
2394
- this.queue.add(new jasmine.Block(this.env, this.afterCallbacks[i], this), true);
2395
- }
2396
- for (suite = this.suite; suite; suite = suite.parentSuite) {
2397
- for (i = 0; i < suite.after_.length; i++) {
2398
- this.queue.add(new jasmine.Block(this.env, suite.after_[i], this), true);
2399
- }
2400
- }
2401
- for (i = 0; i < runner.after_.length; i++) {
2402
- this.queue.add(new jasmine.Block(this.env, runner.after_[i], this), true);
2403
- }
2404
- };
2405
-
2406
- jasmine.Spec.prototype.explodes = function() {
2407
- throw 'explodes function should not have been called';
2408
- };
2409
-
2410
- jasmine.Spec.prototype.spyOn = function(obj, methodName, ignoreMethodDoesntExist) {
2411
- if (obj == jasmine.undefined) {
2412
- throw "spyOn could not find an object to spy upon for " + methodName + "()";
2413
- }
2414
-
2415
- if (!ignoreMethodDoesntExist && obj[methodName] === jasmine.undefined) {
2416
- throw methodName + '() method does not exist';
2417
- }
2418
-
2419
- if (!ignoreMethodDoesntExist && obj[methodName] && obj[methodName].isSpy) {
2420
- throw new Error(methodName + ' has already been spied upon');
2421
- }
2422
-
2423
- var spyObj = jasmine.createSpy(methodName);
2424
-
2425
- this.spies_.push(spyObj);
2426
- spyObj.baseObj = obj;
2427
- spyObj.methodName = methodName;
2428
- spyObj.originalValue = obj[methodName];
2429
-
2430
- obj[methodName] = spyObj;
2431
-
2432
- return spyObj;
2433
- };
2434
-
2435
- jasmine.Spec.prototype.removeAllSpies = function() {
2436
- for (var i = 0; i < this.spies_.length; i++) {
2437
- var spy = this.spies_[i];
2438
- spy.baseObj[spy.methodName] = spy.originalValue;
2439
- }
2440
- this.spies_ = [];
2441
- };
2442
-
2443
- /**
2444
- * Internal representation of a Jasmine suite.
2445
- *
2446
- * @constructor
2447
- * @param {jasmine.Env} env
2448
- * @param {String} description
2449
- * @param {Function} specDefinitions
2450
- * @param {jasmine.Suite} parentSuite
2451
- */
2452
- jasmine.Suite = function(env, description, specDefinitions, parentSuite) {
2453
- var self = this;
2454
- self.id = env.nextSuiteId ? env.nextSuiteId() : null;
2455
- self.description = description;
2456
- self.queue = new jasmine.Queue(env);
2457
- self.parentSuite = parentSuite;
2458
- self.env = env;
2459
- self.before_ = [];
2460
- self.after_ = [];
2461
- self.children_ = [];
2462
- self.suites_ = [];
2463
- self.specs_ = [];
2464
- };
2465
-
2466
- jasmine.Suite.prototype.getFullName = function() {
2467
- var fullName = this.description;
2468
- for (var parentSuite = this.parentSuite; parentSuite; parentSuite = parentSuite.parentSuite) {
2469
- fullName = parentSuite.description + ' ' + fullName;
2470
- }
2471
- return fullName;
2472
- };
2473
-
2474
- jasmine.Suite.prototype.finish = function(onComplete) {
2475
- this.env.reporter.reportSuiteResults(this);
2476
- this.finished = true;
2477
- if (typeof(onComplete) == 'function') {
2478
- onComplete();
2479
- }
2480
- };
2481
-
2482
- jasmine.Suite.prototype.beforeEach = function(beforeEachFunction) {
2483
- beforeEachFunction.typeName = 'beforeEach';
2484
- this.before_.unshift(beforeEachFunction);
2485
- };
2486
-
2487
- jasmine.Suite.prototype.afterEach = function(afterEachFunction) {
2488
- afterEachFunction.typeName = 'afterEach';
2489
- this.after_.unshift(afterEachFunction);
2490
- };
2491
-
2492
- jasmine.Suite.prototype.results = function() {
2493
- return this.queue.results();
2494
- };
2495
-
2496
- jasmine.Suite.prototype.add = function(suiteOrSpec) {
2497
- this.children_.push(suiteOrSpec);
2498
- if (suiteOrSpec instanceof jasmine.Suite) {
2499
- this.suites_.push(suiteOrSpec);
2500
- this.env.currentRunner().addSuite(suiteOrSpec);
2501
- } else {
2502
- this.specs_.push(suiteOrSpec);
2503
- }
2504
- this.queue.add(suiteOrSpec);
2505
- };
2506
-
2507
- jasmine.Suite.prototype.specs = function() {
2508
- return this.specs_;
2509
- };
2510
-
2511
- jasmine.Suite.prototype.suites = function() {
2512
- return this.suites_;
2513
- };
2514
-
2515
- jasmine.Suite.prototype.children = function() {
2516
- return this.children_;
2517
- };
2518
-
2519
- jasmine.Suite.prototype.execute = function(onComplete) {
2520
- var self = this;
2521
- this.queue.start(function () {
2522
- self.finish(onComplete);
2523
- });
2524
- };
2525
- jasmine.WaitsBlock = function(env, timeout, spec) {
2526
- this.timeout = timeout;
2527
- jasmine.Block.call(this, env, null, spec);
2528
- };
2529
-
2530
- jasmine.util.inherit(jasmine.WaitsBlock, jasmine.Block);
2531
-
2532
- jasmine.WaitsBlock.prototype.execute = function (onComplete) {
2533
- if (jasmine.VERBOSE) {
2534
- this.env.reporter.log('>> Jasmine waiting for ' + this.timeout + ' ms...');
2535
- }
2536
- this.env.setTimeout(function () {
2537
- onComplete();
2538
- }, this.timeout);
2539
- };
2540
- /**
2541
- * A block which waits for some condition to become true, with timeout.
2542
- *
2543
- * @constructor
2544
- * @extends jasmine.Block
2545
- * @param {jasmine.Env} env The Jasmine environment.
2546
- * @param {Number} timeout The maximum time in milliseconds to wait for the condition to become true.
2547
- * @param {Function} latchFunction A function which returns true when the desired condition has been met.
2548
- * @param {String} message The message to display if the desired condition hasn't been met within the given time period.
2549
- * @param {jasmine.Spec} spec The Jasmine spec.
2550
- */
2551
- jasmine.WaitsForBlock = function(env, timeout, latchFunction, message, spec) {
2552
- this.timeout = timeout || env.defaultTimeoutInterval;
2553
- this.latchFunction = latchFunction;
2554
- this.message = message;
2555
- this.totalTimeSpentWaitingForLatch = 0;
2556
- jasmine.Block.call(this, env, null, spec);
2557
- };
2558
- jasmine.util.inherit(jasmine.WaitsForBlock, jasmine.Block);
2559
-
2560
- jasmine.WaitsForBlock.TIMEOUT_INCREMENT = 10;
2561
-
2562
- jasmine.WaitsForBlock.prototype.execute = function(onComplete) {
2563
- if (jasmine.VERBOSE) {
2564
- this.env.reporter.log('>> Jasmine waiting for ' + (this.message || 'something to happen'));
2565
- }
2566
- var latchFunctionResult;
2567
- try {
2568
- latchFunctionResult = this.latchFunction.apply(this.spec);
2569
- } catch (e) {
2570
- this.spec.fail(e);
2571
- onComplete();
2572
- return;
2573
- }
2574
-
2575
- if (latchFunctionResult) {
2576
- onComplete();
2577
- } else if (this.totalTimeSpentWaitingForLatch >= this.timeout) {
2578
- var message = 'timed out after ' + this.timeout + ' msec waiting for ' + (this.message || 'something to happen');
2579
- this.spec.fail({
2580
- name: 'timeout',
2581
- message: message
2582
- });
2583
-
2584
- this.abort = true;
2585
- onComplete();
2586
- } else {
2587
- this.totalTimeSpentWaitingForLatch += jasmine.WaitsForBlock.TIMEOUT_INCREMENT;
2588
- var self = this;
2589
- this.env.setTimeout(function() {
2590
- self.execute(onComplete);
2591
- }, jasmine.WaitsForBlock.TIMEOUT_INCREMENT);
2592
- }
2593
- };
2594
-
2595
- jasmine.version_= {
2596
- "major": 1,
2597
- "minor": 3,
2598
- "build": 1,
2599
- "revision": 1354556913
2600
- };