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 |
|
rolux
|
031aa4367b
|
Ox.toArray -> Ox.slice
|
2013-12-01 14:57:52 +01:00 |
|
rolux
|
84bfd1222e
|
add comment; remove separate Ox.toArray
|
2013-11-29 21:15:36 +01:00 |
|
rlx
|
c4d2bb7a3d
|
add Ox.nextValue
|
2013-07-18 12:52:47 +00:00 |
|
rolux
|
36bb42e7bd
|
Ox.sort: handle thousand separators
|
2013-02-03 12:44:40 +05:30 |
|
rolux
|
c27dc129ce
|
Ox.api: handle missing 'options' argument
|
2012-12-18 15:04:22 +01:00 |
|
rolux
|
293c96a97d
|
In Ox.api, allow for sums of text fields (= number of unique values, for example: number of artists in a list of works)
|
2012-12-18 11:35:51 +01:00 |
|
rolux
|
4ef16ef92d
|
when computing sort values, only strip non-word characters from the beginning of the value if the result is not an empty string
|
2012-10-26 18:16:44 +02:00 |
|
rolux
|
23bd717a8a
|
When caching sort values, make the type of the value part of the cache key (so that 9 and '9' don't collide)
|
2012-10-26 18:09:37 +02:00 |
|
rolux
|
2223fcfd2b
|
In Ox.api, add support for values that are arrays
|
2012-10-26 17:27:15 +02:00 |
|
j
|
7230606a6d
|
fix Ox.sort, was broken in changeset:oxjs,2363
|
2012-09-08 00:19:13 +02:00 |
|
rolux
|
db9c55ff5e
|
in cached getSortValue function, use a cheaper args to key function
|
2012-09-04 00:46:55 +02:00 |
|
rolux
|
f5c320187e
|
In Ox.api, add a map option {key: fn(value, object)}, value being object[key], so that the sort value can depend on other keys; Ox.sortBy is updated to use getSortValue (cached sort value of mapped value) instead of getSortValues (precomputed mapped sort value per value, which is no longer unique)
|
2012-09-03 22:11:25 +02:00 |
|
rolux
|
b5a2e80878
|
fix sort value for '[article] [number or quoted string]', add test
|
2012-08-29 17:40:27 +02:00 |
|
rolux
|
ff1e6d4833
|
make Ox.compact more compact and flatten Ox.flatten
|
2012-07-13 15:51:49 +02:00 |
|
rolux
|
bda90f6b6b
|
remove Ox.Break
|
2012-07-05 10:58:08 +02:00 |
|
rolux
|
ad25f92c38
|
update about, fix Ox.find docs
|
2012-07-03 00:54:37 +02:00 |
|
rolux
|
46f2fa516e
|
fix a bug in sort/sortBy
|
2012-06-19 21:29:16 +02:00 |
|
rolux
|
1f4b0f7faa
|
Ox.api: cache sort; Ox.sortBy: improve performance
|
2012-06-19 19:32:10 +02:00 |
|
rolux
|
178e2bc487
|
fix min/max longitude
|
2012-06-19 18:04:48 +02:00 |
|
rolux
|
7c2f8aa967
|
typo
|
2012-06-19 18:02:40 +02:00 |
|
rolux
|
f7b0fb6893
|
typo
|
2012-06-19 18:01:48 +02:00 |
|
rolux
|
a544de5c60
|
typo
|
2012-06-19 18:00:59 +02:00 |
|
rolux
|
98b7929fc3
|
typo
|
2012-06-19 17:59:31 +02:00 |
|
rolux
|
76a540e399
|
Ox.API: better workaround for area
|
2012-06-19 17:57:21 +02:00 |
|
rolux
|
8bc8c57373
|
use base 10 in parseInt, use Math.floor for numbers
|
2012-06-13 10:28:21 +02:00 |
|
rlx
|
fbbe1e256a
|
remove whitespace
|
2012-06-13 07:57:27 +00:00 |
|
rolux
|
a5c6747b57
|
change the signature of Ox.pad to match Ox.truncate
|
2012-06-04 11:08:38 +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
|
686df92efa
|
update documentation
|
2012-06-02 15:17:56 +02:00 |
|
rolux
|
d9b0cc5f01
|
update/fix documentation
|
2012-06-02 15:07:29 +02:00 |
|
rolux
|
9269b96469
|
use markdown
|
2012-05-30 13:34:57 +02:00 |
|
rolux
|
8210a0c5cd
|
fix a bug in sort, rename vars, re-enable Ox.api documentation
|
2012-05-28 07:52:46 +02:00 |
|
j
|
5fa84fc9af
|
remove trailing commas
|
2012-05-25 21:59:48 +00:00 |
|
rolux
|
fa1b2346ef
|
minor change
|
2012-05-25 19:07:40 +02:00 |
|
rolux
|
565dc6ad35
|
rename vars; move Ox.find, Ox.getIndexById, Ox.getObjectById, Ox.makeArray and Ox.toArray to Array.js; make Ox.find accept a third argument ('leading') and return a single array; improve IE patch for Ox.toArray
|
2012-05-25 09:44:48 +02:00 |
|
rolux
|
544e117cb3
|
Ox.break -> Ox.Break
|
2012-05-24 19:20:29 +02:00 |
|
rolux
|
64c01e385d
|
remove Ox.merge
|
2012-05-24 12:19:47 +02:00 |
|
rolux
|
1608664bb6
|
rather use ''.slice than ''.substr
|
2012-05-24 11:47:33 +02:00 |
|
rolux
|
f990f3b857
|
use [].slice, not Ox.sub
|
2012-05-24 11:02:59 +02:00 |
|
rlx
|
915e98f829
|
fix a bug in sort
|
2012-05-24 07:55:18 +00:00 |
|
rolux
|
1c40fb007b
|
use [].concat, not Ox.merge
|
2012-05-24 09:45:33 +02:00 |
|
rolux
|
9a7e86dceb
|
+ 1 fixme
|
2012-05-23 09:20:06 +02:00 |
|
rolux
|
df67c37924
|
update docs
|
2012-05-23 09:01:36 +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
|
04784630d3
|
use Ox.break
|
2012-05-22 09:11:26 +02:00 |
|
rolux
|
bfa9394850
|
in Ox.api, use Ox.indexOf, not Ox.getIndex; faster Ox.merge
|
2012-05-21 22:10:51 +02:00 |
|