Commit graph

55 commits

Author SHA1 Message Date
rolux
77594f0046 catch() requires argument 2013-11-29 21:21:38 +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
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
0d9f689605 avoid double 'if' in Ox.forEach; minor documentation cleanup 2013-01-03 15:56:55 +01:00
rolux
bda90f6b6b remove Ox.Break 2012-07-05 10:58:08 +02:00
rolux
19afdd8bea fix Ox.clone(0, deep) 2012-06-24 15:32:35 +02:00
rolux
1ab5c5eca1 move Ox.isEmpty from Collection.js to Type.js 2012-06-18 19:10:41 +02:00
rolux
175c8b23d0 Collection.js: handle localStorage object 2012-06-17 16:41:39 +02:00
rlx
9d475e6012 remove warning when returning false from Ox.loop and Ox.forEach 2012-06-16 20:46:14 +00:00
rlx
806cbd1557 fix a bug in Ox.filter for objects 2012-06-10 09:00:12 +00:00
rolux
7282835f0d remove 'Ox.copy' alias 2012-06-04 11:26:01 +02:00
rolux
ecd84770dd make Ox.forEach(object...) return a number; remove Ox.setPropertyOnce; move Ox.last to Array.js; update documentation and tests 2012-06-02 16:08:01 +02:00
rolux
55c76942f9 add fixme 2012-06-02 11:20:55 +02:00
rolux
684c4ceaf2 add second parameter to Ox.count 2012-05-31 00:48:55 +02:00
rolux
91026a0c77 throw warning, not error, when returning false from Ox.forEach or Ox.loop 2012-05-30 19:25:18 +02:00
rolux
9269b96469 use markdown 2012-05-30 13:34:57 +02:00
rolux
2b592a8f2d add comment 2012-05-28 15:53:38 +02:00
rolux
30e59f5538 when passing an array to Ox.values, return a clone, not the original array 2012-05-27 22:08:08 +02:00
rolux
08aedd34fd update docs 2012-05-26 00:44:21 +02:00
rolux
9ffe48b526 move comment out of docs 2012-05-26 00:42:32 +02:00
rolux
dfbbcd113b handle FF 3.6 2012-05-25 19:09:25 +02:00
j
eb9cd1e397 IE fixes 2012-05-25 16:28:05 +00:00
rolux
4c2199a820 update tests 2012-05-25 16:25:35 +02:00
rolux
e73b7efc2f add space 2012-05-25 11:44:05 +02:00
rolux
7f7a5aa44c in Ox.walk, pass array of keys to iterator; rename vars 2012-05-25 09:39:33 +02:00
rlx
bdb399614f do not alias Ox.contains as Ox.in 2012-05-24 17:11:48 +00:00
rolux
f6b06d0975 throw error when returning false in Ox.forEach; remove Ox.sub 2012-05-24 12:19:23 +02:00
rolux
9137607045 update docs 2012-05-23 17:43:32 +02:00
rolux
5a4de0de70 + 1 fixme 2012-05-23 09:01:57 +02:00
j
1b08732fa7 - add loadAsync and use in Ox.loadFile, Ox.getJSON
- add Ox.getJSONP
- fix Ox.parseHTML
- fix Ox.Doc
- add more documentation
2012-05-23 01:17:17 +02:00
rolux
12cf77cef5 less obscure Ox.map 2012-05-22 16:29:37 +02:00
j
34bf08c445 document Ox.break 2012-05-22 10:35:35 +02:00
rolux
3d4a79b6a2 in Ox.every, use Ox.identity; faster Ox.filter; in Ox.forEach, allow for Ox.break, and use standard arguments for iterator function, remove Ox.getIndex and Ox.getObject; add Ox.indexOf; in Ox.makeObject, use Ox.typeOf; make sure Ox.max and Ox.min don't blow the stack; add Ox.slice; in Ox.values, use Ox.typeOf 2012-05-21 22:17:33 +02:00
rolux
eab834a643 fix a type check in Ox.sum 2012-05-19 13:38:49 +04:00
rolux
5692195509 swap the meaning of makeArray and toArray: makeArray, like makeObject, is a helper function for arguments processing (that wraps any non-array in an array), toArray, like in other libraries, is an alias for Array.prototype.slice.call 2012-05-19 12:40:59 +04:00
rolux
e8f7f37a8a update Collection.js: for functions, make Ox.len return undefined and Ox.isEmpty return false 2012-05-19 12:06:49 +04:00
rolux
abfea74565 misc. minor changes and documentation updates 2012-04-08 20:22:27 +02:00
rolux
370997c324 Ox.contains = Ox.in 2012-04-08 14:18:43 +02:00
rolux
ee5f89ca86 minor doc update 2012-04-07 12:44:53 +02:00
rolux
1f7796b0f8 make Ox.reverse() work for arrays 2012-04-02 23:11:56 +02:00
rlx
25c25c76c7 minor changes, mostly documentation 2012-03-30 14:11:29 +00:00
rlx
9265efe61a minor changes in Collection.js, mostly documentation 2012-03-29 20:01:05 +00:00
rlx
17aca54e7a temporary fix for video skipping bug (#716); add third parameter (index) to forEach callback; add Geo colors 2012-03-25 21:23:03 +00:00
rolux
1db649bd61 add Function.js, some updates in OxJS 2012-01-07 12:50:02 +05:30
j
093edd57d0 - remove editItem from Ox.List
- use ArrayEditable for text too
2012-01-04 22:57:32 +05:30
rolux
8097cc7812 Ox.getPositionById() -> Ox.getIndexById() 2012-01-04 13:41:05 +05:30
rolux
2ef642fdeb misc updates to ox.js 2012-01-04 13:12:48 +05:30
rolux
73f1105692 updating form elements 2011-12-30 15:03:01 +05:30
rolux
c1c4441b10 update uses of focusInput() 2011-12-18 15:14:11 +05:30