Commit graph

683 commits

Author SHA1 Message Date
rlx
aaa24bf309 add Ox.isNodeList 2014-09-20 12:27:04 +02:00
rolux
c106fa845e Ox.$: fix data and parent, add toggle 2014-09-22 15:55:29 +02:00
rolux
1899f470ee add Ox.isNodeList 2014-09-22 15:30:22 +02:00
rolux
55999d654c formatting 2014-09-22 14:34:44 +02:00
rolux
78c1b55d85 Ox.$: allow for passing nodelist as argument 2014-09-22 14:31:19 +02:00
rolux
c041263c79 add tests 2014-09-22 14:16:00 +02:00
rolux
5e4ac3492b missing args 2014-09-22 14:14:13 +02:00
rolux
66a4fcb9f9 Ox.$: various bugfixes and enhancements 2014-09-22 14:11:55 +02:00
rlx
ceca50ae59 add Ox.formatSRT 2014-09-18 16:42:19 +02:00
j
6a9b60ddca fix find 2014-09-13 15:59:44 +01:00
rolux
ce9aba28c7 typo 2014-09-02 13:35:13 +02:00
rolux
e582ee5fac fix typeOf(window) for recent version of Firefox 2014-09-02 13:21:55 +02:00
rolux
2bc7b80f0d Ox.$: support forEach over jQuery-wrapped elements 2014-08-27 12:15:34 +02:00
rolux
f524e612c7 typos in Ox.$ 2014-08-27 12:06:54 +02:00
rolux
a99ab2429e cosmetic changes 2014-08-22 18:29:15 +02:00
j
706e6d4a01 some are more than any 2014-08-27 12:04:03 +02:00
j
83f02ee417 temp fix to appendTo to load in firefox 2014-08-23 16:26:08 +02:00
j
aaf76e0a52 dont run unfinished code 2014-08-22 20:14:28 +02:00
rolux
69933ce94c typos 2014-08-21 17:55:42 +02:00
rolux
e18310fe53 temporarily disable removal of OxElements 2014-08-21 17:42:11 +02:00
rolux
62d96cd822 typo 2014-08-21 17:38:58 +02:00
rolux
6a7b2fa7d7 Make Ox.$ work with more than one element 2014-08-21 17:23:33 +02:00
rolux
cd52a29fda remove fixme (a function's length property is no longer writable) 2014-08-21 15:52:35 +02:00
rolux
dd7f0571a9 make Ox.unique work for nodelists 2014-08-21 15:51:30 +02:00
rolux
64226b9a37 add Ox..is() 2014-08-21 13:05:41 +02:00
rolux
d030b8d764 Ox.values: make sure that for nodelists, this returns an array, not a nodelist; Ox.contains: make sure this works for nodelists too 2014-08-21 13:05:27 +02:00
rolux
3ffe22ec0c Ox.isEmpty: add test for empty nodelists 2014-08-19 13:51:50 +02:00
rolux
c083516fad faster Ox.some 2014-08-19 13:51:29 +02:00
rolux
1b90cc6ac8 fix semicolons 2014-08-19 10:19:59 +02:00
rolux
4fbfc139b4 don't redeclare vars; fix semicolons 2014-08-19 10:18:56 +02:00
rolux
9f2dc33124 cosmetic changes; fix semicolons 2014-08-19 10:18:49 +02:00
rolux
3c71cc7a26 fix Ox..text() 2014-08-18 19:10:25 +02:00
rolux
b10d454d2c add Ox.zipObject 2014-08-18 19:09:41 +02:00
rolux
f01456e475 make sure getDaysInMonth doesn't fail if DST changes between months 2014-08-16 09:07:42 +02:00
rolux
4afdb71581 fix Ox..text() 2014-08-16 09:05:39 +02:00
rolux
41c43332c2 remove reference to jQuery in Ox.makeDate 2014-08-05 02:28:12 +02:00
rolux
00b2bafbbd fix missing argument in Ox..text() 2014-08-05 02:27:34 +02:00
rolux
767a3133b7 add Ox.trace (name still TBD): print with stack trace 2014-05-24 16:30:20 +02:00
rolux
62c65026b1 add Ox.getIndex and Ox.getObject; Ox.List: use Ox.getIndex when updating item value 2014-04-30 14:19:09 +02:00
rolux
38b7072822 Ox.api: return api from update method; Ox.List: update api when updating options.items array 2014-04-30 13:54:19 +02:00
rolux
c26a13b2f1 Ox.api: update(items) signature is better (allows for add/remove); Ox.List: update accordingly 2014-04-30 13:39:14 +02:00
rolux
777fbc2a37 Ox.api: add update method (index, item); Ox.List: when initialized with array of items, update api when changing an item value 2014-04-30 13:26:56 +02:00
j
ef5a51d6bc check for window.console and window.console.log 2014-04-24 13:48:00 +00:00
j
df59c90aa7 include unfinished locale names 2014-04-01 14:14:46 +00:00
j
0e9ff5a7b7 add greek translations, thanks Kostas 2014-04-01 14:06:49 +00:00
j
09af7fa1ac test if localStorage is usable, fixes #2350 2014-03-03 20:22:47 +00:00
rolux
3fd702d72e faster 2014-02-18 17:35:28 +05:30
rolux
464fcf6971 cosmetic changes 2014-02-18 17:31:23 +05:30
j
9e0497c76b timestamps too 2014-02-18 11:06:38 +00:00
j
ec3a077c2e Add work around for YYYY and YYYY-MM dates for Safari, fixes #2329 2014-02-18 10:59:58 +00:00
j
48ce6fc101 add workaround for Safari 4/5 to parse dates, fixes #2329 2014-02-18 10:43:23 +00:00
j
07ed347f4e hindi spelling 2014-02-17 21:00:43 +05:30
j
3e9c812b57 more hindi 2014-02-14 19:02:34 +05:30
j
37d9424ec8 only call date function if needed in Ox.formatDate 2014-02-02 08:59:45 +00:00
rolux
2077ea718a add Ox.once, fix docs 2014-02-02 02:19:19 +05:30
rolux
5a615730e9 cosmetic changes 2014-02-02 02:05:48 +05:30
j
92a122eb0a add Ox.throttle and Ox.debounce 2014-02-02 01:15:17 +05:30
j
e3d8b5d3b0 make Ox.getVideoInfo more reliable on Chrome 2014-01-28 16:27:38 +05:30
rolux
1fca66f54f no iframes or images with mailto: src 2014-01-19 12:43:21 +05:30
rolux
b06386a00b cleanup sanitizeHTML 2014-01-19 12:39:53 +05:30
rolux
3d33a16668 fix Ox.formatDimensions 2014-01-16 07:55:14 +00:00
j
e836071a1e dont fail if undefined is passed to Ox._ 2014-01-15 10:10:25 +00:00
rolux
0fd84ba156 fix loading css on Safari 5 and other older browser 2014-01-15 09:57:51 +00:00
j
6a133723be remove debug 2014-01-11 04:57:02 +00:00
j
0588ebe211 load modules with Ox.VERSION in build mode to make caching work 2014-01-11 04:56:12 +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
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
b834bb2b4d geo module: add getAverageBearing, getBearingDifference, getClosestBearing (find straightest path, mix two hues, etc.) 2013-12-06 21:11:41 +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
9ea8e0352d Ox.$: normalize mousewheel event names 2013-12-04 23:43:07 +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
031aa4367b Ox.toArray -> Ox.slice 2013-12-01 14:57:52 +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