Commit Graph

  • 93ecbe6ab8 Merge https://github.com/documentcloud/underscore John-David Dalton 2012-04-07 00:16:33 -04:00
  • 159830ed63 first commit John-David Dalton 2012-04-07 00:14:29 -04:00
  • c33e1506f4 Merge branch 'master' of github.com:documentcloud/underscore Jeremy Ashkenas 2012-04-06 16:54:29 -04:00
  • f081bf6f11 fixes #541 -- broken docs for tap() Jeremy Ashkenas 2012-04-06 16:54:09 -04:00
  • f27aa2ff54 Merge pull request #542 from braddunbar/template-concat Jeremy Ashkenas 2012-04-06 07:12:52 -07:00
  • 9392d3df18 Correct errant newlines. Brad Dunbar 2012-04-06 09:59:59 -04:00
  • 57bb74bee7 _.template uses concatenation instead of join. Brad Dunbar 2012-04-06 08:28:00 -04:00
  • 1ca3e6b073 Merge pull request #540 from braddunbar/template-varname brad dunbar 2012-04-04 08:23:35 -07:00
  • f50690f67e Tweak variable names. Update docs. Brad Dunbar 2012-04-04 08:15:49 -07:00
  • 89c50e1a95 Allow _.templateSettings to be overriden. Brad Dunbar 2012-04-03 17:38:39 -07:00
  • b04b813f02 Add varname to _.templateSettings. Brad Dunbar 2012-04-03 10:57:39 -07:00
  • 8cfb076c9b removing added speed test Jeremy Ashkenas 2012-04-03 11:49:31 -04:00
  • d40574ef48 Merge pull request #539 from fawek/_.shuffle Jeremy Ashkenas 2012-04-03 08:48:37 -07:00
  • a40001a358 Remove the unnecessary branch in _.shuffle() Jakub Wieczorek 2012-04-03 15:23:38 +02:00
  • 73e6e87858 Fixes #465 -- throttled functions return their value when they actually run. Jeremy Ashkenas 2012-04-02 16:32:53 -04:00
  • 1366d90333 default timeout'd scope is null / global. Fixes #484 Jeremy Ashkenas 2012-04-02 16:11:51 -04:00
  • b52908f78f Fixes #491 - IE9 / Opera 11 test case. Jeremy Ashkenas 2012-04-02 15:50:31 -04:00
  • 110523f9cf Merge pull request #500 from bryanwoods/master Jeremy Ashkenas 2012-04-02 12:43:06 -07:00
  • 4620eb7b61 reordering the patch for #504 Jeremy Ashkenas 2012-04-02 15:30:12 -04:00
  • 62114126d9 Merge pull request #504 from mwilliamson/master Jeremy Ashkenas 2012-04-02 12:27:38 -07:00
  • 6f5489fcab comment tweak Jeremy Ashkenas 2012-04-02 15:07:56 -04:00
  • 18ba865009 Merge pull request #524 from octatone/isFinite Jeremy Ashkenas 2012-04-02 12:07:28 -07:00
  • 719cd24aa9 adding an initial implementation of a 'pick' function. #523 Jeremy Ashkenas 2012-04-02 15:01:26 -04:00
  • 4fa0a9f4d5 Merge pull request #523 from chrisleishman/restrict Jeremy Ashkenas 2012-04-02 11:51:56 -07:00
  • 180b8b0c83 merging #532 -- allow string as iterator on sortBy Jeremy Ashkenas 2012-04-02 13:46:49 -04:00
  • d604895018 revisions to #534, sortBy(undefined) Jeremy Ashkenas 2012-04-02 13:16:58 -04:00
  • 60adb34d0c Merge pull request #534 from chris-baynes/master Jeremy Ashkenas 2012-04-02 10:13:04 -07:00
  • 6f50830b25 Fixes #538 -- confusing wording around chaining. Jeremy Ashkenas 2012-04-02 13:05:52 -04:00
  • dc55088cd6 trying to fix whitespace merge problems Jeremy Ashkenas 2012-04-02 13:07:25 -04:00
  • 548baddd31 resolving merge Jeremy Ashkenas 2012-04-02 13:06:44 -04:00
  • db7d198a55 Fixes #538 -- confusing wording around chaining. Jeremy Ashkenas 2012-04-02 13:05:52 -04:00
  • e4c4300a06 Allow sortBy to handle undefined values. Chris Baynes 2012-03-31 11:05:47 +02:00
  • 6b8a99ba39 Adding the ability to _.sortBy(list, 'property') Yi, EungJun 2012-03-31 02:27:49 +09:00
  • 7c95237845 Add _.restrict(source, *keys) Chris Leishman 2012-03-24 12:26:03 -07:00
  • ee86820473 use _.isNumber for correctly working check Raymond May Jr 2012-03-26 13:02:40 -05:00
  • 4266d91805 test _.isFinite against new Number Raymond May Jr 2012-03-26 13:00:25 -05:00
  • 00ed5d70c8 Merge pull request #521 from braddunbar/template-source Jeremy Ashkenas 2012-03-26 10:48:26 -07:00
  • 2c0ccf03ef Documentation for _.template(...).source. Brad Dunbar 2012-03-26 13:37:06 -04:00
  • 5d468b9622 Merge pull request #525 from mislav/touch Jeremy Ashkenas 2012-03-26 06:28:38 -07:00
  • 0d935b0427 have sidebar scroll natively on touch devices Mislav Marohnić 2012-03-26 13:42:38 +02:00
  • bf6cb03519 test against NaN Raymond May Jr 2012-03-25 14:10:35 -05:00
  • 55b68fdaba formatting Raymond May Jr 2012-03-25 11:20:57 -05:00
  • e274235865 _.isFinite fix and tests Raymond May Jr 2012-03-25 11:08:23 -05:00
  • 705eff4826 add _.isFinite - verifies is a number between Inf && -Inf Raymond May Jr 2012-03-25 10:43:30 -05:00
  • 2055d745db Attach template source to returned function. Brad Dunbar 2012-03-23 12:52:50 -04:00
  • c46cd354c2 Merge pull request #519 from mark-rushakoff/test-cleanup brad dunbar 2012-03-23 05:26:32 -07:00
  • 85672298d9 Prefer equal(x, y) over ok(x == y) Mark Rushakoff 2012-03-22 19:21:23 -07:00
  • ebb9db4e8e _.result calls property with the correct context. Brad Dunbar 2012-03-21 06:33:37 -04:00
  • 594f1e2016 Merge pull request #515 from octatone/master Jeremy Ashkenas 2012-03-20 08:16:19 -07:00
  • 4c2a85f9c5 size enhancement as ternary and _.size(arr) test case Raymond May Jr 2012-03-20 09:31:50 -05:00
  • 5827e4a40a _.size ludicrous speed improvement - formatting Raymond May Jr 2012-03-19 19:10:59 -05:00
  • 2d3edb88f0 _.size ludicrous speed improvement Raymond May Jr 2012-03-19 19:08:36 -05:00
  • 33be5c62b8 Make a small documentation change. Brad Dunbar 2012-03-19 15:45:44 -04:00
  • 384f38b193 Merge pull request #514 from braddunbar/result-docs Jeremy Ashkenas 2012-03-19 12:13:42 -07:00
  • 9a27b1b083 Clarify documentation for _.result. Brad Dunbar 2012-03-19 15:07:33 -04:00
  • a2a35c10ce Merge pull request #512 from braddunbar/getvalue brad dunbar 2012-03-19 11:46:26 -07:00
  • 5545a3b68d Dispense with abbreviation. Brad Dunbar 2012-03-19 14:43:20 -04:00
  • 5c7ccb21ef Rename getValue to result. Brad Dunbar 2012-03-19 14:33:38 -04:00
  • d0e7b397c1 Cache property value. Brad Dunbar 2012-03-19 14:24:59 -04:00
  • 984f29ad58 Merge pull request #511 from braddunbar/tmpl-regexes Jeremy Ashkenas 2012-03-19 09:24:08 -07:00
  • 666049ac5d Add utility function getValue. Brad Dunbar 2012-03-17 13:02:17 -04:00
  • f5eb4b0915 Clean up _.template. Brad Dunbar 2012-03-14 08:25:01 -04:00
  • ba3e31b53e Merge pull request #506 from braddunbar/line-terminators Jeremy Ashkenas 2012-03-12 16:41:18 -07:00
  • 826e743262 Handle \u2028 & \u2029 in _.template. Brad Dunbar 2012-03-12 19:15:18 -04:00
  • 144dcb1828 Merge pull request #505 from braddunbar/arbitrary-code Jeremy Ashkenas 2012-03-12 07:27:23 -07:00
  • 414fafb1f4 Allow natural multi-line code evaluation in templates. Brad Dunbar 2012-03-11 12:39:13 -04:00
  • c8ec654e6b Don't call iterable.toArray in _.toArray if not a function Michael Williamson 2012-03-10 16:00:23 +00:00
  • b3eb4a5fcb Aliases _.take() to _.first() and _.head() Bryan Woods 2012-03-05 12:05:39 -05:00
  • d84410bbe6 added favicon, closes #492 U-EM\mib 2012-02-27 17:26:26 +01:00
  • 34305bc85d Merge pull request #493 from mborejdo/master Jeremy Ashkenas 2012-02-27 08:31:45 -08:00
  • 5677a0c6eb added favicon, closes #492 U-EM\mib 2012-02-27 17:26:26 +01:00
  • c99cfca75e Merge pull request #486 from kitcambridge/uniq Jeremy Ashkenas 2012-02-21 09:43:54 -08:00
  • 8808f7d531 Un-golf _.uniq(). Kit Cambridge 2012-02-21 10:35:55 -07:00
  • 0285f47f78 _.uniq(): Remove unused previous variable. Kit Cambridge 2012-02-20 12:36:48 -07:00
  • c8d4025621 Issue #484: _.uniq() should work with sparse arrays. Kit Cambridge 2012-02-20 12:21:36 -07:00
  • 23931b2716 Merge pull request #482 from dbrans/master Jeremy Ashkenas 2012-02-17 10:07:24 -08:00
  • 7c7c38decf Test: any and every cast result to boolean. Relates to #478 Derek Brans 2012-02-17 11:40:47 -05:00
  • 90431601cc Merge pull request #481 from dbrans/master Jeremy Ashkenas 2012-02-16 13:33:36 -08:00
  • c2a58725be Fix for #478 - any and every should be consistent about casting result to boolean Derek Brans 2012-02-16 16:31:18 -05:00
  • bb63be5167 Merge pull request #463 from michaelficarra/patch-2 Jeremy Ashkenas 2012-02-06 09:28:41 -08:00
  • ff544ae997 _.difference should perform a shallow flatten Michael Ficarra 2012-02-06 12:24:13 -05:00
  • f4359d9684 Merge pull request #462 from joliss/doc Jeremy Ashkenas 2012-02-06 06:56:11 -08:00
  • 64ed34f949 Make it clearer that extend and defaults modify in place *and* return Jo Liss 2012-02-06 14:14:50 +01:00
  • af4b86e0a6 making toArray example clearer. Jeremy Ashkenas 2012-02-03 10:18:44 -05:00
  • 5533c12033 Fixes #437 -- add an 'immediate' parameter to _.debounce. Jeremy Ashkenas 2012-01-30 10:53:46 -05:00
  • 1bb750508d Merge pull request #454 from braddunbar/qunit Jeremy Ashkenas 2012-01-30 07:44:49 -08:00
  • 458e604eee upgrade qunit Brad Dunbar 2012-01-30 10:30:06 -05:00
  • 59761cedcf Merge pull request #453 from braddunbar/isempty Jeremy Ashkenas 2012-01-30 07:21:03 -08:00
  • 5c6abc4453 short circuit isEmpty for null/undefined Brad Dunbar 2012-01-30 10:15:04 -05:00
  • bdb3cb21f9 fixing isObject documentation. Jeremy Ashkenas 2012-01-30 10:01:08 -05:00
  • 018efa56f2 Merge pull request #446 from bjh/master Jeremy Ashkenas 2012-01-30 06:58:28 -08:00
  • 53829cbd5c added a false case for the isObject test documentation bjh 2012-01-26 16:04:58 -05:00
  • 7a2e45eb3a added documentation for _.isObject bjh 2012-01-26 15:57:52 -05:00
  • 4540feaa1f Merge pull request #444 from mark-rushakoff/uniqueid-doc Jeremy Ashkenas 2012-01-26 06:24:09 -08:00
  • ae3720d200 Clarify docs: return value of uniqueId Mark Rushakoff 2012-01-25 20:56:16 -08:00
  • 3512e7fc5c Fixes #435 -- allows _.max and _.min on arrays of dates without converting them to numbers. Jeremy Ashkenas 2012-01-24 10:40:20 -05:00
  • 107c432439 Merge branch 'master' into gh-pages Jeremy Ashkenas 2012-01-24 10:33:22 -05:00
  • 908c015631 Fixes #442 -- broken link to Objects/functions on the homepage Jeremy Ashkenas 2012-01-24 10:33:14 -05:00
  • 61e21c5dbb Merge branch 'master' into gh-pages Jeremy Ashkenas 2012-01-23 17:57:31 -05:00
  • eeea70c457 Underscore 1.3.1 Jeremy Ashkenas 2012-01-23 17:56:29 -05:00