Commit graph

1766 commits

Author SHA1 Message Date
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
rolux
0200a2478b DocPanel: don't empty page when selecting module or section folder 2012-06-22 09:22:58 +02:00
rolux
c301a73e38 TreeList: load in expanded state if options.expanded is true 2012-06-22 09:22:04 +02:00
rolux
21fb4aecc0 Ox.Bar: fix docs 2012-06-21 23:15:54 +02:00
rolux
f04f6d2663 TabPanel: add 'selectTab' alias 2012-06-21 13:48:29 +02:00
rolux
93a9805da7 minor cleanup 2012-06-21 13:47:52 +02:00
rolux
d8cd59e90f add Ox.hypot 2012-06-21 13:39:19 +02:00
rolux
d04c1d3059 remove a print statement 2012-06-21 08:55:05 +02:00
rolux
71218cd61f Ox.tokenize: handle '.1' 2012-06-21 08:08:45 +02:00
rolux
625325a6e6 fix test result 2012-06-20 22:11:05 +02:00
rolux
9e35ae0be2 minor cleanup 2012-06-20 18:49:06 +02:00
rolux
9093d5f3ed update Ox.load documentation 2012-06-20 18:40:55 +02:00
rolux
68b89d7628 update Ox.load documentation 2012-06-20 18:39:31 +02:00
rolux
23684de82c minor cleanup 2012-06-20 18:30:35 +02:00
rolux
367a8227c9 update Ox.js loader 2012-06-20 18:30:06 +02:00
rolux
e88f622449 minor cleanup 2012-06-20 17:16:58 +02:00
rolux
11377c99b9 fix a bug related to displaying test results 2012-06-20 17:13:43 +02:00
rolux
bbf72ab0c7 Ox.formatRoman: add test 2012-06-20 12:03:10 +02:00
rolux
c68af487c5 typo 2012-06-20 12:02:04 +02:00
rolux
35df921fcd Ox.formatRoman: add tests 2012-06-20 12:01:32 +02:00
rolux
14d57f70bb add Ox.formatRoman 2012-06-20 11:57:22 +02:00
rolux
c575686fca minor reformatting 2012-06-20 11:37:55 +02:00
rolux
e23fbb2d35 Ox.LoadingIcon: support passing a number as size 2012-06-20 11:37:47 +02:00
rolux
a3f0a38bf2 ExamplePanel: don't fail when selecting non-existing id 2012-06-20 11:03:37 +02:00
rolux
c3d51860c3 update markdown parser and css 2012-06-20 09:23:39 +02:00
rolux
46f2fa516e fix a bug in sort/sortBy 2012-06-19 21:29:16 +02:00
rolux
5bbce78878 remove unneeded cloning 2012-06-19 19:43:19 +02:00
rolux
e1bd7d0cb3 remove log statement 2012-06-19 19:32:37 +02:00
rolux
1f4b0f7faa Ox.api: cache sort; Ox.sortBy: improve performance 2012-06-19 19:32:10 +02:00
rolux
178e2bc487 fix min/max longitude 2012-06-19 18:04:48 +02:00
rolux
7c2f8aa967 typo 2012-06-19 18:02:40 +02:00
rolux
f7b0fb6893 typo 2012-06-19 18:01:48 +02:00
rolux
a544de5c60 typo 2012-06-19 18:00:59 +02:00
rolux
98b7929fc3 typo 2012-06-19 17:59:31 +02:00
rolux
76a540e399 Ox.API: better workaround for area 2012-06-19 17:57:21 +02:00
rolux
0d802a16c9 fix a map positioning bug 2012-06-19 17:42:53 +02:00
rolux
4c3ef380b1 typo 2012-06-19 17:37:57 +02:00
rolux
f9dd2661f8 chasing a map positioning bug... 2012-06-19 17:36:08 +02:00
rolux
a4fedfd924 Ox.Map: don't fail when calling panToPlace, selectPlace or zoomToPlace before places have loaded 2012-06-19 17:05:20 +02:00
rolux
3a3354818a List: add query option; fix a bug related to Ox.api returning -1 as position (as opposed to the pandora backend, which doesn't include the id in that case); fix a bug related to determining sizes when items is an array 2012-06-19 14:18:16 +02:00
rolux
68321c7245 IconList/InfoList/TextList: add query option 2012-06-19 14:15:20 +02:00
rolux
b754d6d5bd add fixme 2012-06-18 19:11:39 +02:00
rolux
996f41c06b move Ox.stripTags from String.js to HTML.js 2012-06-18 19:11:17 +02:00
rolux
1ab5c5eca1 move Ox.isEmpty from Collection.js to Type.js 2012-06-18 19:10:41 +02:00
rolux
ba1a3c4b2a add home button to doc page and example page 2012-06-18 10:57:52 +02:00
rolux
4523ebeca3 add home symbol 2012-06-18 10:56:08 +02:00
rolux
9ae133d45b add documentation for Ox.UI 2012-06-18 10:54:39 +02:00
rolux
9a0bd1faec when clicking button, hide its tooltip 2012-06-18 10:54:08 +02:00
rolux
619bc0afb5 minor change 2012-06-18 10:53:51 +02:00
rolux
9ef4bdd0c1 avoid loop 2012-06-18 09:14:45 +02:00
j
d2e05200da document events 2012-06-18 00:38:26 +02:00
rolux
d27420d43d update file input css 2012-06-17 19:15:42 +02:00
rolux
69acb4a04e always use file button title as tooltip 2012-06-17 19:15:05 +02:00
rolux
fdb8a2b98b display correct ui for non-empty file inputs 2012-06-17 19:14:37 +02:00
rolux
fe8c97db24 in Ox.List, handle Ox.TreeList items update 2012-06-17 19:13:18 +02:00
rolux
ad368fb819 allow for updating a treelist's data option 2012-06-17 19:12:23 +02:00
rolux
36a5f5a95f clone menu items before extending them 2012-06-17 19:11:23 +02:00
rolux
9dbedf13f9 minor changes 2012-06-17 19:10:41 +02:00
rolux
23ad209561 call Ox.localStorage only once 2012-06-17 16:42:27 +02:00
rolux
175c8b23d0 Collection.js: handle localStorage object 2012-06-17 16:41:39 +02:00
rolux
d793d7857d add test for Ox.typeOf(localStorage) 2012-06-17 16:40:42 +02:00
rolux
c9474ee04e Ox.load: allow for passing array of modules 2012-06-17 15:56:13 +02:00
rolux
8d8e087e3d Ox.loadFile -> Ox.getFile 2012-06-17 15:37:21 +02:00
rolux
77adfbf7b8 Requests.js: handle errors, various other improvements 2012-06-17 15:36:55 +02:00
j
d27c1e8cd4 Ox.Geo and Ox.Unicode json files need to be loaded with Ox.VERSION too 2012-06-17 11:31:19 +02:00
rolux
48b5e9610a update symbols 2012-06-17 10:45:45 +02:00
rlx
e9579e10eb decode HTML entities before setting input value to autocomplete menu title 2012-06-16 20:48:30 +00:00
rlx
8f4e08063e in play loop, return false instead of calling Ox.Break 2012-06-16 20:47:17 +00:00
rlx
d63113d7bd remove print statements 2012-06-16 20:46:38 +00:00
rlx
9d475e6012 remove warning when returning false from Ox.loop and Ox.forEach 2012-06-16 20:46:14 +00:00
rlx
898cc702f5 highlight: several bugfixes and performance improvements; normalizeHTML: only use dom if needed 2012-06-16 20:45:05 +00:00
rlx
743a36e308 Ox.Dialog: handle window resize 2012-06-16 17:24:19 +00:00
rlx
9899f80bfb animate({...}, 0) -> css({...}) 2012-06-16 16:50:58 +00:00
rlx
3fc8a47bf4 return original string when highlight is called without query; lazy format annotation date 2012-06-16 16:17:28 +00:00
rlx
77f0c762a3 Input: submit when doubleclicking clear button; + some reformatting 2012-06-16 13:36:03 +00:00
rlx
7c7f97066e FormElementGroup: don't trigger change on submit 2012-06-16 13:35:14 +00:00
j
8c7bf418ec dont blow the stack, fixes #853 2012-06-16 18:10:19 +02:00
j
099fbc7880 dont show Run tests is showTests is false, fix documentation example 2012-06-16 14:25:08 +02:00
j
53966f3f53 fix Ox.sanitzeHTML if urls are inside an open a tag 2012-06-16 13:16:30 +02:00
rlx
cd6e17d124 minor reformatting 2012-06-16 10:09:21 +00:00
rlx
3e2c2d451e ButtonGroup: add enableButton/disableButton methods 2012-06-16 10:08:37 +00:00
rlx
dffd160ed3 TabPanel: add reloadPanel method; react to setting content option 2012-06-16 10:07:52 +00:00
rlx
165bd0457a remove log statements 2012-06-16 10:06:59 +00:00
rlx
a87d193ac4 fix #847 (<i> tag in subtitle); test for before looping over it 2012-06-15 19:50:04 +00:00
j
2a58661c9a subtitles are html, fixes #845 2012-06-15 18:26:18 +02:00
j
e443888eba dont set widht to 0 for videos that are exactly one hour 2012-06-15 17:20:17 +02:00
rlx
94355eb792 typo 2012-06-15 13:29:06 +00:00
rlx
856ea3b1d3 enable timeline types 2012-06-15 13:20:07 +00:00
rolux
fbeb434e27 remove print statements 2012-06-15 11:47:18 +02:00
rolux
64c3d3457b update ColorInput, ColorPicker and Picker 2012-06-15 11:43:11 +02:00
rolux
41f061335f remove log statement 2012-06-15 11:42:40 +02:00
rolux
4b143de951 Ox.Checkbox: change default width from 'auto' to 16 if there is neither a label nor a title 2012-06-15 11:38:25 +02:00
rolux
c8cdcc92c0 minor cleanup 2012-06-15 11:32:27 +02:00
rolux
b2eaf6a867 add OxDocPage and OxExamplePage CSS classes 2012-06-15 10:43:20 +02:00
rolux
144b4cdb42 remove log statement 2012-06-15 10:40:15 +02:00
rolux
1e47435058 add atob and btoa polyfills 2012-06-15 10:39:22 +02:00
j
0b60f45341 fix indent for rows without icon should in treelist 2012-06-15 10:38:32 +02:00
j
3b1fd5c38c fix TreeList rows with no icon, fixes #843 2012-06-15 10:31:38 +02:00
rolux
37ee99f884 Ox.localStorage: fix chaining, add tests 2012-06-15 09:43:55 +02:00
rolux
d2322388dc minor changes 2012-06-15 09:43:27 +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
b7129af1b4 Ox.SelectInput: focus input when switching to 'other' option 2012-06-14 16:05:17 +02:00
rolux
6bdf96fe6b DateInput/TimeInput/DateTimeInput: don't fail when options are undefined 2012-06-14 15:50:00 +02:00
rolux
91ee1419aa Ox.Spreadsheet: allow for not passing options.value.values 2012-06-14 15:46:57 +02:00
rolux
3a71cab021 fix .OxLabel.OxSquare CSS 2012-06-14 15:46:13 +02:00
rolux
3fbefa2278 Ox.Input: trigger change event when clicking arrows 2012-06-14 14:31:44 +02:00
rolux
72ed28494d cleanup 2012-06-14 14:31:00 +02:00
rolux
3d3d963ca3 .OxLabel.OxSquare should have border-radius: 0 2012-06-14 12:36:08 +02:00
rolux
14a4d48b6d explicitely set border-radius 2012-06-14 12:35:28 +02:00
rolux
c22da1cfc5 Ox.FormItem: use 'OxSelectable' class 2012-06-14 12:34:46 +02:00
rolux
38e01c26ca Ox.FormPanel: use section id, not title, as values key; use 'OxSelectable' class 2012-06-14 12:34:24 +02:00
rolux
61e425f64d update FormPanel 2012-06-13 15:56:42 +02:00
rolux
889ad7a83a in ObjectInput and ObjectArrayInput, don't set height 2012-06-13 15:55:34 +02:00
rolux
a874974f9a update CSS for ButtonGroup and CheckboxGroup 2012-06-13 15:54:43 +02:00
rolux
2b494815f2 fix a bug in select input 2012-06-13 15:53:50 +02:00
rolux
63d5f04af7 Ox.TreeList: add 'expanded' option 2012-06-13 15:53:20 +02:00
j
3087b0637d document Ox.UI and include in index.json 2012-06-13 14:15:27 +02:00
rolux
9d877800b4 Ox.DocPanel: when navigating to folder in list, don't deselect it 2012-06-13 12:08:54 +02:00
rolux
3136c8f381 Ox.DocPanel: fix bugs related to ids and selection (the panel's selected option is item name or empty string, the list's selected option is ['the/full/id']) 2012-06-13 12:05:32 +02:00
rlx
ba5bea09f0 fix #833 (JS error when collapsing sidebar in timelines view) 2012-06-13 08:37:07 +00:00
rolux
8bc8c57373 use base 10 in parseInt, use Math.floor for numbers 2012-06-13 10:28:21 +02:00
rlx
79bb322112 when updating a value in a list with an items array, pass new items array (fixes #829) 2012-06-13 08:00:02 +00:00
rlx
fbbe1e256a remove whitespace 2012-06-13 07:57:27 +00:00
rolux
cb4a32f03b minor changes 2012-06-13 09:17:39 +02:00
rolux
cd38e66240 typo in Ox.isEqual 2012-06-13 09:11:58 +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
4dc11cd256 Ox.isEqual(NaN, NaN) should return true 2012-06-13 09:04:54 +02:00
rolux
bc83d22850 sign(-0) is -0 according to spec; add cosh; add tests 2012-06-13 09:04:16 +02:00
rolux
a627f41755 fix Ox.sign(-0), should be 0, not -0 2012-06-13 08:16:22 +02:00
rolux
8df96dd8fb add sign and trunc 2012-06-13 08:12:01 +02:00
rolux
c2ae5d3f4c add acosh, atanh and tanh 2012-06-13 00:04:28 +02:00
rolux
fd04452db9 make sure Ox.isInt(Infinity) returns false 2012-06-13 00:02:55 +02:00
j
2e49324ede load theme json with Ox.VERSION too 2012-06-12 21:20:31 +02:00
rolux
4e119b98f1 minor cleanup 2012-06-12 18:09:25 +02:00
rolux
e415a85d06 update test 2012-06-12 17:57:20 +02:00
rolux
84d345624f update test stats ui 2012-06-12 17:37:35 +02:00
rolux
b915839305 display test stats 2012-06-12 17:24:58 +02:00
rolux
e21354d7b4 Ox.Geo: update docs 2012-06-12 17:02:36 +02:00