Commit graph

1389 commits

Author SHA1 Message Date
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
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
b0000b5169 check if history.pushState exists 2012-05-25 19:58:43 +02:00
rolux
e1192fd45e use Ox.filter 2012-05-25 19:46:27 +02:00
rolux
ec12eddfba use Ox.typeOf 2012-05-25 19:46:02 +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
d14abf96fc check if history.replaceState exists 2012-05-25 18:51:26 +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
rolux
20564c7fab reordering functions 2012-05-25 17:46:54 +02:00
rolux
b2f392a2b5 add Array.isArray 2012-05-25 17:45:01 +02:00
rolux
2f5a99a88f add Function.prototype.bind and window.console.log.apply 2012-05-25 17:40:21 +02:00
rolux
67fcca7304 in Ox.typeOf, handie IE nodelist (htmlcollection) 2012-05-25 17:39:37 +02:00
rolux
9d4128c787 add tests 2012-05-25 16:25:41 +02:00
rolux
4c2199a820 update tests 2012-05-25 16:25:35 +02:00
rolux
aebd6aacff add Array.prototype.every and Array.prototype.some 2012-05-25 15:24:27 +02:00
rolux
223323ac82 add Array.prototype.reduceRight 2012-05-25 15:16:21 +02:00
rolux
d8a88c7f47 add Array.prototype.lastIndexOf 2012-05-25 14:49:47 +02:00
rolux
68ff06af2a use native ''.trim; rename vars 2012-05-25 14:32:17 +02:00
rolux
e480d87b34 add String.prototype.trim 2012-05-25 14:16:51 +02:00
rolux
e47f826329 minor cleanup 2012-05-25 13:42:33 +02:00
rolux
b1ff236b3f rename vars 2012-05-25 13:42:25 +02:00
rolux
84050d67a3 rename vars 2012-05-25 13:32:57 +02:00
rolux
95bfdf9b4d rename vars; improved Ox.typeOf patch for Mobile Safari 2012-05-25 13:00:40 +02:00
rolux
2dbb61c103 rename vars; in Ox.formatDimensions, use multiplication sign; more efficient version of Ox.parseDuration 2012-05-25 12:19:04 +02:00
rolux
a37949094d rename vars; more efficient version of Ox.formatDate 2012-05-25 12:08:20 +02:00
rolux
5b8f1dd3b5 rename var 2012-05-25 11:44:43 +02:00
rolux
f2be6ebcc0 typo 2012-05-25 11:44:25 +02:00
rolux
e73b7efc2f add space 2012-05-25 11:44:05 +02:00
rolux
bf02d50909 fix a bug in Ox.decodeDeflate (slice(1,-0) returns '') 2012-05-25 11:43:38 +02:00
rolux
12296c41db add space 2012-05-25 11:41:51 +02:00
rolux
e06bf4889d block less in image.forEach 2012-05-25 10:39:09 +02:00
j
d49847593b use Ox.LoadingIcon in Ox.VideoPlayer, fixes #798 2012-05-25 11:37:08 +02:00
rolux
ad3b50cb82 cleanup; rename vars; fix deflate 2012-05-25 10:37:48 +02:00
rolux
cda702d94d typo 2012-05-25 09:53:55 +02:00
rolux
e4f34b1c7d rename vars 2012-05-25 09:52:57 +02:00
rolux
147d637b7b typos 2012-05-25 09:46:34 +02:00
rolux
c30fe02850 use new Ox.find 2012-05-25 09:46:29 +02:00
rolux
565dc6ad35 rename vars; move Ox.find, Ox.getIndexById, Ox.getObjectById, Ox.makeArray and Ox.toArray to Array.js; make Ox.find accept a third argument ('leading') and return a single array; improve IE patch for Ox.toArray 2012-05-25 09:44:48 +02:00
rolux
631ad8222d rename vars 2012-05-25 09:40:27 +02:00
rolux
7f7a5aa44c in Ox.walk, pass array of keys to iterator; rename vars 2012-05-25 09:39:33 +02:00
rolux
42923bedf1 rename vars; add tests 2012-05-25 09:35:20 +02:00
rolux
26093367ec rename vars 2012-05-25 09:34:50 +02:00
rolux
61bb1c3598 typo; fix a test 2012-05-25 09:33:34 +02:00
rolux
8aa2e7f29c typo 2012-05-25 09:32:49 +02:00
rolux
7eb6ec56b8 typo 2012-05-25 09:32:32 +02:00
rolux
f48adff6c7 move Ox.getset and Ox.makeObject to Object.js 2012-05-25 09:32:11 +02:00
rolux
d21c95e9fd typo 2012-05-25 09:31:22 +02:00
rolux
801aee31b8 typo 2012-05-25 09:31:03 +02:00