Commit graph

71 commits

Author SHA1 Message Date
rolux
1b90cc6ac8 fix semicolons 2014-08-19 10:19:59 +02:00
rolux
29950d2a10 fix a bug where events would appear twice on a DocPage 2013-11-16 20:46:57 +01:00
rolux
bda90f6b6b remove Ox.Break 2012-07-05 10:58:08 +02:00
rolux
73c0fc8c31 remove print statement 2012-06-27 13:21:28 +02:00
rolux
1b62ccfc4b Ox.test: fix docs 2012-06-24 19:11:59 +02:00
rolux
9f1b86ab87 Ox.test: eval all scripts; add stringifyResult method; properly stringify actual async result; in async path, rename 'result' to 'actual' 2012-06-24 15:40:48 +02:00
rolux
05828db75d Ox.doc: support inline properties prefixed with '.', add FIXMEs 2012-06-23 20:22:09 +02:00
rolux
b272221020 Ox.doc: set 'section' to complete line, not just first word 2012-06-23 12:47:30 +02:00
rolux
71218cd61f Ox.tokenize: handle '.1' 2012-06-21 08:08:45 +02:00
rolux
43077ceb88 typo 2012-06-14 16:45:49 +02:00
rolux
cbe8f1db49 Ox.identify: update examples 2012-06-14 16:44:50 +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
6db715ab87 don't modify test.statement; delete test.data when done 2012-06-12 15:31:46 +02:00
rolux
8c45632dc3 remove stray var 2012-06-11 23:45:20 +02: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
8581a3da3a remove unneeded constants 2012-06-04 11:49:27 +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
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
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
9b4a046159 remove a print statement 2012-06-02 11:19:33 +02:00
rolux
4221d437ce Ox.doc: parse inherited properties 2012-06-01 01:41:38 +02:00
rolux
e9fb83c578 in Ox.doc, simplify and speed up parseTokens() 2012-05-30 19:19:51 +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
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
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