Commit graph

39 commits

Author SHA1 Message Date
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
8612218011 remove print statement, make slow tests faster 2012-05-27 18:46:59 +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
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
c41afd2f5d Ox.parseHTML -> Ox.sanitizeHTML, Ox.encodeHTML -> Ox.encodeHTMLEntities, Ox.decodeHTML -> Ox.decodeHTMLEntities 2012-05-27 12:40:02 +02:00
rolux
12ed2c93fc fix #799: use '(function() {}())', not '(function() {})()' 2012-05-26 14:38:45 +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
5a2ecca0f1 improve Ox.tokenize, add Ox.identify 2012-05-26 12:54:52 +02:00
rolux
65c070d6b6 update test, add comments 2012-05-26 00:18:50 +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
rolux
c56b7cc9ed fix a bug in Ox.test 2012-05-25 19:28:17 +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
b1ff236b3f rename vars 2012-05-25 13:42:25 +02:00
rolux
7eb6ec56b8 typo 2012-05-25 09:32:32 +02:00
rolux
544e117cb3 Ox.break -> Ox.Break 2012-05-24 19:20:29 +02:00
rlx
d4bcc66fe8 add a semicolon 2012-05-24 17:10:51 +00:00
rolux
1608664bb6 rather use ''.slice than ''.substr 2012-05-24 11:47:33 +02:00
rolux
f990f3b857 use [].slice, not Ox.sub 2012-05-24 11:02:59 +02:00
rolux
1c40fb007b use [].concat, not Ox.merge 2012-05-24 09:45:33 +02:00
j
1b08732fa7 - add loadAsync and use in Ox.loadFile, Ox.getJSON
- add Ox.getJSONP
- fix Ox.parseHTML
- fix Ox.Doc
- add more documentation
2012-05-23 01:17:17 +02:00
j
57f774ae8d fix js parser 2012-05-22 19:50:26 +02:00
rolux
12cf77cef5 less obscure Ox.map 2012-05-22 16:29:37 +02:00
rolux
04784630d3 use Ox.break 2012-05-22 09:11:26 +02:00
rolux
5692195509 swap the meaning of makeArray and toArray: makeArray, like makeObject, is a helper function for arguments processing (that wraps any non-array in an array), toArray, like in other libraries, is an alias for Array.prototype.slice.call 2012-05-19 12:40:59 +04:00
rolux
1651b3f565 make Ox.doc accept multiple files 2012-04-09 10:39:02 +02:00
rolux
abfea74565 misc. minor changes and documentation updates 2012-04-08 20:22:27 +02:00
rolux
e53fe8b09a remove print statement 2012-04-07 16:47:02 +02:00
rolux
bd4b5e6880 add the synchronous version of Ox.doc() promised in its documentation 2012-04-07 16:40:07 +02:00
rolux
7474ac9783 make Ox.doc report arrays as '[...]' instead of 'array[...]', and arrays with unspecified types as '[values]' instead of 'array[any]' 2012-04-07 12:47:40 +02:00
rolux
2ef642fdeb misc updates to ox.js 2012-01-04 13:12:48 +05:30
rolux
56370aa0a7 'use strict'; 2011-11-05 17:46:53 +01:00
j
dce2843303 use Ox.Log 2011-11-04 16:54:28 +01:00
j
bf228cf711 no globals 2011-10-31 15:14:54 +01:00
rlx
745aac2609 fix issues with leading and trailing whitespace and linebreaks in Ox.doc 2011-10-06 01:56:04 +00:00
rolux
d0fe279a0f new build system: build in /build, dev version in /dev; split up Ox.js; fix tests 2011-10-07 03:04:47 +02:00