Commit graph

455 commits

Author SHA1 Message Date
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
rolux
863ddfeafa remove an onload dependency 2012-09-03 21:11:57 +02:00
rolux
d16f76f0da add constant Ox.EARTH_SURFACE 2012-09-01 05:51:35 +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
j
223d9470a9 add useCapture argument to addEventListener, not optional in FF 3.6 2012-07-05 19:50:01 +02:00
rolux
a155ff5487 fix Ox.localStorage for Firefox 3.6 2012-07-05 19:48:20 +02:00
rolux
b8f88958da cleanup documentation 2012-07-05 19:47:57 +02:00
rolux
f4c34d858c remove Ox.polyfill.localStorage 2012-07-05 19:47:33 +02:00
j
4b71d7c03b merge 2012-07-05 19:45:41 +02:00
j
762d5ca963 fix load on IE and Firefox 3.6 2012-07-05 19:05:52 +02:00
rolux
0f44e64885 remove some comments 2012-07-05 11:36:17 +02:00
rolux
bda90f6b6b remove Ox.Break 2012-07-05 10:58:08 +02:00
rolux
c600c250b0 update documentation for request methods 2012-07-03 23:55:05 +02:00
rolux
ad25f92c38 update about, fix Ox.find docs 2012-07-03 00:54:37 +02:00
rolux
487ee4626d update Ox.formatUnit 2012-07-02 16:19:36 +02:00
rolux
bbd80ccf4f Ox.getAsync: fix docs, rename var 2012-06-27 14:55:49 +02:00
rolux
73c0fc8c31 remove print statement 2012-06-27 13:21:28 +02:00
rolux
f6a7d0a059 remove unneccessary closure 2012-06-26 03:14:35 +02:00
rolux
f5782c475b Ox.divideInt -> Ox.splitInt 2012-06-25 16:43:03 +02:00
rolux
1b62ccfc4b Ox.test: fix docs 2012-06-24 19:11:59 +02:00
rolux
d29bc5569b make Ox.rgb always return integers 2012-06-24 17:41:27 +02:00
rolux
9f1b86ab87 Ox.test: eval all scripts; add stringifyResult method; properly stringify actual async result; in async path, rename 'result' to 'actual' 2012-06-24 15:40:48 +02:00
rolux
966ceeb1f1 Ox.parseMarkdown: don't make replacements inside code spans/blocks; Ox.sanitizeHTML: add (failing) test; remove unneccessary escaping inside [] in regular expressions 2012-06-24 15:37:46 +02:00
rolux
8312105427 comment out example scripts 2012-06-24 15:34:19 +02:00
rolux
19afdd8bea fix Ox.clone(0, deep) 2012-06-24 15:32:35 +02:00
rolux
05828db75d Ox.doc: support inline properties prefixed with '.', add FIXMEs 2012-06-23 20:22:09 +02:00
rolux
4b0a07387f fix a bug in parseMarkdown, add tests 2012-06-23 13:30:33 +02:00
rolux
ec4c46cb6c Ox.sanitizeHTML: include 'em' and 'strong' in default tags (otherwise sanitizing markdown fails) 2012-06-23 12:48:17 +02:00
rolux
b272221020 Ox.doc: set 'section' to complete line, not just first word 2012-06-23 12:47:30 +02:00
rolux
1652cde0ec fix docs 2012-06-23 12:46:41 +02:00
rolux
f15d6cad0f change the semantics of Ox.load to call back once the DOM is ready - which wasn't the case when calling Ox.load(callback) in the built version 2012-06-22 15:02:38 +02:00
rolux
e54be15936 Ox.sanitizeHTML: add test 2012-06-22 10:29:09 +02:00
rolux
8ccabb349e Ox.sanitizeHTML: decode html entities before encoding html entities; Ox.parseMarkdown: encode '<' in code spans and code blocks 2012-06-22 10:24:25 +02:00
rolux
93a9805da7 minor cleanup 2012-06-21 13:47:52 +02:00
rolux
d8cd59e90f add Ox.hypot 2012-06-21 13:39:19 +02:00
rolux
d04c1d3059 remove a print statement 2012-06-21 08:55:05 +02:00
rolux
71218cd61f Ox.tokenize: handle '.1' 2012-06-21 08:08:45 +02:00
rolux
625325a6e6 fix test result 2012-06-20 22:11:05 +02:00
rolux
9e35ae0be2 minor cleanup 2012-06-20 18:49:06 +02:00
rolux
9093d5f3ed update Ox.load documentation 2012-06-20 18:40:55 +02:00