Commit graph

148 commits

Author SHA1 Message Date
rolux
d3ff222a04 Ox.$: return undefined for non-existing attributes (like jQuery); fix a wrong 'this' reference 2012-05-19 13:16:04 +04:00
rolux
f793245e2e Ox.isNumber: update tests 2012-05-19 13:14:38 +04:00
rolux
8479037ab6 fix Ox.checkType 2012-05-19 12:48:01 +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
5cabb679f9 merge misc. minor changes 2012-05-19 12:30:43 +04:00
rolux
6acfd505e6 fix type check in Ox.$ 2012-05-19 12:15:28 +04:00
rolux
49fc8dc8ed base Ox.typeOf on Object.prototype.toString, add Ox.checkType, Ox.isInt and Ox.isPrimitive 2012-05-19 12:15:04 +04:00
rolux
d066501a14 add Ox.STACK_SIZE 2012-05-19 12:10:41 +04:00
rolux
03947b0d7f add Ox.identity 2012-05-19 12:09:48 +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
373549a25a remove Ox.isFalsy 2012-05-19 10:36:34 +04:00
rolux
d4954db30d add Ox.escapeRegExp 2012-05-19 10:36:02 +04:00
j
509745407b add documentation stubs 2012-05-21 12:38:18 +02:00
rlx
959a014657 fix Ox.sort so that it handles multiple numbers 2012-04-24 10:47:18 +00:00
rlx
4a210718ea in Ox.sort(), handle non-leading numbers and leading articles (fixes #723, fixes #779) 2012-04-24 10:16:58 +00:00
j
e765153f9c dont loop over files twice 2012-04-19 14:19:57 +02:00
rlx
17b17707fc minor fix in documentation 2012-04-19 11:25:12 +00:00
rlx
a943d00e20 allow for passing multiple files to Ox.getJSON 2012-04-19 11:23:24 +00:00
rlx
cf943e6466 add Ox.loadFiles 2012-04-19 11:13:43 +00:00
rolux
0148701372 update Ox.$ tests 2012-04-15 21:12:48 +02:00
rolux
ad56695694 clean up Ox.$ 2012-04-15 14:14:18 +02:00
rolux
ecba7968c1 add val() method to Ox.$ 2012-04-14 11:45:19 +02:00
rolux
b4dc9e15ba add async version of Ox.loop 2012-04-13 23:19:52 +02:00
rolux
49a16328f5 add new methods to Ox.$ (width, height, show, hide) 2012-04-12 21:21:03 +02:00
rolux
1d9bf5aacd remove some unused geo objects 2012-04-11 22:37:20 +02:00
rolux
b28eb7ec51 minor changes in sortBy 2012-04-11 22:36:27 +02:00
rolux
ebc6efffb4 minor fixes and documentation updates 2012-04-09 10:42:00 +02:00
rolux
1651b3f565 make Ox.doc accept multiple files 2012-04-09 10:39:02 +02:00
rolux
abfea74565 misc. minor changes and documentation updates 2012-04-08 20:22:27 +02:00
rolux
7b13e834a7 add Ox.void() 2012-04-08 14:19:53 +02:00
rolux
7daf1a23a0 erroneous semicolon 2012-04-08 14:19:34 +02:00
rolux
370997c324 Ox.contains = Ox.in 2012-04-08 14:18:43 +02:00
rolux
e53fe8b09a remove print statement 2012-04-07 16:47:02 +02:00
rolux
bd4b5e6880 add the synchronous version of Ox.doc() promised in its documentation 2012-04-07 16:40:07 +02:00
rolux
7474ac9783 make Ox.doc report arrays as '[...]' instead of 'array[...]', and arrays with unspecified types as '[values]' instead of 'array[any]' 2012-04-07 12:47:40 +02:00
rolux
ee5f89ca86 minor doc update 2012-04-07 12:44:53 +02:00
rolux
da8066dc73 typo in documentation 2012-04-07 12:44:12 +02:00
rolux
9ad4ec6041 add bindOnce to Ox.$ 2012-04-07 01:45:51 +02:00
rolux
24eb4bdc64 improve implementation and documentation of Ox.divideInt 2012-04-06 02:43:41 +02:00
rolux
e951578b37 make Ox.$ more useful 2012-04-05 17:30:00 +02:00
rolux
c54574a7b7 change version number to 0.1 2012-04-05 17:29:33 +02:00
rolux
7b7bedb65a use Ox.api in Ox.List and Ox.Map 2012-04-04 09:06:55 +02:00
rolux
1278e39759 add cache option to Ox.api 2012-04-03 15:09:39 +02:00
rolux
4613c96a01 make Ox.cache work for aynchronous functions 2012-04-03 15:09:05 +02:00
rolux
1f7796b0f8 make Ox.reverse() work for arrays 2012-04-02 23:11:56 +02:00
rolux
b9ebb11d48 add geo option to Ox.api (send combined area with totals) 2012-04-02 17:41:28 +02:00
rolux
9a61fdbbab add Ox.containsArea (true if an area contains another one), Ox.intersectAreas (the area/s contained in all areas) and Ox.joinAreas (the smallest area contaning all areas) 2012-04-02 17:40:09 +02:00
rolux
803985a160 in Ox.api, only sort if more than two items 2012-04-01 23:02:19 +02:00
rolux
cd6bca7d6b remove a print statement 2012-04-01 00:25:46 +02:00
rolux
b03393bc0c modify Ox.sort so that empty, null or undefined volumes come last, regardless of sort order (fixes # 727) 2012-03-31 23:00:05 +02:00