Commit graph

629 commits

Author SHA1 Message Date
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
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
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
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
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
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
fee4339d11 rewrite sanitizeHTML to support global attributes 2013-11-10 21:59:36 +00:00
rolux
25a5b9d712 cosmetic changes 2013-11-08 18:56:29 +01:00
rolux
2fc8c3094d Ox.queue: add clear method, cleanup documentation 2013-10-29 14:34:15 +01:00
j
42fa5a7a3c minify does not like comments without comment 2013-10-25 12:38:11 +00:00
j
e6eb5ea1c7 allow iframes 2013-10-24 16:39:26 +00:00
j
e1d71b27bc only force reload in debug mode, use version otherwise 2013-09-05 11:09:30 +00:00
rlx
f16bbebfd4 fix a bug in Ox.decodeURI/Ox.decodeURIComponent 2013-08-27 09:07:17 +00:00
rlx
0f5d475c78 fix a bug in Ox.decodeUTF8; move Ox.decodeURI/Ox.decodeURIComponent to encoding module 2013-08-27 08:56:07 +00:00
j
0c76680864 add more html5 tags, fixes #1444 2013-08-27 08:52:22 +00:00
rlx
7693079b8c Ox.decodeURI/Ox.decodeURIComponent: replace all '%' with '%25' that are not part of valid UTF8 sequence (fixes #1841) 2013-08-26 23:18:05 +00:00
rlx
c5a8d7a79e Ox.decodeURI/Ox.decodeURIComponent: handle multi-byte escapes 2013-08-14 20:00:14 +00:00
rlx
51215c1cbe add and use Ox.decodeURI and Ox.decodeURIComponent 2013-08-14 18:53:13 +00:00
rlx
df1bb73364 fix Ox.parseDuration for cases where duration includes days 2013-08-01 08:55:14 +00:00
rolux
e7415059f0 formatDuration: use Math.abs(seconds) 2013-07-24 16:04:59 +02:00
rlx
e2be60c762 fix Ox.formatString 2013-07-22 17:49:50 +00:00
rlx
c4d2bb7a3d add Ox.nextValue 2013-07-18 12:52:47 +00:00
j
a5a6eac2c5 Ox.getVideoFormat returns one format, update documentation, fixes #1634 2013-07-10 14:36:51 +00:00
rolux
564603a20e cleanup getVideoFormat and getVideoInfo 2013-07-10 01:32:08 +02:00
rolux
b0f9558845 cleanup Ox.queue 2013-07-10 01:27:25 +02:00
j
708aff64e4 add Ox.getVideoInfo, move Ox.UI.getVideoFormat to Ox.getVideoFormat 2013-07-09 14:30:35 +00:00
j
807844c836 Ox.cache async should call callback always async 2013-07-09 14:29:14 +00:00
j
c7eaee0794 add Ox.queue 2013-07-09 14:28:23 +00:00
rolux
4950898b34 some more tabs to spaces 2013-06-02 22:19:36 +02:00
rolux
064c40461e cosmetic changes 2013-06-02 22:15:55 +02:00
rolux
fc1192f156 Ox.Async: allow for passing false to serialForEach callback (break); allow for ommiting final callback of forEach methods; improve tests 2013-06-01 15:25:37 +02:00
j
9a2c7c7239 support loading Ox.js?\d+ to get new version 2013-05-31 21:16:24 +00:00
rolux
c99316916c add Ox.numberOf: sugar for Ox.len(Ox.filter(collection, test)) 2013-05-26 11:50:37 +02:00
rolux
4b01e4984b add Ox.remove: sugar for array.splice(array.indexOf(element), 1) 2013-05-25 14:24:39 +02:00
rolux
03850ee600 fix syntax error and add missing space in test results (formatDate, localized dates) 2013-05-25 14:23:12 +02:00
rolux
755d1d8a61 fix Ox.setLocale 2013-05-09 22:35:40 +02:00
rolux
dbc971d1c9 fix Ox.setLocale 2013-05-09 22:32:50 +02:00
rolux
50a845fa29 fix Ox.getAsync 2013-05-09 22:32:19 +02:00
rolux
7f6bb6a318 add Ox.getLocale 2013-05-09 21:20:09 +02:00
rolux
8aef1fb7c0 remove unused function in Ox.load 2013-05-09 20:12:32 +02:00
rolux
1e056171e6 improved check to see if a module is present 2013-05-09 19:07:54 +02:00
rolux
ad4603ddb4 Ox.load: when loading modules, set locale 2013-05-09 19:02:28 +02:00
rolux
9c66eced09 in setLocale, allow for setting the locale to the current locale (in order to include additional module locale files) 2013-05-09 19:01:59 +02:00
rolux
54c8871559 in setLocale, only call callback once 2013-05-09 18:38:19 +02:00