Commit graph

2598 commits

Author SHA1 Message Date
rolux
4d80bbc424 move ImageElement widget 2014-01-05 15:27:06 +05:30
rolux
6550066667 add ImageViewer widget 2014-01-05 15:26:44 +05:30
rolux
1df53b7bde Ox.List: store items in self.items 2013-12-31 13:28:36 +05:30
rolux
b86d2c200c cosmetic changes 2013-12-31 13:24:29 +05:30
rolux
b0faaa6266 add symbolEqual 2013-12-31 13:21:07 +05:30
j
6588fb26f6 dont localize title of image buttons 2013-12-27 11:36:01 +00:00
j
d9e31175bf add hindi locale 2013-12-27 10:55:00 +00:00
j
fa08e25a3e reset translations before switching to new locale 2013-12-27 10:53:35 +00:00
j
8ed3964dc0 fix loading locale 2013-12-27 10:29:07 +00:00
j
e57fa72b47 allow lang attribute in annotations 2013-12-26 16:43:03 +00:00
j
57994e657d user lager font for hindi content 2013-12-26 16:42:44 +00:00
j
155893e184 use p to break floating content, fixes #1964 2013-12-23 11:52:59 +00:00
rolux
8efec0cf76 main menu: use $, not Ox.$ 2013-12-23 13:30:54 +05:30
rolux
de1ef5a5bf in Ox.Dialog, use $ 2013-12-09 02:28:56 +01:00
rolux
daa77eec5c remove unused var, fix fixme 2013-12-09 02:28:42 +01:00
rolux
70bd7afd67 Ox.Element: make onMessage alias of bindMessage, reserve other message methods, update docs 2013-12-07 15:49:41 +01:00
rolux
348d6d3aff cosmetic changes 2013-12-07 15:47:56 +01:00
rolux
3781262837 use .on 2013-12-07 15:07:52 +01:00
rolux
4779f31171 fix Ox.Input (can't use Ox.$ yet) 2013-12-07 15:07:39 +01:00
rolux
6dbdf91259 correct docs, add comments 2013-12-07 13:03:34 +01:00
rolux
37ab78f05b use Ox.$ 2013-12-06 22:15:04 +01:00
rolux
a97170ea5b document Ox..data 2013-12-06 21:59:26 +01:00
rolux
6f183f3b49 typo 2013-12-06 21:55:45 +01:00
rolux
6acd99d74f add .data method to Ox.$, use in Ox.UI.getOxElement, don't use .attr in Ox.JQueryElement 2013-12-06 21:54:26 +01:00
rolux
94b5c5307d use Ox.$ 2013-12-06 21:52:34 +01:00
rolux
7c640519d1 use .on, not .eventname 2013-12-06 21:43:00 +01:00
rolux
81d9af2013 DocPage: append element, not text 2013-12-06 21:34:01 +01:00
rolux
0dd96d8080 use Ox.$ and .on 2013-12-06 21:17:39 +01:00
rolux
4dd3dde24e add comment 2013-12-06 21:13:35 +01:00
rolux
60fe713e65 use Ox.$, not $; use .on, not .click 2013-12-06 21:12:59 +01:00
rolux
b834bb2b4d geo module: add getAverageBearing, getBearingDifference, getClosestBearing (find straightest path, mix two hues, etc.) 2013-12-06 21:11:41 +01:00
rolux
812e95d740 cosmetic changes 2013-12-06 20:56:33 +01:00
rolux
335c374b73 add data-oxid attribute 2013-12-06 20:56:11 +01:00
rolux
27d8a6682e Ox.Element: add methods childrenElements, findElements, nextElement, nextElements, parentElement, parentElements, prevElement, prevElements 2013-12-06 20:51:59 +01:00
rolux
1bec2d29ae use Ox.documentReady; add Ox.UI.getOxElement(element) and Ox.UI.isOxElement(element) 2013-12-06 20:49:53 +01:00
rolux
7658c16b7a use .on 2013-12-06 20:48:13 +01:00
rolux
d87effda96 cleanup Ox.SplitPanel 2013-12-06 17:26:35 +01:00
rolux
caa897c698 update Ox.MODE if switching to minified on load 2013-12-06 11:11:56 +01:00
rolux
525218dc35 add Ox.MODE (build/dev), + cosmetic changes 2013-12-06 10:34:56 +01:00
rolux
ba0336f3c9 cosmetic changes 2013-12-06 10:31:33 +01:00
rolux
7516cf8c00 Ox.$: add missing methods (replace, replaceWith, siblings, text), + cosmetic changes 2013-12-06 10:26:31 +01:00
rolux
de660af394 fix typo, update docs 2013-12-05 15:53:41 +01:00
rolux
78aaaea9d3 Requests.js: update documentation 2013-12-05 00:31:18 +01:00
rolux
a737bca563 Requests.js: update documentation 2013-12-05 00:23:36 +01:00
rolux
987c7ea801 fix documentation, remove print statement 2013-12-05 00:14:10 +01:00
rolux
53cbceada4 OxJS loader: only switch to build version on load if actually from dev version 2013-12-04 23:46:20 +01:00
rolux
56c5998668 Ox.Element: add custom mousewheel event 2013-12-04 23:44:07 +01:00
rolux
9ea8e0352d Ox.$: normalize mousewheel event names 2013-12-04 23:43:07 +01:00
rolux
6cb7269ce1 OxJS loader: remove useless Ox.DEBUG, fix IE js onload, use the same code as in Constants.js to get path 2013-12-04 17:24:48 +01:00
rolux
d660edbe2b Ox.load: clean up documentation and properly document the optional first argument (pass true to switch from dev to build) 2013-12-04 17:23:00 +01:00
rolux
4d5291c340 clean up Ox.PATH 2013-12-04 17:21:27 +01:00
rolux
10a5481d47 remove comment 2013-12-04 17:04:40 +01:00
rolux
ca388e9adc Ox.getFile: refactor, fix IE css/js onload, handle errors, don't always append ?random in dev version; add Ox.getImage, Ox.getScript and Ox.getStylesheet (extension check is unreliable, google api js doesn't end in '.js', '...#.js' is ugly) 2013-12-04 16:59:51 +01:00
rolux
9554d22fa8 Ox.Async: fix return value 2013-12-04 16:49:42 +01:00
rolux
6e5105025c in Ox.values, handle nodelists (so that Ox.some(nodelist, test) doesn't fail) 2013-12-04 12:59:29 +01:00
rolux
4471a8657f Refactor Polyfill.js, use Object.defineProperty if available 2013-12-04 09:47:35 +01:00
rolux
828e814812 add Ox.codePointAt and Ox.fromCodePoint 2013-12-04 09:46:16 +01:00
rolux
779463072d make Ox.hypot n-ary 2013-12-03 20:57:00 +01:00
rolux
05f8ed7a48 add missing typecheck in Ox.polyfill.trim 2013-12-03 18:14:59 +01:00
rolux
4d1fbb8533 cosmetic changes 2013-12-03 18:14:36 +01:00
rolux
73b04f384a don't return undefined from non-iframe element postMessage method 2013-12-03 18:14:11 +01:00
rolux
ead592d063 Ox.Element: on mousedown, unconditionally trigger mousedown 2013-12-01 15:41:51 +01:00
rolux
031aa4367b Ox.toArray -> Ox.slice 2013-12-01 14:57:52 +01:00
rolux
3a28b08d46 Ox.InfoList: make value method accept (id, {key: value}) 2013-12-01 14:55:57 +01:00
rolux
9d189c55da Ox.IconList: make value method accept (id, {key: value}) 2013-12-01 14:55:37 +01:00
rolux
5001a47cf8 Ox.TableList: make value method accept (id, {key: value}) 2013-12-01 14:55:10 +01:00
rolux
a5baff8319 Ox.List: make value method accept (id, {key: value}) 2013-12-01 14:54:42 +01:00
rolux
41af852f17 fix Ox.PATH 2013-12-01 13:24:59 +01:00
rolux
acbc0f4e59 Ox.cache: don't use Ox.extend before it's available 2013-12-01 13:24:37 +01:00
rolux
adea34c84e Ox.cache: extend options only once 2013-12-01 13:12:07 +01:00
rolux
fe40220d0b remove comment 2013-12-01 13:10:44 +01:00
rolux
3619316f78 Ox.PATH: remove onload dependency on Ox.slice 2013-12-01 13:10:00 +01:00
rolux
137124a903 modify comment for Ox.slice, use Ox.slice 2013-12-01 13:08:25 +01:00
rolux
ab3711cfad added comment 2013-11-30 19:40:48 +01:00
rolux
16b6811b75 request methods: don't throw if no callback is passed 2013-11-30 19:40:27 +01:00
rolux
2fd1892890 Ox.$: fix append and prepend 2013-11-29 22:19:01 +01:00
rolux
77594f0046 catch() requires argument 2013-11-29 21:21:38 +01:00
rolux
d0aee8c737 Ox.$: add children, find, insertAfter, insertBefore, next, nextAll, parent, parents, prepend, prependTo, prev, and prevAll, fix attr and one 2013-11-29 21:19:09 +01:00
rolux
84bfd1222e add comment; remove separate Ox.toArray 2013-11-29 21:15:36 +01:00
rolux
d9b25c6fae add missing semicolon; make Ox.toArray an alias of Ox.slice, and handle the IE NodeLists case 2013-11-29 21:15:02 +01:00
rolux
5eb1b96e4a add comment; fix Ox.extend if called with two arguments, add test 2013-11-29 21:13:04 +01:00
rolux
3ad31125b3 add missing semicolon; less expensive Ox.print, with updated documentation; make sure Ox.uid never returns falsy ids 2013-11-29 21:11:36 +01:00
rolux
420dd7f266 add Ox.time 2013-11-29 21:09:33 +01:00
rolux
ef07c50fff update documentation 2013-11-29 21:09:10 +01:00
rolux
aff40b0154 cosmetic changes 2013-11-29 21:07:37 +01:00
rolux
37dfe0fc86 added comment 2013-11-29 21:07:03 +01:00
rolux
1f926c83ea Ox.ImageElement: handle image error, use new LoadingScreen (start/stop) 2013-11-20 09:11:53 +01:00
rolux
94a18a2711 update LoadingScreen CSS (text not visible on load) 2013-11-20 09:11:10 +01:00
rolux
3429ac3319 Ox.LoadingScreen: use proper LoadingIcon, add start and stop methods 2013-11-20 09:10:37 +01:00
rolux
e1134f2f4c fix Ox.queue cancel + clear 2013-11-20 00:55:08 +01:00
rolux
29950d2a10 fix a bug where events would appear twice on a DocPage 2013-11-16 20:46:57 +01:00
rolux
13246cc15b Ox.Range: add 'arrowTooltips' option 2013-11-16 20:27:19 +01:00
rolux
3005d4a4aa cosmetic changes 2013-11-16 16:16:04 +01:00
rolux
eb4808d4c1 Ox.queue: add 'cancel' and 'reset' (=cancel+clear) methods 2013-11-16 16:13:41 +01:00
rolux
7bd38b3bb9 fix typo in 'widget design patterns' example; cosmetic changes 2013-11-16 02:37:28 +01:00
rolux
5b492db461 Ox.Label: don't fail if title is undefined 2013-11-16 00:23:23 +01:00
rolux
3cbacd85ff cosmetic changes 2013-11-11 14:17:39 +01:00
rolux
85ef28078b update Ox.encodeEmailAddress 2013-11-11 14:17:09 +01:00
j
fda5c7eaa2 string spans can contain spaces, encode in url 2013-11-11 09:20:04 +00:00
j
fee4339d11 rewrite sanitizeHTML to support global attributes 2013-11-10 21:59:36 +00:00