Commit graph

375 commits

Author SHA1 Message Date
rolux
8bc8c57373 use base 10 in parseInt, use Math.floor for numbers 2012-06-13 10:28:21 +02:00
rlx
fbbe1e256a remove whitespace 2012-06-13 07:57:27 +00:00
rolux
cd38e66240 typo in Ox.isEqual 2012-06-13 09:11:58 +02:00
rolux
110be11a05 Ox.test: handle non-null values for which JSON.stringify returns 'null' 2012-06-13 09:06:54 +02:00
rolux
4dc11cd256 Ox.isEqual(NaN, NaN) should return true 2012-06-13 09:04:54 +02:00
rolux
bc83d22850 sign(-0) is -0 according to spec; add cosh; add tests 2012-06-13 09:04:16 +02:00
rolux
a627f41755 fix Ox.sign(-0), should be 0, not -0 2012-06-13 08:16:22 +02:00
rolux
8df96dd8fb add sign and trunc 2012-06-13 08:12:01 +02:00
rolux
c2ae5d3f4c add acosh, atanh and tanh 2012-06-13 00:04:28 +02:00
rolux
fd04452db9 make sure Ox.isInt(Infinity) returns false 2012-06-13 00:02:55 +02:00
rolux
e415a85d06 update test 2012-06-12 17:57:20 +02:00
rolux
6db715ab87 don't modify test.statement; delete test.data when done 2012-06-12 15:31:46 +02:00
rolux
1249e7d3a1 comment out description 2012-06-11 23:45:53 +02:00
rolux
9d7549671c minor cleanup 2012-06-11 23:45:37 +02:00
rolux
8c45632dc3 remove stray var 2012-06-11 23:45:20 +02:00
rolux
3c9c1cc4ed fix #522: correctly pad days in Ox.formatDuration 2012-06-11 13:40:28 +02:00
j
7dd06c6d3e add test for #522 2012-06-11 10:55:10 +02:00
rlx
26681d7e39 Ox.formatDateRangeDuration: avoid infinite loop when passing a start date that cannot be parsed 2012-06-10 10:27:06 +00:00
rlx
92bfb38caf in Ox.parseDate, only remove first element of values array if there was a match 2012-06-10 09:21:07 +00:00
rlx
806cbd1557 fix a bug in Ox.filter for objects 2012-06-10 09:00:12 +00:00
rolux
2fd3345328 update docs 2012-06-05 10:24:46 +02:00
rolux
56c6ef98c7 Ox.tokenize: handle hex numbers and numbers with exponent 2012-06-04 15:36:25 +02:00
rolux
da4e07fc2f typo in docs 2012-06-04 14:07:49 +02:00
rolux
6116f4b7f1 cleanup Ox.wordwrap; remove Ox.basename 2012-06-04 13:49:10 +02:00
rolux
fbe2513cb4 remove 'factor' argument from Ox.formatUnit 2012-06-04 12:41:40 +02:00
rolux
f0ba793a85 allow for passing milliseconds to Ox.parseDate 2012-06-04 12:02:29 +02:00
rolux
8581a3da3a remove unneeded constants 2012-06-04 11:49:27 +02:00
rolux
7282835f0d remove 'Ox.copy' alias 2012-06-04 11:26:01 +02:00
rolux
cd8b2e297d remove 'Ox.starts' and 'Ox.ends' aliases, update documentation; fix Ox.pad with negative length 2012-06-04 11:22:40 +02:00
rolux
a5c6747b57 change the signature of Ox.pad to match Ox.truncate 2012-06-04 11:08:38 +02:00
rolux
24bbf95bd5 typo 2012-06-03 11:13:39 +02:00
rolux
42092f163b Ox.parseURL: update docs & examples 2012-06-03 11:12:21 +02:00
rolux
9ce126263b change the signature of Ox.truncate to allow for passing 'position' without having to pass 'padding', change default padding from '...' to a real ellipsis 2012-06-03 11:07:39 +02:00
rolux
90147a69fb rename Ox.highlightHTML to Ox.highlight 2012-06-03 10:40:46 +02:00
rolux
ce3c5a4a03 remove Ox.highlight 2012-06-03 10:40:25 +02:00
rolux
191d7b3099 add test 2012-06-03 10:39:59 +02:00
rolux
43558a55a3 minor changes 2012-06-02 17:00:44 +02:00
rolux
ecd84770dd make Ox.forEach(object...) return a number; remove Ox.setPropertyOnce; move Ox.last to Array.js; update documentation and tests 2012-06-02 16:08:01 +02:00
rolux
686df92efa update documentation 2012-06-02 15:17:56 +02:00
rolux
d9b0cc5f01 update/fix documentation 2012-06-02 15:07:29 +02:00
rolux
e348acee86 parse and display inherited events 2012-06-02 14:10:59 +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
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
d78e644eb8 Ox.doc: make sure root item properties get included in inherited properties 2012-06-02 11:49:14 +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