Commit graph

1804 commits

Author SHA1 Message Date
rolux
f5aa547f43 Ox.IconList: don't require 'keys' option if 'items' is a local array 2012-07-02 18:21:09 +02:00
j
2e5205fabe allow updating options.places with an array 2012-07-02 18:17:52 +02:00
rolux
487ee4626d update Ox.formatUnit 2012-07-02 16:19:36 +02:00
rolux
f6a767b6cb test for existence of before looping over it 2012-07-02 15:45:18 +02:00
rolux
0fc6e09927 Ox.App: clean up code and documentation 2012-07-02 13:29:07 +02:00
rolux
79bea33e51 Ox.Element: reformat docs 2012-07-02 13:28:42 +02:00
rlx
197f937d86 remove some list voodoo 2012-06-30 19:59:20 +00:00
rlx
f22e5a032d IconList/InfoList: keep self.options.selected in sync 2012-06-30 16:12:05 +00:00
rlx
b5d5936e59 don't trigger event after timeout, see #731 2012-06-30 16:11:29 +00:00
rlx
e68b1e163b Ox.CalendarEditor: cleanup 2012-06-30 15:06:58 +00:00
rlx
0b8ca39ba6 remove a comment 2012-06-30 15:05:57 +00:00
rlx
dc438e2427 setTimeout before triggering events 2012-06-30 15:05:35 +00:00
rlx
d57affea4a Ox.List: change 'selected' update handler 2012-06-30 15:05:05 +00:00
rlx
f5901e4a1d Ox.TableList: keep self.options.selected in sync, plus some cleanup 2012-06-30 15:03:43 +00:00
rlx
146078e7ce fix bugs in Ox.MapEditor 2012-06-30 15:01:43 +00:00
rlx
ee23db5876 Ox.Map: update signature of select event, update docs 2012-06-30 15:00:38 +00:00
rlx
d30cda0cfd bind to 'select', not 'selectplace' 2012-06-30 14:59:52 +00:00
rolux
2dc8fd19aa update docs 2012-06-30 12:29:06 +02:00
rolux
2731f8dc89 update event controller 2012-06-30 12:15:27 +02:00
rolux
b5910f5f62 Ox.Element: use new event controller 2012-06-30 11:24:38 +02:00
rolux
32f85e42e4 new event controller 2012-06-30 11:24:03 +02:00
rolux
dfa0a9b8eb set interval between 'keys' events to 250 ms 2012-06-30 11:21:23 +02:00
rolux
7df61a8ac9 simplify event passing in Ox.List derivatives 2012-06-30 11:20:37 +02:00
rolux
91275f7171 minor reformatting 2012-06-30 11:18:55 +02:00
rolux
28b9614083 update Ox.Event (intermediate state) 2012-06-29 14:24:06 +02:00
rolux
64a182ae1d lists: implement select-as-you-type 2012-06-29 14:19:34 +02:00
rolux
c211b55d3b fix bug in pixel method (arguments parsing) 2012-06-28 18:36:25 +02:00
j
864eacfbd7 Fix #873 prevent Firefox from cancling active XMLHttpRequests pressing escape 2012-06-29 10:23:59 +02:00
j
da0fb1af50 remove test element 2012-06-28 12:34:18 +02:00
j
1118938e30 Detect scrollbar width for browser that do not support scrollbar styling.
Fixes #800
2012-06-28 12:18:33 +02:00
rolux
55e2174831 in TableLists, use options.unique, not options.columns[i].unique 2012-06-27 20:38:07 +02:00
rolux
d6dcf33427 fix a bug with computing keys 2012-06-27 20:29:39 +02:00
rolux
8296d3c405 TableList: don't require 'keys' if 'items' is array 2012-06-27 20:28:59 +02:00
rolux
6e2a837f1c typo 2012-06-27 19:06:02 +02:00
rolux
c4d65facc5 fix textarea background CSS (since they may have labels) - still doesn't fix their active state 2012-06-27 19:04:34 +02:00
rolux
773311d8d7 TableList: add 'unique' option (until now, the unique id had be specified via columns, even if one had no intention to ever display it as a column) 2012-06-27 18:19:24 +02:00
rolux
bbd80ccf4f Ox.getAsync: fix docs, rename var 2012-06-27 14:55:49 +02:00
rolux
b4dc8d2d58 make doc page code css less annoying 2012-06-27 14:55:13 +02:00
rolux
73c0fc8c31 remove print statement 2012-06-27 13:21:28 +02:00
rolux
bb5a93b2ec add CSS for disabled FileInput 2012-06-27 12:57:15 +02:00
rolux
f93c575c8f FileInput: handle disabled option 2012-06-27 12:56:17 +02:00
rolux
abc6cbbb15 FileButton: add default for image options 2012-06-27 12:55:38 +02:00
rolux
4c6756c192 MenuItem: handle disabled file items 2012-06-27 12:54:46 +02:00
rolux
e72e68a1df add files symbol 2012-06-27 12:14:16 +02:00
rolux
544af185b1 MenuItem: update docs 2012-06-27 11:49:47 +02:00
rolux
f70946ff62 Menu: when clicking on file item, but next to the file input, don't trigger a click event 2012-06-27 11:49:13 +02:00
rolux
b1019a7c5d FileButton: add image option (so tooltip title becomes configurable if type is 'image') 2012-06-27 11:07:34 +02:00
rolux
0564db6ec5 allow for file buttons with 'image' type 2012-06-27 10:37:12 +02:00
j
9bb6b7bcb9 revert changes undone in #2224 2012-06-27 10:20:11 +02:00
rolux
e38a09cd42 update inline comments 2012-06-27 09:43:28 +02:00
rolux
bdebb03a45 TextList -> TableList 2012-06-27 09:41:10 +02:00
rolux
7648d2d4ac when switching version in loader, update path 2012-06-26 20:10:31 +02:00
rolux
80e0a02ea3 in ox dev loader, allow for switching to build version by passing true as first argument (can be used to avoid boilerplate when choosing build/ or dev/ dynamically) 2012-06-26 19:17:27 +02:00
j
2efbc53b33 only update list values once list has loaded 2012-06-26 16:26:32 +00:00
rolux
244591d57e appendTo(that.$element) -> appendTo(that) 2012-06-26 18:21:39 +02:00
rolux
969e0553b4 use [0] instead of .[0] 2012-06-26 18:01:47 +02:00
rolux
fb6c956250 remove debugging 2012-06-26 18:01:13 +02:00
j
75fe62730c Ox.*List do not share updateCallbacks with Ox.List, Ox.clone(self) is passed for event handler 2012-06-26 15:44:22 +00:00
rolux
69d125bc8e minor changes 2012-06-26 16:33:26 +02:00
rolux
e5652b4db1 fix misleading comment 2012-06-26 15:12:09 +02:00
rolux
b9e4f565ca Ox.Element: don't overwrite callbacks; reformatting 2012-06-26 14:54:30 +02:00
rolux
f6a7d0a059 remove unneccessary closure 2012-06-26 03:14:35 +02:00
rolux
835c848933 in ox loader, don't overwrite previous Ox 2012-06-25 21:22:20 +02:00
rolux
60c279ed1c add element id to event properties 2012-06-25 20:40:06 +02:00
rolux
f5782c475b Ox.divideInt -> Ox.splitInt 2012-06-25 16:43:03 +02:00
rolux
703003bd2b Ox.Image: correctly parse arguments of pixel method 2012-06-25 16:42:30 +02:00
rolux
446f1a0de1 minor change 2012-06-25 16:32:16 +02:00
rolux
adb3355975 DocPanel: fix example links 2012-06-25 11:26:36 +02:00
rolux
1b62ccfc4b Ox.test: fix docs 2012-06-24 19:11:59 +02:00
rolux
d29bc5569b make Ox.rgb always return integers 2012-06-24 17:41:27 +02:00
rolux
fa84921333 fix section declarations in modules 2012-06-24 17:33:13 +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
966ceeb1f1 Ox.parseMarkdown: don't make replacements inside code spans/blocks; Ox.sanitizeHTML: add (failing) test; remove unneccessary escaping inside [] in regular expressions 2012-06-24 15:37:46 +02:00
rolux
8312105427 comment out example scripts 2012-06-24 15:34:19 +02:00
rolux
19afdd8bea fix Ox.clone(0, deep) 2012-06-24 15:32:35 +02:00
rolux
a071d541de allow for stripping comments in doc panel (which implies hiding line numbers) 2012-06-23 20:44:13 +02:00
rolux
6338c5fc6b fix css for code blocks in source viewer comments 2012-06-23 20:25:33 +02:00
rolux
f473100875 allow for passing file to Ox.SyntaxHighlighter 2012-06-23 20:24:06 +02:00
rolux
6fcac07ee9 minor changes 2012-06-23 20:23:19 +02:00
rolux
ab11f85f26 remove log statement 2012-06-23 20:22:52 +02:00
rolux
9e8a0ca296 minor changes 2012-06-23 20:22:32 +02:00
rolux
05828db75d Ox.doc: support inline properties prefixed with '.', add FIXMEs 2012-06-23 20:22:09 +02:00
rolux
4e8c8f6310 update source viewer code block css 2012-06-23 13:31:15 +02:00
rolux
4b0a07387f fix a bug in parseMarkdown, add tests 2012-06-23 13:30:33 +02:00
rolux
0b2371e73e DocPanel: add 'expanded' option; don't fail when no element gets passed; don't fail when files is an empty array; some reformatting 2012-06-23 12:53:04 +02:00
rolux
63d12160cd add missing semicolons 2012-06-23 12:50:34 +02:00
rolux
2a5d06717e remove print statements 2012-06-23 12:50:02 +02:00
rolux
03418d2952 Ox.SourceViewer: temporary workaround for cases where the source code doesn't fill the full height 2012-06-23 12:49:18 +02:00
rolux
ec4c46cb6c Ox.sanitizeHTML: include 'em' and 'strong' in default tags (otherwise sanitizing markdown fails) 2012-06-23 12:48:17 +02:00
rolux
b272221020 Ox.doc: set 'section' to complete line, not just first word 2012-06-23 12:47:30 +02:00
rolux
1652cde0ec fix docs 2012-06-23 12:46:41 +02:00
rolux
ee1d50283f fix docs 2012-06-23 01:54:33 +02:00
rolux
5e68ebfde1 in Ox.js loader, always call Ox.load - also if no arguments precede the callback 2012-06-22 15:04:21 +02:00
rolux
f15d6cad0f change the semantics of Ox.load to call back once the DOM is ready - which wasn't the case when calling Ox.load(callback) in the built version 2012-06-22 15:02:38 +02:00
rolux
f51e5e9174 Example Panel: add item icons in list 2012-06-22 12:53:04 +02:00
rolux
e54be15936 Ox.sanitizeHTML: add test 2012-06-22 10:29:09 +02:00
rolux
0d2204ff19 update css (make sure that in source viewer, code spans inside comments don't increase the line height) 2012-06-22 10:25:41 +02:00
rolux
8ccabb349e Ox.sanitizeHTML: decode html entities before encoding html entities; Ox.parseMarkdown: encode '<' in code spans and code blocks 2012-06-22 10:24:25 +02:00
rolux
e8f3caff8e EExamplePanel: make sure items are sorted alphabetically 2012-06-22 09:54:27 +02:00
rolux
b9a4ea2e42 Example Panel: use sections 2012-06-22 09:23:38 +02:00