Commit Graph

  • bffdb50f9b Underscore.js 1.2.1 Jeremy Ashkenas 2011-10-24 14:23:36 -04:00
  • 3c54f79113 fixes #347 Jeremy Ashkenas 2011-10-24 13:19:15 -04:00
  • b4d9503340 fixes #170, fixes #266 ... reimplementing throttle in terms of debounce. Jeremy Ashkenas 2011-10-24 13:13:24 -04:00
  • cfec39fd4e Revert "Fixes #170, #266 ... throttle now starts at the beginning of the call." Jeremy Ashkenas 2011-10-24 12:06:55 -04:00
  • bceb77e325 Fixes #170, #266 ... throttle now starts at the beginning of the call. Jeremy Ashkenas 2011-10-24 12:05:59 -04:00
  • 456a69c559 fixing documentation for throttle. Jeremy Ashkenas 2011-10-24 11:51:47 -04:00
  • 43878e8ef0 Merging in #321 Jeremy Ashkenas 2011-10-24 11:28:26 -04:00
  • 58c88ccc59 Merge branch 'betterIsX' of https://github.com/michaelficarra/underscore Jeremy Ashkenas 2011-10-24 11:16:04 -04:00
  • 38b1fe0dd3 Fixes #345. Jeremy Ashkenas 2011-10-24 10:12:43 -04:00
  • 9b7154878f Merge branch 'master' of github.com:documentcloud/underscore Jeremy Ashkenas 2011-10-21 14:44:55 -04:00
  • 96fdf6fbac Adding the ability to _.groupBy(list, 'account_id') Jeremy Ashkenas 2011-10-21 14:44:38 -04:00
  • 08db9c256f Merge pull request #344 from michaelficarra/patch-1 Jeremy Ashkenas 2011-10-20 14:15:08 -07:00
  • 4d6e2c6ed4 isNaN comment Michael Ficarra 2011-10-20 18:08:08 -03:00
  • 42e04ecc7a execution time optimisations for _.isArguments, stricter es3 fallback Michael Ficarra 2011-10-19 23:53:00 -04:00
  • 00cd88cfa6 Enhancing _.bind() to support binding constructors ... which you would never, ever want to do. Jeremy Ashkenas 2011-10-19 16:51:53 -04:00
  • 3fbb9bb0dd Fixes #339 -- incorrect memoization example in docs. Jeremy Ashkenas 2011-10-19 16:15:40 -04:00
  • f1ba205731 cleaning up AMD comment. Jeremy Ashkenas 2011-10-19 16:01:13 -04:00
  • 196c8066f7 Merge branch 'master' of github.com:documentcloud/underscore Jeremy Ashkenas 2011-10-19 15:59:54 -04:00
  • 4b2de2e107 Fixes #341, flattening arrays in the context of taking a union shouldn't be deep. Adding a shallow parameter to _.flatten() Jeremy Ashkenas 2011-10-19 15:59:53 -04:00
  • ebca7f2a2d Merge pull request #338 from jrburke/optamd Jeremy Ashkenas 2011-10-19 12:18:57 -07:00
  • 3587febd8e Comment formatting. Jeremy Ashkenas 2011-10-19 14:47:20 -04:00
  • 6241343b33 If register as an AMD module, do not create a global, since the goal is to not leak out globals in that case. jrburke 2011-10-19 10:07:39 -07:00
  • 7fc616943e Issue #329, special check for the common and magical 'length' property. Jeremy Ashkenas 2011-10-18 23:26:59 -04:00
  • e68d95dcaa Merge branch 'master' of https://github.com/documentcloud/underscore into optamd jrburke 2011-10-18 16:28:28 -07:00
  • 86eedd2a7b Fixes #335, exporting for Titanium. Jeremy Ashkenas 2011-10-18 16:51:45 -04:00
  • c30be2137c Merge branch 'patch-1' of https://github.com/tonylukasavage/underscore Jeremy Ashkenas 2011-10-18 16:44:50 -04:00
  • e79586515c Issue #329 -- significant change to _.isEqual semantics. Jeremy Ashkenas 2011-10-18 16:07:23 -04:00
  • 6123870dab Fixes #336 ... adds find alias for detect, and reorders to make the ES5 versions canonical. Jeremy Ashkenas 2011-10-18 15:02:06 -04:00
  • 1054e24c4f made the exports check safe Tony Lukasavage 2011-10-18 13:27:18 -03:00
  • 0513f60b63 add support for CommonJS implementations that do not support modules.exports. Tony Lukasavage 2011-10-18 11:50:46 -03:00
  • e6381d8ee7 Opt in to AMD registration. jrburke 2011-10-17 17:58:03 -07:00
  • 89cf32f37a Merge pull request #334 from jasondavies/gh-pages-typo Jeremy Ashkenas 2011-10-15 03:12:33 -07:00
  • 2085963d19 Fix typo. Jason Davies 2011-10-15 11:09:49 +01:00
  • 407b6b4916 Merge pull request #326 from kmalakoff/is_equal_different_types_take2 Jeremy Ashkenas 2011-10-06 09:58:31 -07:00
  • 69bb2e03fa Reducant check spotted by kitcambridge. Kevin Malakoff 2011-10-06 18:51:24 +02:00
  • 81c9dc2f1f yuchi spotted duplication Kevin Malakoff 2011-10-06 18:23:42 +02:00
  • f2a64227fd Reimplemented _.isEqual tests and patch in a fresh branch. Kevin Malakoff 2011-10-06 15:50:51 +02:00
  • 518d650279 Merge branch 'master' into gh-pages Jeremy Ashkenas 2011-10-05 17:35:58 -04:00
  • 0ed3b65df1 fixing bullet points. Jeremy Ashkenas 2011-10-05 17:35:54 -04:00
  • ab84e23ab2 Merge branch 'master' into gh-pages Jeremy Ashkenas 2011-10-05 17:32:59 -04:00
  • dc9ec7ed38 updating filesizes Jeremy Ashkenas 2011-10-05 17:32:54 -04:00
  • 254e93cb22 Merge branch 'master' into gh-pages Jeremy Ashkenas 2011-10-05 17:30:32 -04:00
  • 7304084e94 Underscore.js 1.2.0 Jeremy Ashkenas 2011-10-05 17:30:20 -04:00
  • cc6a9d494d Merging in escaping for Underscore templates, using <%- syntax. Sorry Eco. Jeremy Ashkenas 2011-10-05 16:19:00 -04:00
  • b501ba49e9 Merge branch 'patch-1' of http://github.com/shesek/underscore Jeremy Ashkenas 2011-10-05 16:07:15 -04:00
  • ac191a28a5 merging in #324 as _.initial Jeremy Ashkenas 2011-10-05 15:32:34 -04:00
  • dcda142655 Tests for _.init Pier Paolo Ramon 2011-10-05 14:14:51 +02:00
  • 6d9d071b2f Implemented _.init as per #319 Pier Paolo Ramon 2011-10-05 14:06:18 +02:00
  • 221161cecc better isXXX checks; the current tests have too many false positives Michael Ficarra 2011-10-04 22:24:36 -04:00
  • 348c93515c Issue #272 ... min and max of empty objects. Jeremy Ashkenas 2011-10-04 17:23:55 -04:00
  • 921b592cd7 Merge pull request #281 from ryantenney/master Jeremy Ashkenas 2011-10-04 14:11:30 -07:00
  • d79cd48bc5 Merge pull request #285 from malclocke/add_index_argument_to_last Jeremy Ashkenas 2011-10-04 13:06:07 -07:00
  • 7d0e4169a9 shortening module names. Jeremy Ashkenas 2011-10-04 15:56:32 -04:00
  • 1facc0e4fe merging in Tim Smart's gorgeous deep equality patch for _.isEqual Jeremy Ashkenas 2011-10-04 15:56:26 -04:00
  • 7760e6aa52 Merge git://github.com/documentcloud/underscore into isequal Kit Cambridge 2011-09-05 17:50:45 -06:00
  • 4fa97eb2fa _.isBoolean should return true for boolean object wrappers. Kit Cambridge 2011-09-05 15:51:09 -06:00
  • 54245bc679 _.isEqual: Add an early comparison for NaN values. Kit Cambridge 2011-09-05 12:34:09 -06:00
  • e9faa40108 Add a comprehensive test suite for isEqual. Kit Cambridge 2011-09-05 12:27:03 -06:00
  • 6f62f258cb Add support for comparing string, number, and boolean object wrappers. Ignore inherited properties when deep comparing objects. Use a more efficient while loop for comparing arrays and array-like objects. Kit Cambridge 2011-09-05 12:25:59 -06:00
  • d447165ed4 Merge pull request #1 from michaelficarra/isequal Kit Goncharov 2011-09-04 16:37:05 -07:00
  • bf3aa97c36 reverting some changes to isEqual that were a little too aggressive Michael Ficarra 2011-09-04 19:34:19 -04:00
  • e449b00a26 Add guard check to _.last() Malcolm Locke 2011-09-01 01:10:10 +12:00
  • a8f0445192 Add an optional index argument to _.last() Malcolm Locke 2011-08-31 22:39:05 +12:00
  • 9996ecae5c Remove dupe inclusion of underscore-min.js. Get rid of 'reshuffle' in index.html. Ryan W Tenney 2011-08-25 22:13:11 +00:00
  • f4cba513b9 Added function shuffle, with test case. Ryan W Tenney 2011-08-25 21:44:29 +00:00
  • 791ac80473 Adding Underscore-perl Jeremy Ashkenas 2011-08-11 10:53:29 -04:00
  • 610b347174 Adding Underscore-perl Jeremy Ashkenas 2011-08-11 10:53:29 -04:00
  • eda751a2a4 Added link to Underscore.php in the docs Brian Haveri 2011-08-04 12:42:29 -06:00
  • f43a7907bb Merge pull request #267 from brianhaveri/master Jeremy Ashkenas 2011-08-04 12:01:12 -07:00
  • 6cf647505f Added link to Underscore.php in the docs Brian Haveri 2011-08-04 12:42:29 -06:00
  • 03b341d063 Merging in #194, adding an iterator to _.uniq Jeremy Ashkenas 2011-08-03 11:32:31 -04:00
  • 75b21957c7 Issue #252 #154 #148 documenting numeric length key caveat Jeremy Ashkenas 2011-08-03 11:16:57 -04:00
  • 34f10467b3 * Added _.escape() for escaping special HTML chars * Added support for auto-escaping of values using ``<%== ... %>`` Nadav 2011-07-20 03:41:27 -07:00
  • c7c57ca6ff _.isEqual improvements Michael Ficarra 2011-07-15 18:15:10 -04:00
  • c7d4810ed6 Merge branch 'master' into gh-pages Jeremy Ashkenas 2011-07-13 17:05:25 -04:00
  • 9e8fc83040 fixing silly typo. Jeremy Ashkenas 2011-07-13 17:05:20 -04:00
  • 2462717424 resolving merge conflict Jeremy Ashkenas 2011-07-13 17:02:59 -04:00
  • 39b07d7b2c Underscore.js 1.1.7 Jeremy Ashkenas 2011-07-13 17:02:12 -04:00
  • a12d0035cb _.isEqual: Ensure commutative equality for dates and RegExps. Kit Goncharov 2011-07-13 14:24:28 -06:00
  • c1a556216e Revert "Edited underscore.js via GitHub" Jeremy Ashkenas 2011-07-13 15:57:52 -04:00
  • a6cba6885e Revert "merging in faster indexOf patch ... arguably faster than the native implementation, but oh well. #245" Jeremy Ashkenas 2011-07-13 15:57:42 -04:00
  • f099038a9d merging in faster indexOf patch ... arguably faster than the native implementation, but oh well. #245 Jeremy Ashkenas 2011-07-13 15:12:50 -04:00
  • 47fb3d7f9c Edited underscore.js via GitHub limeblack 2011-07-13 11:19:34 -07:00
  • 7eb7b08f71 reverting a non-important change that broke reduceRight in IE. Jeremy Ashkenas 2011-07-13 12:58:36 -04:00
  • 19beb29283 Revert "Issue #103, change initial value detection for reduce()" Jeremy Ashkenas 2011-07-13 12:57:51 -04:00
  • 365eea6aa7 _.isEqual: Streamline the deep comparison algorithm and remove the dependency on _.keys. Kit Goncharov 2011-07-13 10:48:16 -06:00
  • 347d7297f3 function formatting. Jeremy Ashkenas 2011-07-13 12:41:17 -04:00
  • 779a28d59a Merge branch 'underscore.any' of https://github.com/shinuza/underscore Jeremy Ashkenas 2011-07-13 12:40:08 -04:00
  • 7573ac7751 Unit tests for sparse arrays. Jeremy Ashkenas 2011-07-13 12:36:27 -04:00
  • 5edc3761c6 Issue #209, fix reduce without a memo for arrays that are sparse at the beginning. Jeremy Ashkenas 2011-07-13 12:27:11 -04:00
  • 174c897fce Issue #103, change initial value detection for reduce() Jeremy Ashkenas 2011-07-13 12:21:08 -04:00
  • cd236d4c47 Issue #243. _.functions now also returns the names of function defined in the prototype chain. Jeremy Ashkenas 2011-07-13 11:09:51 -04:00
  • b6a02fa6bb _.isEqual: Use a strict comparison to avoid an unnecessary division for false values. Kit Goncharov 2011-07-12 22:37:09 -06:00
  • cf812e77bc _.isEqual: Ensure that 0 and -0 are not equivalent. NaN values should be equal. Kit Goncharov 2011-07-12 22:16:12 -06:00
  • 9d0b43221a _.isEqual: Move the internal eq method into the main closure. Remove strict type checking. Kit Goncharov 2011-07-12 20:22:05 -06:00
  • e21b346cbf _.isEqual: Compare object types rather than [[Class]] names. Kit Goncharov 2011-07-12 19:54:56 -06:00
  • 5c2c3ce464 Rewrite _.isEqual and add support for comparing cyclic structures. Kit Goncharov 2011-07-12 19:42:36 -06:00
  • 727db393d5 Amending length check as discussed in 942d63 Jeremy Ashkenas 2011-07-12 17:01:04 -04:00
  • 0ec859a142 Issue #225, adding _.union, _.difference, to complement _.without and _.intersection. Jeremy Ashkenas 2011-07-12 16:48:30 -04:00
  • 942d63129b Fixing silly commit. Thanks @cirwin Jeremy Ashkenas 2011-07-12 15:27:42 -04:00