Commit Graph

468 Commits

Author SHA1 Message Date
Dan Tillberg
f04c6bf779 _.after(0, callback) now fires callback immediately 2011-11-10 11:55:21 -05:00
Jeremy Ashkenas
0535545038 Merge pull request #357 from kapooostin/master
Explicit definition of global context for compatibility with Adobe JS
2011-10-31 12:30:51 -07:00
kapooostin
aa916b8cfe Added explicit definition of global context for compatibility with Adobe JS
Signed-off-by: kapooostin <kapooostin@gmail.com>
2011-10-31 23:15:14 +04:00
Jeremy Ashkenas
ba96d168ec Fixes Issue #350 -- Making _.escape dumber to allow double-escaping of HTML entities. 2011-10-31 12:31:02 -04:00
Jeremy Ashkenas
64b69c0cfa Merge branch 'master' of github.com:documentcloud/underscore 2011-10-31 10:40:59 -04:00
Jeremy Ashkenas
7f23d279a8 Fixes #335. 2011-10-31 10:40:45 -04:00
Jeremy Ashkenas
75cda30f39 Merge pull request #353 from braddunbar/style
style, clarity
2011-10-28 14:05:07 -07:00
Brad Dunbar
81bad47bc0 style, clarity 2011-10-28 17:02:20 -04:00
Jeremy Ashkenas
b5a058ba39 Merge pull request #348 from hx/master
Fix for _.template() HTML escaping when using noConflict() and minification.
2011-10-27 14:33:57 -07:00
Neil E. Pearson
ad65e8cb03 Fixed _.template() HTML escaping for when _ isn't in scope, due
to noConflict() and minification.
2011-10-25 16:40:50 +11:00
Jeremy Ashkenas
29f4478a86 Fixing _.throttle() to only execute once if called once. #170 comments. 2011-10-24 16:16:18 -04:00
Jeremy Ashkenas
e8ec62c894 Merge branch 'gh-pages' 2011-10-24 14:46:50 -04:00
Jeremy Ashkenas
9fcaac97b6 Removing a redundant finishThrottle check, renaming vars. 2011-10-24 14:39:14 -04:00
Jeremy Ashkenas
b8322d2218 Merge branch 'master' into gh-pages 2011-10-24 14:23:50 -04:00
Jeremy Ashkenas
bffdb50f9b Underscore.js 1.2.1 2011-10-24 14:23:36 -04:00
Jeremy Ashkenas
3c54f79113 fixes #347 2011-10-24 13:19:15 -04:00
Jeremy Ashkenas
b4d9503340 fixes #170, fixes #266 ... reimplementing throttle in terms of debounce. 2011-10-24 13:13:24 -04:00
Jeremy Ashkenas
cfec39fd4e Revert "Fixes #170, #266 ... throttle now starts at the beginning of the call."
This reverts commit bceb77e325.
2011-10-24 12:06:55 -04:00
Jeremy Ashkenas
bceb77e325 Fixes #170, #266 ... throttle now starts at the beginning of the call. 2011-10-24 12:05:59 -04:00
Jeremy Ashkenas
456a69c559 fixing documentation for throttle. 2011-10-24 11:51:47 -04:00
Jeremy Ashkenas
43878e8ef0 Merging in #321 2011-10-24 11:28:38 -04:00
Jeremy Ashkenas
58c88ccc59 Merge branch 'betterIsX' of https://github.com/michaelficarra/underscore 2011-10-24 11:16:04 -04:00
Jeremy Ashkenas
38b1fe0dd3 Fixes #345. 2011-10-24 10:12:43 -04:00
Jeremy Ashkenas
9b7154878f Merge branch 'master' of github.com:documentcloud/underscore 2011-10-21 14:44:55 -04:00
Jeremy Ashkenas
96fdf6fbac Adding the ability to _.groupBy(list, 'account_id') 2011-10-21 14:44:38 -04:00
Jeremy Ashkenas
08db9c256f Merge pull request #344 from michaelficarra/patch-1
isNaN comment
2011-10-20 14:15:08 -07:00
Michael Ficarra
4d6e2c6ed4 isNaN comment 2011-10-20 18:08:08 -03:00
Michael Ficarra
42e04ecc7a execution time optimisations for _.isArguments, stricter es3 fallback 2011-10-19 23:53:00 -04:00
Jeremy Ashkenas
00cd88cfa6 Enhancing _.bind() to support binding constructors ... which you would never, ever want to do. 2011-10-19 16:51:53 -04:00
Jeremy Ashkenas
3fbb9bb0dd Fixes #339 -- incorrect memoization example in docs. 2011-10-19 16:15:40 -04:00
Jeremy Ashkenas
f1ba205731 cleaning up AMD comment. 2011-10-19 16:01:13 -04:00
Jeremy Ashkenas
196c8066f7 Merge branch 'master' of github.com:documentcloud/underscore 2011-10-19 15:59:54 -04:00
Jeremy Ashkenas
4b2de2e107 Fixes #341, flattening arrays in the context of taking a union shouldn't be deep. Adding a shallow parameter to _.flatten() 2011-10-19 15:59:53 -04:00
Jeremy Ashkenas
ebca7f2a2d Merge pull request #338 from jrburke/optamd
Optionally call AMD define() to register module
2011-10-19 12:18:57 -07:00
Jeremy Ashkenas
3587febd8e Comment formatting. 2011-10-19 14:47:20 -04:00
jrburke
6241343b33 If register as an AMD module, do not create a global, since the goal is to not leak out globals in that case. 2011-10-19 10:07:39 -07:00
Jeremy Ashkenas
7fc616943e Issue #329, special check for the common and magical 'length' property. 2011-10-18 23:26:59 -04:00
jrburke
e68d95dcaa Merge branch 'master' of https://github.com/documentcloud/underscore into optamd 2011-10-18 16:28:28 -07:00
Jeremy Ashkenas
86eedd2a7b Fixes #335, exporting for Titanium. 2011-10-18 16:51:45 -04:00
Jeremy Ashkenas
c30be2137c Merge branch 'patch-1' of https://github.com/tonylukasavage/underscore 2011-10-18 16:44:50 -04:00
Jeremy Ashkenas
e79586515c Issue #329 -- significant change to _.isEqual semantics. 2011-10-18 16:07:23 -04:00
Jeremy Ashkenas
6123870dab Fixes #336 ... adds find alias for detect, and reorders to make the ES5 versions canonical. 2011-10-18 15:02:06 -04:00
Tony Lukasavage
1054e24c4f made the exports check safe 2011-10-18 13:27:18 -03:00
Tony Lukasavage
0513f60b63 add support for CommonJS implementations that do not support modules.exports. 2011-10-18 11:50:46 -03:00
jrburke
e6381d8ee7 Opt in to AMD registration. 2011-10-17 17:58:03 -07:00
Jeremy Ashkenas
89cf32f37a Merge pull request #334 from jasondavies/gh-pages-typo
Fix typo.
2011-10-15 03:12:33 -07:00
Jason Davies
2085963d19 Fix typo. 2011-10-15 11:09:49 +01:00
Jeremy Ashkenas
407b6b4916 Merge pull request #326 from kmalakoff/is_equal_different_types_take2
Reimplemented _.isEqual tests and patch in a fresh branch.
2011-10-06 09:58:31 -07:00
Kevin Malakoff
69bb2e03fa Reducant check spotted by kitcambridge. 2011-10-06 18:51:24 +02:00
Kevin Malakoff
81c9dc2f1f yuchi spotted duplication 2011-10-06 18:23:42 +02:00