Commit graph

1546 commits

Author SHA1 Message Date
rolux
ea08852676 update documentation 2012-06-02 14:10:47 +02:00
rolux
73fa856900 in documentation use foo, not <code>foo</code> 2012-06-02 13:06:44 +02:00
rolux
bd5a4b6318 Ox.parseMarkdown: in code spans or block, encode '>' 2012-06-02 12:51:59 +02:00
rolux
2482cec170 update documentation 2012-06-02 12:51:24 +02:00
rolux
39c2497bc5 Ox.Element: update documentation 2012-06-02 12:37:19 +02:00
rolux
38ba971dab Ox.doc: fix regular expressions 2012-06-02 12:36:48 +02:00
rolux
ba954cfedf Ox.getset: fix documentation 2012-06-02 12:36:25 +02:00
rolux
ad338ede3b correctly handle shadowed inherited properties 2012-06-02 12:13:25 +02:00
rolux
82599aec75 correctly display 'inherited properties' section title 2012-06-02 12:01:35 +02:00
rolux
9b6b6fd356 fix toggleOption method 2012-06-02 12:00:52 +02:00
rolux
4434e063bc typo in docs 2012-06-02 11:52:36 +02:00
rolux
d78e644eb8 Ox.doc: make sure root item properties get included in inherited properties 2012-06-02 11:49:14 +02:00
rolux
6d528898d2 update docs 2012-06-02 11:48:47 +02:00
rolux
2471577cf6 update documentation 2012-06-02 11:25:52 +02:00
rolux
0cefbe1997 display inherited properties 2012-06-02 11:21:16 +02:00
rolux
55c76942f9 add fixme 2012-06-02 11:20:55 +02:00
rolux
23af95b611 correct documentation 2012-06-02 11:19:54 +02:00
rolux
9b4a046159 remove a print statement 2012-06-02 11:19:33 +02:00
rolux
4221d437ce Ox.doc: parse inherited properties 2012-06-01 01:41:38 +02:00
j
ac82c3b30e Ox.VideoPreview, make timeline optional, fix width/height if not scale to fit 2012-05-31 20:15:44 +02:00
rolux
f8ab51fa40 add alternative signature to Ox.extend 2012-05-31 12:35:09 +02:00
rolux
8c347d9009 update documentation (classes) 2012-05-31 12:32:54 +02:00
rolux
684c4ceaf2 add second parameter to Ox.count 2012-05-31 00:48:55 +02:00
rolux
54266bd3b2 minor fixes 2012-05-31 00:47:57 +02:00
rolux
3683bf3d29 refactor HTML module; add functionality to Ox.parseMarkdown; add tests 2012-05-31 00:47:19 +02:00
rolux
d6b86b518b display class 2012-05-30 22:40:34 +02:00
rolux
f39a69ccef add semicolon 2012-05-30 22:40:07 +02:00
rolux
abc6e948e0 update docs 2012-05-30 22:39:47 +02:00
rolux
b960ef3ea4 Ox.$: update documentation, add trigger method, add test 2012-05-30 22:38:48 +02:00
rolux
f1ccfa44f4 add Ox.isError, add tests 2012-05-30 22:37:23 +02:00
rolux
91026a0c77 throw warning, not error, when returning false from Ox.forEach or Ox.loop 2012-05-30 19:25:18 +02:00
rolux
95de001d8b in Ox.DocPanel, allow for passing a string as self.options.files 2012-05-30 19:24:45 +02:00
rolux
3e6e938596 trying to fix SourceViewer code block CSS 2012-05-30 19:23:23 +02:00
rolux
721989b67b cleanup 2012-05-30 19:22:24 +02:00
rolux
bff20cd96a in parseMarkdown, don't write empty class for code blocks, and don't encode their content 2012-05-30 19:21:59 +02:00
rolux
e9fb83c578 in Ox.doc, simplify and speed up parseTokens() 2012-05-30 19:19:51 +02:00
j
19dba40ec8 always set enabledUsers 2012-05-30 17:20:58 +02:00
rolux
5b6f161612 add localStorage to polyfills; slightly refactor Ox.localStorage; remove whitespace; update example 2012-05-30 16:21:07 +02:00
rolux
41a3eaacd4 remove dead code 2012-05-30 15:22:40 +02:00
rolux
8104a9100e update SourceViewer CSS 2012-05-30 15:20:15 +02:00
rolux
9c20602324 leave doc comments in the source code 2012-05-30 15:20:00 +02:00
rolux
9269b96469 use markdown 2012-05-30 13:34:57 +02:00
rolux
c831b89944 fix a bug that would keep test results from being displayed 2012-05-30 13:33:37 +02:00
rolux
07369fefec add Ox.parseMarkdown and Ox.encodeEmailAddress 2012-05-30 13:32:33 +02:00
rolux
1c98a3198a correct documentation, use markdown 2012-05-30 13:31:42 +02:00
rolux
ca05f24a6a update and fix tests 2012-05-30 10:19:30 +02:00
j
2f98800715 typo 2012-05-30 02:32:14 +02:00
j
888bf094ad only sort object keys in treelist 2012-05-30 02:29:38 +02:00
rolux
6847102507 fix documentation 2012-05-30 00:28:52 +02:00
rolux
c12c49d4d1 update Ox.DocPage 2012-05-30 00:28:14 +02:00
rolux
49adbe7048 fix CSS for OxSourceCode 2012-05-30 00:27:14 +02:00
rolux
f7e58b05e9 update Ox.doc; add (some) inline comments in Ox.test 2012-05-30 00:26:25 +02:00
rolux
250db05abc correct Ox.doc documentation 2012-05-29 16:19:57 +02:00
rolux
e791e93a65 update SourceCode CSS 2012-05-29 16:18:37 +02:00
rolux
5dc654ad6d Ox.doc: change test object from {statement, result} to {statement, expected}, plus some refactoring; Ox.test: allow source, file, files, docObject or docObjects as first argument, make it testable and add a test, plus some refactoring; Ox.tokenize: add error type, continue lexing on error 2012-05-29 16:18:05 +02:00
rolux
38016aa06b Ox.doc: add tests; Ox.test: add documentation 2012-05-29 13:48:54 +02:00
rolux
c5fdc1ab39 simplify escapeRegExp regexp 2012-05-29 12:59:41 +02:00
rolux
7dd9169b3f Ox.fallback -> Ox.polyfill 2012-05-29 12:20:50 +02:00
rolux
b151a0c9a8 fix formatting bugs related to optional replacements 2012-05-29 12:14:58 +02:00
rolux
8cd27bca2f 'null' and 'undefined' are primitives, too 2012-05-29 12:12:54 +02:00
j
a0646c54d3 add more documentation tooltip.show 2012-05-29 11:18:36 +02:00
j
266a0fa9df fix tooltip 2012-05-28 21:03:48 +00:00
j
91e1065aab rename Ox.UI source files, remove Ox. prefix 2012-05-28 19:44:12 +00:00
j
005d50c389 self.setOption ~> that.update 2012-05-28 19:35:41 +00:00
rolux
9ee0742b53 refactoring 2012-05-28 18:21:00 +02:00
rlx
ab68c4a54f add that.update to Ox.Element 2012-05-28 16:16:23 +00:00
rolux
2323525e25 that.update() -> that.updatePanel() 2012-05-28 17:53:21 +02:00
rolux
461a237880 .bind -> .on, .unbind -> .off 2012-05-28 16:06:22 +02:00
rolux
f45f993f42 minor reformatting 2012-05-28 16:04:50 +02:00
rolux
de9021ca0c add fixme 2012-05-28 16:04:28 +02:00
rolux
102d8dce41 in event callbacks, use this., not data._element 2012-05-28 16:03:59 +02:00
rolux
7f05af7380 allow for binding a callback to all events of an element; change the signature of event callbacks from (data) to (data, event), where event is the original jQuery event (formerly data._event) 2012-05-28 16:02:25 +02:00
rolux
8c60fef203 translate foo to <code>foo</code> 2012-05-28 15:58:10 +02:00
rolux
ef15919a3e rename the 'original event data' property of Ox.List drag & drop events from '_event' to 'event' 2012-05-28 15:55:35 +02:00
rolux
2b592a8f2d add comment 2012-05-28 15:53:38 +02:00
rolux
a80534a1bd Ox.$.bind -> Ox.$.on, Ox.$.unbind -> Ox.$.off 2012-05-28 15:53:10 +02:00
rolux
3208ab35b9 improved test 2012-05-28 15:52:27 +02:00
rolux
1b99ab0fc9 cleanup and simplify Ox.JQueryElement 2012-05-28 11:30:51 +02:00
rolux
8210a0c5cd fix a bug in sort, rename vars, re-enable Ox.api documentation 2012-05-28 07:52:46 +02:00
rolux
01493c1fe5 re-order methods 2012-05-27 23:17:40 +02:00
rolux
c09ef8b2b6 add a fixme and a semicolon 2012-05-27 23:17:02 +02:00
rolux
3fa59712c8 fix a potential bug in Ox.decodeBase32 2012-05-27 23:16:35 +02:00
rolux
9d26a4b6c3 add tests 2012-05-27 23:14:59 +02:00
rolux
b6411d485a off by one in Ox.encodeBase26 2012-05-27 22:59:43 +02:00
rolux
f030596468 remove Ox.TYPES 2012-05-27 22:09:52 +02:00
rolux
30e59f5538 when passing an array to Ox.values, return a clone, not the original array 2012-05-27 22:08:08 +02:00
rolux
9cc9a167f8 minor cleanup 2012-05-27 21:53:27 +02:00
rolux
948437b535 in Ox.doc, fix item.line; in Ox.tokenize, make line and column start at 1, not 0 2012-05-27 21:53:02 +02:00
rolux
5204ef14b4 update documentation, add test 2012-05-27 21:38:02 +02:00
rolux
5a07fc2519 typo in documentation 2012-05-27 21:34:16 +02:00
rolux
51edb6b82a add missing semicolons 2012-05-27 21:33:36 +02:00
rolux
2ea1283901 use new-style tokens 2012-05-27 21:33:04 +02:00
rolux
f98d997c4a typo in comment 2012-05-27 21:32:39 +02:00
rolux
b9f7490436 improve test 2012-05-27 21:32:08 +02:00
rolux
45942cc3f2 fix Ox.isEqual(-0, +0), update tests 2012-05-27 18:59:40 +02:00
rolux
8612218011 remove print statement, make slow tests faster 2012-05-27 18:46:59 +02:00
rolux
b44b2da4d2 use simplified async test syntax 2012-05-27 18:44:00 +02:00
rolux
ba4086bc55 Ox.noop: call the last (not the first) argument in case it is a function - this way it can be used as an async iterator 2012-05-27 18:43:12 +02:00
rolux
a811f29837 add test 2012-05-27 18:41:14 +02:00
rolux
f3b0bb6c86 simplify async test syntax, allow for files with ?random suffix 2012-05-27 18:40:51 +02:00
rolux
f996a24ce2 don't require async tests to also return synchronously 2012-05-27 17:00:18 +02:00
rolux
54694e3d7e add async test for Ox.encodeDeflate 2012-05-27 16:54:50 +02:00
rolux
27b55e2b6e update DocPage ('examples' property renamed to 'tests') 2012-05-27 16:54:20 +02:00
rolux
b4bb926c0c move Ox.parseDuration to String.js 2012-05-27 16:53:23 +02:00
rolux
6a2ac97bec in Ox.test, allow for async tests; in Ox.doc, rename the 'examples' property to 'tests' 2012-05-27 16:52:48 +02:00
rolux
6e7743efd3 move Ox.parseDuration to String.js 2012-05-27 16:51:49 +02:00
rolux
a34c406d78 Date.js: add the missing date argument to Ox.getTimezoneOffset (the current timezone's offset may have been different in the past); return '+0000', not '-0000', in Ox.getTimezoneOffsetString; correct a test for Ox.makeDate 2012-05-27 15:05:24 +02:00
rolux
4b8c1a7d6b Ox.formatDate: better tests for '%s' and '%+', fix '%s', '%Z' and '%z' 2012-05-27 15:01:22 +02:00
rolux
707899b61c add test 2012-05-27 13:42:55 +02:00
rolux
ccae6e4997 reorder regexp, add test 2012-05-27 13:40:19 +02:00
rolux
cc29f8f832 in Ox.sanitizeHTML, allow mailto: links 2012-05-27 13:28:08 +02:00
rolux
17983efc47 in Ox.sanitizeHTML, fix a bug with adding links 2012-05-27 13:11:49 +02:00
rolux
c41afd2f5d Ox.parseHTML -> Ox.sanitizeHTML, Ox.encodeHTML -> Ox.encodeHTMLEntities, Ox.decodeHTML -> Ox.decodeHTMLEntities 2012-05-27 12:40:02 +02:00
rolux
fef07dff6f rewrite formatText for clarity, and use new Ox.highlightHTML 2012-05-27 12:38:14 +02:00
rolux
40d1d021d4 remove Ox.encodeHTML and Ox.decodeHTML; move Ox.encodeHTMLEntities and Ox.decodeHTMLEntities to HTML.js 2012-05-27 12:37:09 +02:00
rolux
b93750e325 replace Ox.parseEmailAddresses and Ox.parseURLs with Ox.addLinks; rename Ox.parseHTML to Ox.sanitizeHTML; add Ox.normalizeHTML; update Ox.encodeHTMLEntities and Ox.decodeHTMLEntities so that they also cover the previous Ox.encodeHTML and Ox.decodeHTML 2012-05-27 12:36:16 +02:00
rolux
f94395d652 move Ox.parseURL to String.js and Ox.highlightHTML to HTML.js 2012-05-27 12:31:09 +02:00
rolux
68c06a76bf fix Ox.replaceRegExp 2012-05-26 23:15:09 +02:00
j
ba724933e8 fix setting position and paused state on timeline panel and player 2012-05-26 19:01:05 +00:00
j
68d50978ba trailing comma removal, 2012-05-26 15:48:19 +00:00
j
61e05f4f86 fix object stringify 2012-05-26 15:47:41 +00:00
j
0fc0e671e1 allow changing options.paused before metadata is loaded, trigger loadedmetadata event 2012-05-26 13:32:31 +00:00
rolux
6169a4e6ec in JSON.parse, throw original error 2012-05-26 15:09:57 +02:00
rolux
f37c60b31a json dates have milliseconds 2012-05-26 15:05:35 +02:00
rolux
5c2842e0d4 add Ox.splice 2012-05-26 15:05:11 +02:00
rolux
037685e738 json dates are utc 2012-05-26 14:42:59 +02:00
rolux
12ed2c93fc fix #799: use '(function() {}())', not '(function() {})()' 2012-05-26 14:38:45 +02:00
rolux
5bfc555b9e add Ox.fallback.JSON 2012-05-26 14:33:50 +02:00
j
033155cc51 expose paused as option in VideoEdito and VideoPlayerPanel 2012-05-26 11:52:08 +00:00
rolux
d9c69a0975 improve performance of DocPanel by returning tokens (not source) from Ox.doc and making Ox.SyntaxHighlighter accept tokens 2012-05-26 13:11:06 +02:00
rolux
6b12776ed9 update docs, add tests 2012-05-26 13:02:50 +02:00
rolux
e081f5b0ee use new-style (textual, not tokenized) source 2012-05-26 12:56:23 +02:00
rolux
ba4588f3fa use new-style tokens 2012-05-26 12:55:54 +02:00
rolux
6c98a82800 add Ox.KEYWORDS 2012-05-26 12:55:20 +02:00
rolux
5a2ecca0f1 improve Ox.tokenize, add Ox.identify 2012-05-26 12:54:52 +02:00
rolux
08aedd34fd update docs 2012-05-26 00:44:21 +02:00
rolux
9ffe48b526 move comment out of docs 2012-05-26 00:42:32 +02:00
rolux
093af4ee35 use loadScriptsParallel 2012-05-26 00:20:52 +02:00
rolux
5086c5da90 test for undefined 2012-05-26 00:20:43 +02:00
rolux
65c070d6b6 update test, add comments 2012-05-26 00:18:50 +02:00
rolux
463c9d9e90 rename vars 2012-05-26 00:18:08 +02:00
rolux
93cefc518a add a test 2012-05-26 00:17:32 +02:00
rolux
b4c0060861 better Ox.minify 2012-05-26 00:02:28 +02:00
j
5fa84fc9af remove trailing commas 2012-05-25 21:59:48 +00:00
j
aa8f4133be IE8 fixes 2012-05-25 21:42:10 +00:00
rolux
12dcdf13fc fix Ox.isEqual 2012-05-25 23:00:28 +02:00
rolux
c481889f3a typo 2012-05-25 22:30:17 +02:00
rolux
735b47ca8d update comment 2012-05-25 22:27:39 +02:00
rolux
b2cae84ca9 rename vars 2012-05-25 21:25:48 +02:00
rolux
5ad848c563 fix Ox.typeOf 2012-05-25 21:19:27 +02:00