Commit Graph

677 Commits

Author SHA1 Message Date
Kit Cambridge
786c434a29 Extract the preprocess and postprocess functions into build/pre-compile.js and build/post-compile.js, respectively. Clean up build.js.
Former-commit-id: 18c47305b304cca41f00d994138f5b067def1b07
2012-04-22 21:21:32 -06:00
Kit Cambridge
e5520e356e Replace the Makefile with a JavaScript-based build system (requires Node).
Former-commit-id: aedf3fb890ad4f84bafa6034a51c7668da07e08a
2012-04-22 20:48:21 -06:00
John-David Dalton
9af078eb3a lodash: Sync with Underscore.js commits. [jddalton]
Former-commit-id: 0a92b5c9dcd0ff5c4c712e083fa60556ebb1d96a
2012-04-22 18:00:02 -04:00
John-David Dalton
56b2d76eec lodash: Add unit tests. [jddalton]
Former-commit-id: 2c4c8e56bb4afaf19d4da520b2fa995b30251401
2012-04-22 17:00:14 -04:00
John-David Dalton
89f82359c1 lodash: Cleanup documentation. [jddalton]
Former-commit-id: 8fc7693bba4762d337bfe33d389912d37089832c
2012-04-22 16:26:30 -04:00
John-David Dalton
3f6b2d6e75 lodash: Fix build. [jddalton]
Former-commit-id: 71e00490e203ad60e51293f25a7a20e0ed305fef
2012-04-22 14:16:27 -04:00
John-David Dalton
c3b124660e lodash: Add minified source. [jddalton]
Former-commit-id: b6271d7a2241a8b410adedcb7d1e9bbf325a6d19
2012-04-22 13:52:53 -04:00
John-David Dalton
26744a202b lodash: Optimize iterationFactory and cleanup code. [jddalton]
Former-commit-id: b0606100fc262d20d55e8d212a469c9009775df3
2012-04-22 13:52:37 -04:00
John-David Dalton
4de87fe766 lodash: Add a Makefile and pre/post compiling scripts. [jddalton]
Former-commit-id: 70c1881b0b9a7fa8a51294780b97516144682649
2012-04-22 13:51:05 -04:00
John-David Dalton
10fc7aa83c lodash: Add UglifyJS and Closure Compiler submodules. [jddalton]
Former-commit-id: e1e8d2492319fb37c06a912c4b09e0cffaeda24f
2012-04-22 13:49:53 -04:00
John-David Dalton
78cc8f8b6e lodash: Use native Object.keys and Array.isArray. [jddalton] 2012-04-18 15:10:46 -04:00
John-David Dalton
9fc5044cf9 lodash: Add first pass at compiling iterators. [jddalton] 2012-04-18 14:44:23 -04:00
John-David Dalton
37cdb762f9 lodash: Cleanup source. [jddalton] 2012-04-17 23:47:27 -04:00
John-David Dalton
27f3729508 lodash: Fix README.md documentation link. [jddalton] 2012-04-17 20:09:06 -04:00
John-David Dalton
8e65243edf lodash: Rename to lodash and update support files. [jddalton] 2012-04-17 20:05:59 -04:00
John-David Dalton
c499d81633 lodash: Update submodules. [jddalton] 2012-04-17 20:05:14 -04:00
John-David Dalton
a7667902f3 lowdash: Remove temp underscore tests and update test paths. [jddalton] 2012-04-17 01:46:51 -04:00
John-David Dalton
3619b04b06 low dash: Cleanup repo and add submodules. [jddalton] 2012-04-16 23:48:53 -04:00
John-David Dalton
9a65fa200d Merge https://github.com/documentcloud/underscore 2012-04-14 15:49:00 -04:00
Jeremy Ashkenas
599d31101b Underscore.js 1.3.3 (tiny bugfix release) 2012-04-10 10:43:26 -04:00
Brad Dunbar
d17834aeb0 Fix #547 - _.templateSettings is unchanged by custom settings. 2012-04-09 22:49:12 -04:00
Jeremy Ashkenas
e80bbe6d03 Underscore.js 1.3.2 2012-04-09 14:37:49 -04:00
Jeremy Ashkenas
2f4e926e34 resolving merge 2012-04-09 14:11:35 -04:00
John-David Dalton
93ecbe6ab8 Merge https://github.com/documentcloud/underscore 2012-04-07 00:16:33 -04:00
John-David Dalton
159830ed63 first commit 2012-04-07 00:14:29 -04:00
Jeremy Ashkenas
c33e1506f4 Merge branch 'master' of github.com:documentcloud/underscore 2012-04-06 16:54:29 -04:00
Jeremy Ashkenas
f081bf6f11 fixes #541 -- broken docs for tap() 2012-04-06 16:54:09 -04:00
Jeremy Ashkenas
f27aa2ff54 Merge pull request #542 from braddunbar/template-concat
_.template Uses Concatenation
2012-04-06 07:12:52 -07:00
Brad Dunbar
9392d3df18 Correct errant newlines. 2012-04-06 09:59:59 -04:00
Brad Dunbar
57bb74bee7 _.template uses concatenation instead of join. 2012-04-06 08:28:00 -04:00
brad dunbar
1ca3e6b073 Merge pull request #540 from braddunbar/template-varname
Add variable to _.templateSettings.
2012-04-04 08:23:35 -07:00
Brad Dunbar
f50690f67e Tweak variable names. Update docs.
* Restore template.source.
* Use variable instead of varname.
* Use text for template input.
* Include settings in documentation.
2012-04-04 08:15:49 -07:00
Brad Dunbar
89c50e1a95 Allow _.templateSettings to be overriden. 2012-04-03 17:38:39 -07:00
Brad Dunbar
b04b813f02 Add varname to _.templateSettings.
* Leave out the with statement when using varname.
* Rename source to compiled.
* Comments, comments, comments.
2012-04-03 11:51:57 -07:00
Jeremy Ashkenas
8cfb076c9b removing added speed test 2012-04-03 11:49:31 -04:00
Jeremy Ashkenas
d40574ef48 Merge pull request #539 from fawek/_.shuffle
Remove the unnecessary branch in _.shuffle()
2012-04-03 08:48:37 -07:00
Jakub Wieczorek
a40001a358 Remove the unnecessary branch in _.shuffle()
The non-zero case works properly for 0 as well.
2012-04-03 15:26:39 +02:00
Jeremy Ashkenas
73e6e87858 Fixes #465 -- throttled functions return their value when they actually run. 2012-04-02 16:32:53 -04:00
Jeremy Ashkenas
1366d90333 default timeout'd scope is null / global. Fixes #484 2012-04-02 16:11:51 -04:00
Jeremy Ashkenas
b52908f78f Fixes #491 - IE9 / Opera 11 test case. 2012-04-02 15:50:31 -04:00
Jeremy Ashkenas
110523f9cf Merge pull request #500 from bryanwoods/master
Aliases `_.take()` to `_.first()` and `_.head()`
2012-04-02 12:43:06 -07:00
Jeremy Ashkenas
4620eb7b61 reordering the patch for #504 2012-04-02 15:30:12 -04:00
Jeremy Ashkenas
62114126d9 Merge pull request #504 from mwilliamson/master
Don't call iterable.toArray in _.toArray if not a function
2012-04-02 12:27:38 -07:00
Jeremy Ashkenas
6f5489fcab comment tweak 2012-04-02 15:07:56 -04:00
Jeremy Ashkenas
18ba865009 Merge pull request #524 from octatone/isFinite
New Feature: _.isFinite to compliment _.isNumber and _.isNaN
2012-04-02 12:07:28 -07:00
Jeremy Ashkenas
719cd24aa9 adding an initial implementation of a 'pick' function. #523 2012-04-02 15:01:26 -04:00
Jeremy Ashkenas
4fa0a9f4d5 Merge pull request #523 from chrisleishman/restrict
Add _.restrict(source, *keys)
2012-04-02 11:51:56 -07:00
Jeremy Ashkenas
180b8b0c83 merging #532 -- allow string as iterator on sortBy 2012-04-02 13:46:49 -04:00
Jeremy Ashkenas
d604895018 revisions to #534, sortBy(undefined) 2012-04-02 13:16:58 -04:00
Jeremy Ashkenas
60adb34d0c Merge pull request #534 from chris-baynes/master
Allow for better handling of undefined values in sortBy.
2012-04-02 10:13:04 -07:00