Commit graph

321 commits

Author SHA1 Message Date
rolux
f8ab51fa40 add alternative signature to Ox.extend 2012-05-31 12:35:09 +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
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
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
rolux
5b6f161612 add localStorage to polyfills; slightly refactor Ox.localStorage; remove whitespace; update example 2012-05-30 16:21:07 +02:00
rolux
9269b96469 use markdown 2012-05-30 13:34:57 +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
rolux
6847102507 fix documentation 2012-05-30 00:28:52 +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
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
8cd27bca2f 'null' and 'undefined' are primitives, too 2012-05-29 12:12:54 +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
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
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
51edb6b82a add missing semicolons 2012-05-27 21:33:36 +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
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