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 |
|
rolux
|
e6522b8fef
|
update setLocale (handle module localization)
|
2013-05-09 17:41:00 +02:00 |
|
rolux
|
a1f1138b22
|
LOCALES -> LOCALE_NAMES
|
2013-05-09 17:00:28 +02:00 |
|
j
|
4d8c716d0b
|
add localization to Ox
|
2013-05-09 13:03:33 +00:00 |
|
rolux
|
b68b827d7b
|
add Locale.js, update Format.js
|
2013-05-09 15:12:26 +02:00 |
|
rolux
|
2968d7b79a
|
update test
|
2013-04-26 12:26:19 +02:00 |
|
rlx
|
f34d70fd4c
|
Ox.formatString: support '{a.b.c}' access to nested object properties
|
2013-03-05 06:06:58 +00:00 |
|
rolux
|
730ae16a99
|
update Ox.getFile docs
|
2013-03-02 16:08:03 +05:30 |
|
rolux
|
9236b7fd83
|
update Ox.getFile docs
|
2013-03-02 16:01:47 +05:30 |
|
rolux
|
89408bd4be
|
fix <a> regexp to allow for href="/"
|
2013-02-27 16:27:44 +05:30 |
|
rolux
|
5ca1c5b36c
|
in Ox.localStorage, use native for in loop to test if the browser can iterate over localStorage
|
2013-02-18 12:44:40 +05:30 |
|
rolux
|
f44db6ff18
|
update tests
|
2013-02-18 12:43:59 +05:30 |
|
rolux
|
290d97cbee
|
in serialize/unserialize, replace toNumber argument with isJSON argument
|
2013-02-18 11:38:31 +05:30 |
|
rolux
|
5227dbc166
|
in Ox.sanitizeHTML, when passing an array of replaceTags tuples, allow for the second element of that tuple to be a replace function (not just a string)
|
2013-02-16 12:39:16 +05:30 |
|
rolux
|
3cdaebadee
|
Ox.sanitizeHTML: add replaceTags option
|
2013-02-15 18:01:28 +05:30 |
|
j
|
30253ddb9c
|
dont fail if third party localStorage is not enaled, closes #1244
|
2013-02-12 17:58:07 +00:00 |
|
rolux
|
36bb42e7bd
|
Ox.sort: handle thousand separators
|
2013-02-03 12:44:40 +05:30 |
|
j
|
23833d2a11
|
chnage local storage test to work in FF 16+, fixes #1116
|
2013-01-25 07:14:37 +00:00 |
|
rolux
|
d7f54bc7e4
|
add Ox..toggleClass() method
|
2013-01-08 11:51:12 +01:00 |
|
rolux
|
0d9f689605
|
avoid double 'if' in Ox.forEach; minor documentation cleanup
|
2013-01-03 15:56:55 +01:00 |
|
rolux
|
6d5b254a94
|
in Ox.formatOrdinal, add thousand separators
|
2013-01-01 15:05:35 +01:00 |
|
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
|
34cef100ad
|
remove some brackets
|
2012-11-14 15:16:49 +01:00 |
|
rolux
|
666815f566
|
update inline test
|
2012-11-14 15:12:08 +01:00 |
|
rolux
|
48f2c4f9ee
|
add Ox.formatCount
|
2012-11-14 15:10:04 +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
|
bed08786a1
|
fix dependencies
|
2012-09-04 00:45:43 +02:00 |
|
rolux
|
0d0926cbf5
|
In Ox.cache (which is now called onload in Array.js to cache getSortValue), remove dependency on Ox.extend (which would depend on Ox.forEach)
|
2012-09-03 22:14:08 +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
|
baf29d068b
|
remove an onload dependency
|
2012-09-03 21:59:53 +02:00 |
|