Commit graph

274 commits

Author SHA1 Message Date
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
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
61e05f4f86 fix object stringify 2012-05-26 15:47:41 +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
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
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
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
rolux
f46ff46da8 re-insert closure 2012-05-25 21:13:11 +02:00
rolux
a956c8b7e1 typo 2012-05-25 21:09:52 +02:00
rolux
9aca80c3cb add nodelist type check 2012-05-25 21:08:29 +02:00
rolux
e1192fd45e use Ox.filter 2012-05-25 19:46:27 +02:00
rolux
80549fe4e2 handle FF 3.6 arguments 'object' 2012-05-25 19:45:07 +02:00
rolux
c8cc037ef6 in Ox.wrap, iterate over Ox.methods(Ox) 2012-05-25 19:28:39 +02:00
rolux
c56b7cc9ed fix a bug in Ox.test 2012-05-25 19:28:17 +02:00
rolux
dfbbcd113b handle FF 3.6 2012-05-25 19:09:25 +02:00
rolux
fa1b2346ef minor change 2012-05-25 19:07:40 +02:00
rolux
fe8031578a remove newline 2012-05-25 18:33:37 +02:00
rolux
873dc2e550 use global, not window 2012-05-25 18:33:12 +02:00
rolux
8a7e0dff11 don't eval tests if there is only a script tag 2012-05-25 18:32:54 +02:00
j
eb9cd1e397 IE fixes 2012-05-25 16:28:05 +00:00
rolux
d83046460f fix window.console.log for IE8/IE9 2012-05-25 18:03:02 +02:00