Benjamin Tan
4bce4721e5
Update v2.2.1 docs
2015-01-23 15:09:28 +08:00
John-David Dalton
49e22742de
Add test for incorrectly shimmed Object.create.
2013-10-03 09:42:32 -07:00
John-David Dalton
422d7942ef
Bump to v2.2.1.
2013-10-03 00:30:29 -07:00
John-David Dalton
a63e7162bc
Make doc/parse.php read the version from package.json. [ci skip]
2013-10-02 23:21:41 -07:00
John-David Dalton
1f973b72b8
Keep createObject fallback for modern builds.
2013-10-02 19:47:15 -07:00
John-David Dalton
d3dd97f167
Fix _.mixin creates functions that respect __chain__.
2013-10-02 19:30:49 -07:00
John-David Dalton
f0f17e0041
Updated the tested version of Node.js to 0.10.20 in readme. [ci skip]
2013-10-01 22:20:26 -07:00
John-David Dalton
d6fa8bf233
Add _.pluck to backbone.html in anticipation of Backbone's version bump. [ci skip]
2013-10-01 22:04:43 -07:00
John-David Dalton
ec5e685a1c
Remove unneeded keywords from component.json. [ci skip]
2013-10-01 08:39:03 -07:00
John-David Dalton
c88b95751c
Reduce setting MAKE in .travis.yml.
2013-09-30 20:21:59 -07:00
John-David Dalton
72ae25bc53
Log the params passed to test.js to the console.
2013-09-30 19:33:18 -07:00
John-David Dalton
02e5cc1da8
Add asset folders and cache busting to worker.js.
2013-09-30 18:53:04 -07:00
John-David Dalton
3d092df56d
Tweak isModularize detection. [ci skip]
2013-09-29 20:33:13 -07:00
John-David Dalton
912d5c700c
Change before_script to the more appropriate before_install in .travis.yml.
2013-09-29 20:21:45 -07:00
John-David Dalton
6d3c492518
Extend test/test.js to support testing generated npm packages.
2013-09-29 19:19:02 -07:00
John-David Dalton
5e29e3f1cb
Tweak wording on _.clone feature note in readme & tweak unit test handling missing _.runInContext.
2013-09-29 14:46:52 -07:00
John-David Dalton
0558495760
Update _.clone unit test for older Safari.
2013-09-29 12:30:34 -07:00
John-David Dalton
0471dfa2f8
Update vendor/qunit-clib to avoid logInline when running on Windows.
2013-09-29 09:53:05 -07:00
John-David Dalton
7883e6544e
Remove modularize entry in test-ui.js, update isModularize detection, and avoid a false fail in old Opera.
2013-09-28 22:14:05 -07:00
John-David Dalton
6da87e4a79
Bump to v2.2.0.
2013-09-28 20:29:54 -07:00
John-David Dalton
bafe4fff93
Update vendor/qunit-clib and validate assert counts in each unit test.
2013-09-28 18:27:07 -07:00
John-David Dalton
da782398a2
Allow test.'s to support rhino -require with modularized builds.
2013-09-28 17:13:24 -07:00
John-David Dalton
4b26b46f6a
Remove unneeded code from the underscore build of the support object.
2013-09-28 14:02:12 -07:00
John-David Dalton
0f1e69a2df
Tweak how isModularize is detected in test/test.js.
2013-09-28 00:25:56 -07:00
John-David Dalton
85f2bd464c
Remove "performance" & "speed" keywords from package.json. [ci skip]
2013-09-26 23:47:26 -07:00
John-David Dalton
8a4956b736
Remove openjdk6 from .travis.yml.
2013-09-26 21:55:14 -07:00
John-David Dalton
4a369af4c7
Cleanup baseClone.
2013-09-26 21:05:10 -07:00
John-David Dalton
9749305ecd
Make _.clone shallow clone dates, regexps, and boolean/number/string objects. [ closes #358 ]
2013-09-26 20:07:07 -07:00
John-David Dalton
639178dbdc
Make qunit-clib less chatty for passed tests.
2013-09-26 08:12:33 -07:00
John-David Dalton
62d038b547
Fix typo in .travis.yml.
2013-09-26 01:10:22 -07:00
John-David Dalton
9b80e3a33b
When floating in _.random avoid getting 0 too many times when using arguments like min of -3 and max of 3.
2013-09-25 23:24:58 -07:00
John-David Dalton
0ea54f0458
Optimize .travis.yml narwhal, ringo, and rhino use.
2013-09-25 22:56:51 -07:00
John-David Dalton
374c52f71f
Use ln as shorthand for link in the "Notes" section of the readme . [ci skip]
2013-09-25 09:09:04 -07:00
John-David Dalton
60f63e125a
Experiment with downloading rhino, ringo, narwhal via .travis.yml.
2013-09-25 07:52:48 -07:00
John-David Dalton
7cfa7f3de4
Use now() in the compat and underscore builds too.
2013-09-24 19:10:09 -07:00
John-David Dalton
92409831c2
Reduce dependency on getObject.
2013-09-24 00:10:16 -07:00
John-David Dalton
e04790a628
Update docs to make the list of aliases more descriptive. [ci skip]
2013-09-23 09:12:50 -07:00
John-David Dalton
cd7bf40508
Have the npm packages link in the readme use the "lodash-modularized" keyword. [ci skip]
2013-09-23 08:38:52 -07:00
John-David Dalton
dc378e9ce7
Bump to v2.1.0.
2013-09-22 22:55:14 -07:00
John-David Dalton
5fcdcec1a8
Tweak test-ui.js for changes in the modularize build option. [ci skip]
2013-09-22 01:15:50 -07:00
John-David Dalton
8773704c8b
Strengthen the UMD.
2013-09-20 23:01:53 -07:00
John-David Dalton
291fd1857e
Reduce our readme and update docdown. [ci skip]
2013-09-20 21:18:26 -07:00
John-David Dalton
0aa4aeaddc
Change directory in .travis.yml before running unit tests.
2013-09-20 19:52:49 -07:00
John-David Dalton
ca81f1b2e8
Add floating argument to _.random. [ closes #354 ]
2013-09-20 00:21:42 -07:00
John-David Dalton
fca3a14410
Update readme with download descriptions.
2013-09-19 23:49:44 -07:00
John-David Dalton
d105e80ed8
Add "include" to .travis.yml.
2013-09-19 22:23:27 -07:00
John-David Dalton
ce63faa597
Add "matrix" to .travis.yml.
2013-09-19 21:12:17 -07:00
John-David Dalton
25c1b63a00
Fix doc typo in _.where. [ci skip] [ closes #353 , #355 ]
2013-09-19 18:40:58 -07:00
John-David Dalton
548728abba
Avoid PhantomJS 1.9.2 bug in .travis.yml.
2013-09-19 09:33:33 -07:00
John-David Dalton
2ebdbd565a
Add tests to check that _.support properties aren't minified.
2013-09-19 09:20:42 -07:00
John-David Dalton
86376616ff
Remove testing modern builds by phantomjs in .travis.yml.
2013-09-19 08:53:55 -07:00
John-David Dalton
7c6865f948
Ensure reThis isn't used in Windows 8 apps.
2013-09-19 08:53:19 -07:00
John-David Dalton
c2da0070f5
Add legacy and mobile builds to .travis.yml.
2013-09-18 23:27:11 -07:00
John-David Dalton
bf2a2aed66
Fix typo in _.template docs.
2013-09-18 21:13:34 -07:00
John-David Dalton
403ea0a0e1
Fix _.compose unit test.
2013-09-18 01:20:08 -07:00
John-David Dalton
27976cbe1a
Add notes about Infinity and -Infinity to _.min and _.max docs.
2013-09-17 22:54:42 -07:00
John-David Dalton
70147396a4
Add mid check to createCache bailout.
2013-09-17 22:53:10 -07:00
John-David Dalton
d6aed16e7c
Allow _.compose to be called without arguments. [ closes #352 ]
2013-09-17 19:40:48 -07:00
John-David Dalton
0414bae820
Avoid creating an enumerable Function#bind in test/index.html.
2013-09-17 19:30:01 -07:00
John-David Dalton
620866bc39
Ensure _.flatten handles empty arrays.
2013-09-17 19:29:09 -07:00
John-David Dalton
55f080e33f
Optimize _.isArray fallback, baseFlatten, & _.isArguments for plain objects.
2013-09-17 08:58:18 -07:00
John-David Dalton
9f2b1b03d7
Don't restore undefined native methods in test/index.html.
2013-09-17 00:16:40 -07:00
John-David Dalton
c0a0f3aaf5
Minor whitespace nits in test and perf ui. [ci skip]
2013-09-17 00:05:21 -07:00
John-David Dalton
7726b5c56b
Add more bad shim tests.
2013-09-16 23:57:01 -07:00
John-David Dalton
3daff8ab8a
Decode custom test/perf build urls.
2013-09-16 23:56:26 -07:00
John-David Dalton
428c2097c7
Cleanup baseFlatten.
2013-09-16 21:20:14 -07:00
John-David Dalton
7786583ecf
Avoid long fail message in _.flatten unit test.
2013-09-16 07:25:32 -07:00
John-David Dalton
9b79ea7d30
Minor doc tweaks. [ci skip]
2013-09-15 23:12:04 -07:00
John-David Dalton
3dc8436362
Ensure _.flatten works with extremely large arrays. [ closes #349 ]
2013-09-15 18:37:09 -07:00
John-David Dalton
9f1f2a4845
Keep the defineProperty fallback in place so it can be used in phantom.js without throwing an error.
2013-09-15 17:29:18 -07:00
John-David Dalton
40204e8133
Cleanup docs.
2013-09-15 17:17:57 -07:00
John-David Dalton
133b1067c5
Add Node 0.8 to .travis.yml.
2013-09-14 00:09:56 -07:00
John-David Dalton
5c8287203e
Adjust .gitignore to only ignore .min files in the root.
2013-09-13 21:39:12 -07:00
John-David Dalton
061bbb1914
Add lodash source to "files" in package.json.
2013-09-13 21:18:41 -07:00
John-David Dalton
572168ef20
Update Underscore version in license. [ci skip]
2013-09-13 21:18:04 -07:00
John-David Dalton
1aa27f2da3
Change link to npm lodash packages in readme. [ci skip]
2013-09-13 21:16:12 -07:00
John-David Dalton
be76614c90
Update various package configs.
2013-09-13 20:22:09 -07:00
John-David Dalton
e26d355fb7
Minor readme cleanup.
2013-09-13 09:24:55 -07:00
John-David Dalton
d8dbcef5dd
Bump to v2.0.0.
2013-09-13 00:10:59 -07:00
John-David Dalton
5d6a6590bf
Make worker unit test runnable in older Firefoxes.
2013-09-12 21:11:10 -07:00
John-David Dalton
7dfdfe5b50
Simplify _.bind benchmark.
2013-09-12 20:09:35 -07:00
John-David Dalton
36fcc460f4
Avoid issues with engines that can't manipulate arguments objects with array methods.
2013-09-12 20:09:28 -07:00
John-David Dalton
24b03d42d6
Fix dojo loader in IE < 9. [ci skip]
2013-09-11 22:16:22 -07:00
John-David Dalton
60275d3637
Add "amd" keyword to package.json. [ci skip]
2013-09-11 08:18:47 -07:00
John-David Dalton
9b5b471802
Update Underscore version in copyright header. [ci skip]
2013-09-11 00:18:23 -07:00
John-David Dalton
1edb96f526
Update vole and jam ignore entries.
2013-09-09 21:25:09 -07:00
John-David Dalton
f949bdcfe4
Update builds and docs.
2013-09-09 08:54:39 -07:00
John-David Dalton
21a45a940e
Ensure _.first, _.last, and _.sample return the undefined if called with a falsey argument or an empty array if called with a falsey argument and an n value.
2013-09-09 08:21:24 -07:00
John-David Dalton
fb61dfd39d
Reduce use of undefined literal.
2013-09-09 07:26:57 -07:00
John-David Dalton
9b5940505b
Add _.sample benchmark.
2013-09-08 18:14:48 -06:00
John-David Dalton
8c07a67fe9
Ensure _.sample handles falsey collection arguments.
2013-09-08 15:09:09 -06:00
John-David Dalton
0f9687ce62
Revert part of the PhantomJS cleanup.
2013-09-08 15:07:59 -06:00
John-David Dalton
1460e46d1f
Optimize _.sample.
2013-09-08 01:14:42 -05:00
John-David Dalton
692521c49d
Update docs and dist.
2013-09-08 00:28:54 -05:00
John-David Dalton
2f1d8cc196
Ensure _.debounce passes vendor/underscore unit tests.
2013-09-07 16:49:10 -05:00
John-David Dalton
eeabb47fb6
Update vendor/underscore to 1.5.2.
2013-09-07 14:38:53 -05:00
John-David Dalton
e078f584eb
Cleanup _.debounce.
2013-09-07 08:55:32 -05:00
John-David Dalton
f86322545a
Tweak paths in package.json.
2013-09-06 01:21:26 -05:00
John-David Dalton
720e19a01f
Cleanup phantomjs support in test.js.
2013-09-05 20:33:52 -05:00
John-David Dalton
3560fed86e
Fix test runner with phantomjs and dojo loader.
2013-09-05 00:19:58 -05:00
John-David Dalton
5f8f5a9f85
Add a console.log in test.js when PhantomJS fails to load a given page.
2013-09-04 20:58:10 -05:00
John-David Dalton
1aae24b831
Cleanup _.template docs. [ci skip]
2013-09-04 18:37:50 -05:00
John-David Dalton
b544b1c3d4
Replace var window with root in test.js.
2013-09-04 18:36:14 -05:00
John-David Dalton
f462f87183
Finish making tests runnable for lodash-amd.
2013-09-04 00:07:00 -05:00
John-David Dalton
6ed7ef25b2
Simplify package.json.
2013-09-03 23:12:22 -05:00
John-David Dalton
bc79d09f2d
Update vendors, builds, and docs.
2013-09-03 23:11:34 -05:00
John-David Dalton
5b2becb87f
Extend phantomjs to work with lodash-amd.
2013-09-03 23:10:49 -05:00
John-David Dalton
cd808fb5a5
Change how lodash-modularie build path is resolved.
2013-09-02 01:01:59 -05:00
John-David Dalton
c8a4e40bcf
Use dev branch version of curl-kitchen-sink.
2013-09-02 00:46:22 -05:00
John-David Dalton
911b6c9679
Adjust .travis.yml for consistency.
2013-09-01 19:25:46 -05:00
John-David Dalton
03041f87c3
Tweak how filePath is resolved to work with lodash-node.
2013-09-01 19:25:19 -05:00
John-David Dalton
360c53d6ca
Add license to package.json.
2013-09-01 01:34:10 -05:00
John-David Dalton
3f1d555c71
Detect paths containing lodash-amd and lodash-node as modularized.
2013-08-31 13:10:13 -07:00
John-David Dalton
ae1d72265c
Make "ignore" entries consistent across package configs. [ci skip]
2013-08-31 12:54:40 -07:00
John-David Dalton
9570c65d88
Tweak Blaine's gravatar src in readme.
2013-08-30 08:59:36 -07:00
John-David Dalton
3e0b04509a
Remove mobile builds from /dist/ as their in cons.
2013-08-30 08:51:29 -07:00
John-David Dalton
0884379e0b
Correct repo links in contributing.md.
2013-08-30 08:51:29 -07:00
John-David Dalton
ec16532028
Cleanup dot (.) files.
2013-08-30 08:51:29 -07:00
John-David Dalton
c8f13544a8
Remove legacy and backbone builds from dist/.
2013-08-30 08:51:29 -07:00
John-David Dalton
44bfe55413
Move curl.js.
2013-08-30 08:51:29 -07:00
John-David Dalton
b95c1adc86
Use truey instead of truthy, /ht @brucelawson. [ci skip]
2013-08-30 08:51:29 -07:00
John-David Dalton
b3a94c26d9
Remove lesser used backbone and legacy builds from the npm package.
2013-08-30 08:51:28 -07:00
John-David Dalton
159c7238a8
Update repo links in readme. [ci skip]
2013-08-30 08:51:28 -07:00
John-David Dalton
70f40bab1d
Add @phated to the contributors in package.json. [ci skip]
2013-08-30 08:51:28 -07:00
John-David Dalton
6c1a9dc14b
Rework the doc example for _.after.
2013-08-30 08:51:28 -07:00
John-David Dalton
816381a6a8
Use location.host in test/index.html and test/underscore.html.
...
Former-commit-id: 34dd4860b7b83ec9b96b3f9062654bdf960ff75f
2013-08-30 08:50:43 -07:00
Blaine Bublitz
dd84bca638
curl legacy loader
...
Former-commit-id: 08c7c76abe03823e3cdb0e25f76c969fa073226e
2013-08-30 08:50:43 -07:00
John-David Dalton
a5d2019a39
Tweak _.template docs.
...
Former-commit-id: 7c8842f046bcb1a736c1dddca5871cc78d8a5ceb
2013-08-28 19:57:49 -07:00
John-David Dalton
26cee564c9
Add @phated under the Contributors section of the read me.
...
Former-commit-id: 9666cfd0e46a307466497e864b142e97771a0215
2013-08-28 19:53:00 -07:00
Blaine Bublitz
316b8a1375
remove old curl, update to curl 0.8.1 kitchen sink dist and use curl legacy config for test instead of js! plugin
...
Former-commit-id: 9cba27cb9e0e7644a8a824b30fe5e85e85fc165e
2013-08-28 19:06:29 -07:00
John-David Dalton
618b25df08
Update repo paths in component.json and package.json.
...
Former-commit-id: 4c2b2498786c11d100cd82d006d0a98feba4586e
2013-08-28 11:14:55 -07:00
John-David Dalton
8f9c4cd217
Remove build from this repo to move to lodash-cli.
...
Former-commit-id: 0f9e802dd744a97494a10537442a28aae40dc72a
2013-08-28 11:14:38 -07:00
John-David Dalton
c6e2e33e87
Add IE fallback for lack of Function#name.
...
Former-commit-id: 42047271fe596ed064ce2b1a58b70e6c6cd8a4af
2013-08-27 22:34:23 -07:00
John-David Dalton
db605ea7ca
Fix basePath in IE.
...
Former-commit-id: 3c78a042183ffbb52c22a6979f71f842d6a1ea38
2013-08-27 21:54:03 -07:00
John-David Dalton
a1507d4844
Sync underscore build with Underscore v1.5.1.
...
Former-commit-id: 333f720645f5ffec079bfe11558ed72a3956ed18
2013-08-27 09:12:50 -07:00
John-David Dalton
c6340a64fe
Add _.createCallback unit test for calling without an argCount.
...
Former-commit-id: 1d9e14163a77564c9fecdba56590131e8cfcebe0
2013-08-27 08:22:04 -07:00
John-David Dalton
265b440c37
Tweak _.contains optimization.
...
Former-commit-id: 4c8040972806b2b18958379fde765858d22ceda8
2013-08-27 08:21:37 -07:00
John-David Dalton
ea8e6d978d
Optimize _.contains for arrays.
...
Former-commit-id: 050743f77e7047f86d5b14b97d35846c9d2e749c
2013-08-26 22:32:20 -07:00
John-David Dalton
c3f5bc6bfb
More JSDoc cleanup. [ closes #334 ]
...
Former-commit-id: dcb55079320e3bcd35c3bf4f36d18f393f16e426
2013-08-26 22:01:44 -07:00
John-David Dalton
e322f6dbe2
Make backbone unit tests pass in IE6.
...
Former-commit-id: e709e017441d7902d5f09e6901cf4f586953723b
2013-08-26 00:05:00 -07:00
John-David Dalton
83059a013c
Update vendor/underscore.
...
Former-commit-id: 833a6ca3e5a7f9d4a8b22e535d849c106526171e
2013-08-25 22:42:33 -07:00
John-David Dalton
e374392450
Rebuild dist/ files.
...
Former-commit-id: 3e9c51b17797b9a1ba702c4f38f24c3bc592c1d5
2013-08-25 20:43:30 -07:00
John-David Dalton
72d505b2f1
Update other vendors jsdoc comment blocks.
...
Former-commit-id: 3dcc92abe376d4c83baf6d2307c0a4343d5dce31
2013-08-25 20:40:24 -07:00
John-David Dalton
a11bff0c7b
Make test.'s match var name usage in lodash.js.
...
Former-commit-id: 680581a0138315def67c213605140c74f7d6ee6a
2013-08-25 20:39:43 -07:00
John-David Dalton
a820ee4c82
Update vendor/docdown to parse more compliant jsdoc syntax.
...
Former-commit-id: cfd5d1a5eae3a2608ed49ea388c389fb1ea0e489
2013-08-25 20:39:12 -07:00
John-David Dalton
a18be78bd3
Allow defineProperty to be used in the lodash.compat build too.
...
Former-commit-id: c610fd24ca8cfefab4c355099a034a8b2542aa77
2013-08-25 16:49:42 -07:00
John-David Dalton
83b5806cec
Improve jsdoc syntax. [ closes #334 ]
...
Former-commit-id: a6ab2e8ac7c5b8abd0e63ee025552d6452a3e0a2
2013-08-25 13:01:41 -07:00
John-David Dalton
4d7a1199ea
Track the dependents of root in build.js.
...
Former-commit-id: be19143f8741be40419f83b2919c44c2d19bc9ac
2013-08-25 10:20:53 -07:00
John-David Dalton
d47cac563a
Ensure cacheIndexOf works correctly with boolean values.
...
Former-commit-id: 21f65952b14ddfff892a8c151545ad807a8ec9ef
2013-08-25 01:39:18 -07:00
John-David Dalton
2969290c63
Update contributing, package.json test entry, and add lodash-grunt to the readme. [ci skip]
...
Former-commit-id: d59c8db9593eb8893d728588f88ce8b2685f3594
2013-08-25 00:50:30 -07:00
John-David Dalton
277557cd99
Fix perf regressions in _.bind, _.groupBy, _.countBy, _.indexBy, and _.reduceRight.
...
Former-commit-id: 0972dd65af64b7cd1d7f2800a8a59c28183b8aba
2013-08-24 23:32:04 -07:00
John-David Dalton
21db7d438b
Reduce the number of times clearTimeout is called in _.debounce.
...
Former-commit-id: 5b07b6660be4ff6783a8348fc8a122cfab5d10c4
2013-08-24 00:29:56 -07:00
John-David Dalton
61ff2da15c
Replace window var with root to better grab the global when using custom IIFEs.
...
Former-commit-id: f79834c6b53d692e85801d6258cd8beb35c776c2
2013-08-23 08:44:33 -07:00
John-David Dalton
ad8296a535
Correct exportsOptions in build.js.
...
Former-commit-id: 35c8977e27bea40431392e02c300625ce6459cca
2013-08-22 09:22:31 -07:00
John-David Dalton
aec3318f4c
Update vendors.
...
Former-commit-id: a2830d4097d13884391abe792c319bf1e699df08
2013-08-21 22:03:31 -07:00
John-David Dalton
3297c3a2e2
Round three of modularize exports=node support.
...
Former-commit-id: ac21e547a6717ddf362e06c031657c9fb18b8c85
2013-08-20 22:31:04 -07:00
John-David Dalton
84759de36f
Round two of modularize exports=node support.
...
Former-commit-id: 8a764774804f194f3fa344219cc8464190c4405f
2013-08-20 09:23:02 -07:00
John-David Dalton
a562126f2f
Make _.memoize avoid using keyPrefix if passed a resolver function. [ closes #330 ]
...
Former-commit-id: 97e3bb353d988c92eea394dfb496ebf7594ae25f
2013-08-19 22:42:32 -07:00
John-David Dalton
1901134601
Add exports=npm and first round of modularize node.js support.
...
Former-commit-id: fd0ae2328312d5e28dd5d866dc56f613aff54817
2013-08-18 23:46:16 -07:00
John-David Dalton
eecb6986ee
Cleanup _.sample and add missing dependency.
...
Former-commit-id: 428bbdb266bd1d66119007ed6121c3f810bd2cd1
2013-08-18 07:23:38 -07:00
John-David Dalton
508cada017
Add string test for _.shuffle.
...
Former-commit-id: 420789264a287b5431322b9871a3c1c219ff2722
2013-08-17 08:15:42 -07:00
John-David Dalton
2abae2f21a
Add string test for _.sample.
...
Former-commit-id: 81836be99bc0439d24eb5e6b73a7e6c2803c9516
2013-08-16 23:33:13 -07:00
John-David Dalton
82c17dbde2
Update vendor/docdown.
...
Former-commit-id: 98cda48e4b63e2cd471c927ba36afbe2bb80938e
2013-08-16 00:31:10 -07:00
John-David Dalton
425499b3aa
Add _.sample.
...
Former-commit-id: 00e27cca2a65e1310b26904173ffec18aa484e48
2013-08-16 00:26:41 -07:00
John-David Dalton
96605766bb
Add _.memoize note to readme. [ci skip]
...
Former-commit-id: 769b9a03b0e2873e86acefcbc31c43f7179a9d54
2013-08-15 22:49:16 -07:00
John-David Dalton
161012b0a7
Ensure _.at can work as a callback for _.map and add similar unit tests for _.assign, _.defaults, _.merge, _.first, _.initial, _.last, and _.rest.
...
Former-commit-id: 92e71c6bae084029df3cc0e7af78af7ce7566be0
2013-08-15 00:34:09 -07:00
John-David Dalton
0669a053db
Clarify a bit more the order is not guaranteed notes on object iteration.
...
Former-commit-id: bfe3033325bc941a03948fe41056634663a10989
2013-08-14 23:30:29 -07:00
John-David Dalton
ab66e77740
More consistent use of num argument in unit tests.
...
Former-commit-id: c835a0f19bae4a48572fee39d6db41fc7f34e2dc
2013-08-14 23:29:24 -07:00
John-David Dalton
381cd53551
Add sparse array tests for _.remove.
...
Former-commit-id: 0c21484ae459fbb1554c73348a566703523ff297
2013-08-13 23:42:29 -07:00
John-David Dalton
1f0e92a752
Add spare array test for _.pull.
...
Former-commit-id: 38d677a4f2693db0591a6b43fe5a66a7dae39883
2013-08-13 23:36:36 -07:00
John-David Dalton
98b3496717
Fix typo in perf.js.
...
Former-commit-id: d9572081f88cf96d50b868201eaf9d0b5bc4d63f
2013-08-12 00:04:43 -07:00
John-David Dalton
4200e2e4e4
Simplify delayed function in _.debounce.
...
Former-commit-id: 1f996fc3b6a8954053332739fdc0c2185fb1fd80
2013-08-10 21:24:49 -07:00
John-David Dalton
e239ae1aba
Remove _.debounce from lodash/underscore build test as it's not replaced for the underscore build.
...
Former-commit-id: 64648d1cc1636bf76748d4396c1a2606fbca1e32
2013-08-10 01:19:55 -07:00
John-David Dalton
2acfc307b7
Use a state object for buildTemplate like buildModule.
...
Former-commit-id: 850fe162a0a80b5547622f6cc267e66cad3ae4ce
2013-08-10 00:25:47 -07:00
John-David Dalton
186f1cf714
Add _.eachRight alias of _.forEachRight.
...
Former-commit-id: ff42b599dd22707fe20ab60a7aff47945b5cef73
2013-08-09 23:58:38 -07:00
John-David Dalton
a5cf42b7c8
Ensure modularize underscore exports=amd works without errors in template.js.
...
Former-commit-id: ae137c924d26b2614ed1ebdb7abb33e4b76124f4
2013-08-09 23:46:20 -07:00
John-David Dalton
fd7dba8860
Fix missing comma.
...
Former-commit-id: 7c1745b9f3993613ff0e32f574d43c9d78b33c80
2013-08-09 23:12:43 -07:00
John-David Dalton
32d7e365d2
Ensure _.curry test runs with strict builds.
...
Former-commit-id: 7bb7d8bdb88b49ec1b35fbf9933f43e2fcd61a53
2013-08-09 23:11:50 -07:00
John-David Dalton
1078cc1c91
Add _.debounce var dependency and remove Adobe JS engine cleanup in build.
...
Former-commit-id: 330e19ecf1a1d33e6207291aa05b103f68541e81
2013-08-09 22:48:44 -07:00
John-David Dalton
c97fc370cd
Cleanup compareAscending and createBound.
...
Former-commit-id: e783a68666aaea16d917fa1db74d2092e5dcaa9a
2013-08-09 22:47:55 -07:00
John-David Dalton
fca8da118e
Ensure createBound works with ES5 features removed.
...
Former-commit-id: 30fd5e615b473c9c9d3c013a4a5d7e1759872ede
2013-08-09 21:23:03 -07:00
John-David Dalton
dda56405e6
Add fallback for Date.now and keep Array#isArray fallback in modern builds.
...
Former-commit-id: 4c5ca88d73b8624fdebf50b40c0384219008cb7c
2013-08-09 09:26:07 -07:00
John-David Dalton
f0f23d491c
Cleanup _.curry.
...
Former-commit-id: edcc8b2b4c67fa04d8c67e7b7fcdd071c4155e89
2013-08-09 09:08:23 -07:00
John-David Dalton
44c10d720a
Use Date.now in modern builds.
...
Former-commit-id: de4329c5f4eaa92da8447e1232ce28e00a0f885d
2013-08-09 09:01:32 -07:00
John-David Dalton
690e5a7f9c
Tweak video link titles in readme. [ci skip]
...
Former-commit-id: 53330adf487980642cf6fe8c1a8213594731d270
2013-08-09 00:35:27 -07:00
John-David Dalton
e4fdbc3cb4
Add Underscore license url to non-minified copyright header. [ci skip]
...
Former-commit-id: 32e6b24f284c9492bd81d680818a829eabe9954c
2013-08-09 00:35:04 -07:00
John-David Dalton
fe2b86ba83
Correct removing ES5 features from createBound for non modern builds.
...
Former-commit-id: 35aacb52d1bfbd18630460f0c8e21e4fd5d716ea
2013-08-09 00:14:39 -07:00
John-David Dalton
8fb9557520
Ensure "Functions" methods throw if not provided a function and remove Adobe JS engine fix from compareAscending for modern builds.
...
Former-commit-id: 85f2c3579c33440d3f7351f5a0dfb1c09cd0cc7a
2013-08-08 23:39:35 -07:00
John-David Dalton
25c91b398a
Fix InDesign bug with _.sortBy.
...
Former-commit-id: 3ed2c5fcb02885a9b3563cf9081f6e2af8826c6d
2013-08-08 22:23:17 -07:00
John-David Dalton
8a524dd98f
Add _.curry.
...
Former-commit-id: 33282039186323ad4f58d7d7ec19e3c3974dc9b3
2013-08-08 22:11:03 -07:00
John-David Dalton
7371f8927c
Have build remove trailing spaces in lines.
...
Former-commit-id: 580650186c9661b900ebbe846e13ba194fd2c0bc
2013-08-07 22:04:18 -07:00
John-David Dalton
3d4f58d564
Tweak _.remove and _.pull test for phantomjs.
...
Former-commit-id: ae404a0da2e03636edf0760322330a996b71fc70
2013-08-07 19:28:25 -07:00
John-David Dalton
f0e32c88ec
Add _.throttle test.
...
Former-commit-id: f50fe31ee221d1a3c2835b037b58b13c8afdd70f
2013-08-07 09:19:05 -07:00
John-David Dalton
5ae3eccaf1
Move _.remove to the "Arrays" category and add unit tests.
...
Former-commit-id: b0542496b45582b8ca59de19e950dc2368deee0a
2013-08-07 08:43:41 -07:00
John-David Dalton
093f12254f
Tweak comments and docs. [ci skip]
...
Former-commit-id: 0aa090919d1566081c90bf7a25c1f6f579a8eec2
2013-08-07 07:58:36 -07:00
John-David Dalton
3a8afe2969
Shorten doc snippet in readme. [ci skip]
...
Former-commit-id: 1c50d1e818a4765eddfcf51750a7c70a96ac871f
2013-08-06 09:08:13 -07:00
John-David Dalton
fff5ae97f2
Cleanup fix for modularize underscore and _.mixin and add tests for correct indicatorObject use in underscore builds.
...
Former-commit-id: 7700fb4df90cdc3eca47af037677d71a70908616
2013-08-06 09:07:45 -07:00
John-David Dalton
3c626e3ea5
Cleanup README.md. [ci skip]
...
Former-commit-id: e63291595bcc925470aa7d4f4889fcfc5c8daf6f
2013-08-06 00:29:54 -07:00
John-David Dalton
26f57141a1
Simplify package.json description.
...
Former-commit-id: 43470293d97b86435fd897edd34f910f7a435a8d
2013-08-05 22:12:52 -07:00
John-David Dalton
419aa9dcba
Add find unit tests.
...
Former-commit-id: 1dff5e55c73f91b4b877ee8e0cd4ad38655c49fb
2013-08-05 22:11:38 -07:00
John-David Dalton
3f15456b9c
Add build tests for findIndex, findKey, findLast, findLastIndex, findLastKey. forEachRight, forInRight, and forOwnRight.
...
Former-commit-id: c82a2f327efb180ab849794e777da18a4033045e
2013-08-04 13:50:25 -07:00
John-David Dalton
f67a2fa865
Simplify iteratorObject use for underscore builds and make _.mixin and _.template work better for modularize underscore builds.
...
Former-commit-id: f9fb33faacbcb3e1bc2ece0a3c70496b3fb3f251
2013-08-04 12:47:27 -07:00
John-David Dalton
0f6de542bf
Fix _.forEachRight, _.forInRight, and _.findLastIndex and add related unit tests.
...
Former-commit-id: 5131ae4559cd71d8016745f85158bb6f96426d01
2013-08-04 12:46:27 -07:00
John-David Dalton
1a529841e0
Fix modularize mobile builds.
...
Former-commit-id: 5ffb5bd761c8e25c2a3bb9643cfa22b8c08bf2b1
2013-08-03 22:23:22 -07:00
John-David Dalton
a9bf6a0e3b
Update vendor/benchmark.js and vendor/underscore tests.
...
Former-commit-id: 28d47ac7efb1af2d23a749ea50178c09edfe62bd
2013-08-03 21:33:58 -07:00
John-David Dalton
76dcd7d96e
Fix modularize legacy builds.
...
Former-commit-id: 17b09cce67bdf0ec2fd7373beb5b58240b08877b
2013-08-03 21:33:29 -07:00
John-David Dalton
6aa1361b1a
Add minified modern and underscore builds back to the package.json. [ci skip]
...
Former-commit-id: f814323f06bdcf8a3043699a1e9b607c81410c9f
2013-08-03 19:39:14 -07:00
John-David Dalton
f623a4ecef
Update docs, dist builds, and fix build.
...
Former-commit-id: 95a2ae15735b2c98f24c20b8dc894c2832ac107b
2013-08-03 19:26:05 -07:00
John-David Dalton
aa465a12aa
Cleanup support for a step of 0 in _.range and add unit tests.
...
Former-commit-id: 383719999d8f4a7e153784aea3b6f4174684dd9a
2013-08-03 15:59:36 -07:00
John-David Dalton
81ba623423
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: cd661a7d7fe08ec324a7dd7b2325e6e58a35b752
2013-08-03 13:32:40 -07:00
John-David Dalton
4f6f6cca0f
Replace passed with provided in docs and test descriptions.
...
Former-commit-id: b47302b804a7e4f89a0dbacfb85d24d80dae81a9
2013-08-03 13:32:32 -07:00
John-David Dalton
56346f2a52
Make tests pass for modularized build and create a working lodash module.
...
Former-commit-id: 44cbac15f62e4f727ae0eec963cefd2498ee62ca
2013-08-03 13:31:54 -07:00
John-David Dalton
edcd3f5145
Merge pull request #327 from stereokai/master
...
Enable _.range() to accept a 0 for step.
Former-commit-id: 6a778327f216de6c606ba091312db9f1b8f85c4e
2013-08-03 10:56:29 -07:00
Stereokai
7acd3d5297
Enable _.range() to accept a 0 for step
...
Enable `_.range()` to accept a `0` for `step`, for initializing arrays such as `[0, 0, 0, 0, 0]`, `[-1, -1, -1, -1, -1]`, useful in many use cases with inconsistent/morphing object arrays.
Former-commit-id: 5a263ec17e454ba38dfa9b6deb913dddccaddfeb
2013-08-03 11:26:44 +03:00
John-David Dalton
1732c16778
Update builds and docs, replacing passed with provided.
...
Former-commit-id: 30114421fcb5853097c0992cd4125aa25ede6853
2013-08-02 09:01:58 -07:00
John-David Dalton
913d440c61
Rework how "chaining" methods are modularized.
...
Former-commit-id: 2986db5039ac031d1007c7376a60f41fc3eafece
2013-08-02 00:22:57 -07:00
John-David Dalton
8cdb4d48f2
Fix chain check in test/underscore.html.
...
Former-commit-id: 39ebd562e1fd08548f778c7f7ddfa3c0885a782e
2013-08-02 00:11:37 -07:00
John-David Dalton
907ac05c00
Fix issues preventing _.mixin from working as a module.
...
Former-commit-id: 57afac8d0901856aaf67688d46e2649532edeb61
2013-08-01 09:18:31 -07:00
John-David Dalton
067558529c
Move more code to be removed before the call to buildModule.
...
Former-commit-id: 255ba4bf6e65d61378226ba1c13708619ca68941
2013-08-01 09:17:45 -07:00
John-David Dalton
c97e653ba1
Add baseCreateCallback to avoid circular deps add more varDeps to fix large array caching.
...
Former-commit-id: f8164bbff59a3ad294c5670693942dc56a1c88a5
2013-08-01 00:12:53 -07:00
John-David Dalton
9a935ba90c
Avoid tests not relevant to modularized builds when its selected.
...
Former-commit-id: 3e0e4275cfa51fc12ea9583801459588658de702
2013-07-31 23:58:22 -07:00
John-David Dalton
134ed51517
Make modularized builds tested and avoid errors when running modularized tests.
...
Former-commit-id: 38aa57ec3d401cb3892093008d75d03545d63c6b
2013-07-31 09:06:29 -07:00
John-David Dalton
993dd84af9
Add dojo amd loader to the list of loaders supported in the readme.
...
Former-commit-id: 07504c1edeb540aa4103909a69ab83c47b9e7e18
2013-07-30 23:59:40 -07:00
John-David Dalton
28e3ab73fa
Add _.remove, _.pull, and fix typos in build. [ closes #281 ]
...
Former-commit-id: e771f3934c868d0d7093f1690d9c7d57fa75ae89
2013-07-30 23:46:43 -07:00
John-David Dalton
70a5efa1d6
Cleanup build and make legacy command work with modularize.
...
Former-commit-id: 89cfa2e693bd299096f9418f5cab7f41c37ddf2a
2013-07-30 08:53:56 -07:00
John-David Dalton
a51a355a53
Optimize build for creating modules.
...
Former-commit-id: 9e06f7c9ec1084bf901123d2ad7d1fd7da2e11fb
2013-07-30 00:02:06 -07:00
John-David Dalton
fdd0a33571
Rebuild docs and dist.
...
Former-commit-id: ae113f2c04eef7a34b1b49bca3e6dcb7402f723c
2013-07-29 00:26:38 -07:00
John-David Dalton
6547d03b91
Clarify doc example for _.compose.
...
Former-commit-id: bcd9337d0cc2f7b6a1ca77723f8d20d768cb0b91
2013-07-28 23:47:57 -07:00
John-David Dalton
cc0c2f1b3c
Add explicit chaining support to Lo-Dash. [ closes #325 ]
...
Former-commit-id: 58d01723ddc40f636af9954e5a9f6370e0c88aac
2013-07-28 13:23:04 -07:00
John-David Dalton
c80c59c692
Correct baseClone dependencies and ensure forEachRight isn't exposed in underscore builds.
...
Former-commit-id: 37bba697b3cdd80405519976a30014efb1336cec
2013-07-28 10:12:32 -07:00
John-David Dalton
10de191dd5
Adjust backbone test html, and adjust underscore html to work with Lo-Dash's tweaked chain behavior.
...
Former-commit-id: e5042e1c2811004989e57cc1a24f690c3bab1b25
2013-07-28 10:10:28 -07:00
John-David Dalton
1626cec089
Add @type to _.isArray, required for modern builds.
...
Former-commit-id: 1e1c9f4f47211a767aad873675063c5e2713c144
2013-07-28 10:09:35 -07:00
John-David Dalton
0404776d87
Add _.forEachRight, _.forInRight, _.forOwnRight, _.findLast, _.findLastIndex, and _.findLastKey methods. [ closes #309 ]
...
Former-commit-id: 7097f79e278bf2dfacfed449ce5f64a2dc19a662
2013-07-27 00:30:54 -07:00
John-David Dalton
4398fca1bd
Tweak _.createCallback and Node.js note in readme. [ci skip]
...
Former-commit-id: a56737d9afe65f8af83abc9c00687709068ad0e0
2013-07-26 19:47:01 -07:00
John-David Dalton
e94ca12f9f
Add getObject and releaseObject to setBindData.
...
Former-commit-id: d4152ccc078bfa64d62640d89b673057cf9f6a19
2013-07-26 19:37:42 -07:00
John-David Dalton
036c2f6a1c
Add unit tests for _.countBy, _.groupBy, _.indexBy, and _.sortBy for when a callback is not passed.
...
Former-commit-id: e3c1760607cb86fc6c3729409d217b4255fb695d
2013-07-26 19:14:13 -07:00
John-David Dalton
611304e257
Update vendor/underscore and add _.indexBy perf and unit tests.
...
Former-commit-id: 5fc6c853773385aa39d470429899a35f9f17cad8
2013-07-26 09:29:44 -07:00
John-David Dalton
cf26447f7c
Add _.indexBy method and add a noop fallback for setBindData.
...
Former-commit-id: f8035b9a221ba7b625c21cb566c62931877da6ef
2013-07-26 09:12:04 -07:00
John-David Dalton
e5b8e04dde
Move Node.js version compat warning note to the Node.js notes section of the readme. [ci skip]
...
Former-commit-id: 42acc77eb3ced990683e9d91a155e25486dd73c5
2013-07-25 09:26:55 -07:00
John-David Dalton
bb201e6ca4
Reduce npm package size.
...
Former-commit-id: 29d4eb4f90e2d215b65d04b8c8063804472de8fc
2013-07-25 09:13:57 -07:00
John-David Dalton
bb58d633c0
Fix _.createCallback perf regression.
...
Former-commit-id: a66821a2c4aa3bae626e19ef638a27689b96dc24
2013-07-25 09:05:43 -07:00
John-David Dalton
56ff8755d4
Update _.createCallback dependencies and fix typo in removeFromCreateIterator.
...
Former-commit-id: 8478aadcdcb3fbf30a481de1bc515510959a2396
2013-07-24 22:54:55 -07:00
John-David Dalton
57fc027f77
Avoid circular dependencies.
...
Former-commit-id: a45dd055f44f72797cb62ba040ecc2d45cc24634
2013-07-24 08:27:09 -07:00
John-David Dalton
bdb7c226f1
Update createBound and setBindData variable dependencies.
...
Former-commit-id: ff0c375fa334e1b54968208c7d311f65a766387f
2013-07-22 21:19:28 -07:00
John-David Dalton
17e32017a7
Allow argCount to be omitted an not default to 3, and cleanup createBound.
...
Former-commit-id: cbafeaa441aae1ef28268bc2614b1a6e038acfe1
2013-07-22 19:11:44 -07:00
John-David Dalton
2c772d0f4c
Ensure build command csp cannot be combined with others like underscore.
...
Former-commit-id: 97b6bd973323e086f1b6fdf3e40a7732804e2669
2013-07-22 07:16:04 -07:00
John-David Dalton
769ff84a65
Fix typo in _.debounce unit test.
...
Former-commit-id: b8138dbae144836701e65f98de8981defaaa1a54
2013-07-22 07:12:22 -07:00
John-David Dalton
fd1fbd4843
Remove ES5 optimizations from the compat build.
...
Former-commit-id: c0d39af98c8b6474d051bcd16a7f5cee1c801477
2013-07-21 23:54:08 -07:00
John-David Dalton
eaa9430e26
Update docs and builds.
...
Former-commit-id: 27acae75d0412c0e94caa857d861522cbbc6b1a8
2013-07-21 23:50:34 -07:00
John-David Dalton
2e5de88445
Remove hasThis and add comments to createBound and createCallback.
...
Former-commit-id: cdc9a69dc60913d6c2383053a881453dd2b7b0d5
2013-07-21 23:46:59 -07:00
John-David Dalton
b4b9910203
Add unit tests for createBound and _.createCallback additions.
...
Former-commit-id: 68ad27523352a7e7b70f026588342fb70318454b
2013-07-21 23:44:38 -07:00
John-David Dalton
afeeadd665
Tweak times in _.debounce and _.throttle unit tests.
...
Former-commit-id: d079ee2258151e126fd1c40efb9c01ee888170aa
2013-07-21 15:50:50 -07:00
John-David Dalton
fcbeb10159
Cleanup createBound.
...
Former-commit-id: f16e6df18a036507edea4b64618ffb06f3823a78
2013-07-21 15:27:10 -07:00
John-David Dalton
65227f601e
Rename basicXYZ functions to baseXYZ, extract _.clone, _.merge, _.isEqual functions into their own baseXYZ functions, and rework createBound to flatten multiple calls.
...
Former-commit-id: 8efa6004d747103e9ec6507755fa6ffceb01b16f
2013-07-21 15:24:44 -07:00
John-David Dalton
56ae4dcd12
Clarify _.where docs and cleanup other docs. [ci skip]
...
Former-commit-id: 1749f85df8c7b21603191e2a249ef31e6df08bd3
2013-07-19 23:56:35 -07:00
John-David Dalton
2b2c8e6b82
Ensure _.zipObject skips falsey elements in a given two dimensional array.
...
Former-commit-id: 31ce7e65aee98cbed477276ae9115b33fd10c6ea
2013-07-18 09:09:46 -07:00
John-David Dalton
49c032315c
Add hasThis to avoid repeatedly checking for this.
...
Former-commit-id: 15ce8566364ddac60ac01f3a36343c33d9739b77
2013-07-18 08:58:40 -07:00
John-David Dalton
15109f801e
Add _.mixin build test.
...
Former-commit-id: e6fc1d3384519c2678f875b083222c83519f7123
2013-07-18 08:33:59 -07:00
John-David Dalton
3de0a16a9d
Add _.where fast path for the common use case or passing an object with one property.
...
Former-commit-id: dfb78f59ae22f3ccdd88d58cefdb8abcde58eda6
2013-07-18 08:30:05 -07:00
John-David Dalton
bb49b0c16a
Allow _.mixin to accept a destination object as well as a source object.
...
Former-commit-id: 11ccb77653f017270c07579f59d75b847d4e6c65
2013-07-18 08:12:14 -07:00
John-David Dalton
9561414985
Ensure the build removes properties in expressions from createIterator.
...
Former-commit-id: 6e06397c6dd4e7c550667bc364faad565d0244cd
2013-07-17 08:34:33 -07:00
John-David Dalton
db7354ab72
Add imports option docs to _.template.
...
Former-commit-id: 4ac5d64b0dae3068d07474beabed7fd5702da9a2
2013-07-17 08:07:46 -07:00
John-David Dalton
34396dbbec
Simplify type checks in _.isEqual.
...
Former-commit-id: a1aeb5aeab6ef30c6f9377f5498da4eb6d112bc3
2013-07-16 23:57:23 -07:00
John-David Dalton
d842a2f62e
Allow /test and /perf to change dropdown values if the other dropdown has a custom entry.
...
Former-commit-id: d56880e7c588b14ae4c65cacc37f042352e5eee1
2013-07-16 23:48:29 -07:00
John-David Dalton
a17c32bed0
Update vendor/requirejs and fix AMD dependencies to avoid circular dependency issues.
...
Former-commit-id: 4af19b824f7018d7e3473ba7fe98584b5d6949c5
2013-07-16 23:01:52 -07:00
John-David Dalton
fab0b91a79
Update es5.github.com to es5.github.io.
...
Former-commit-id: 29bafb1c879512e25517524805b3537084d92896
2013-07-16 20:08:23 -07:00
John-David Dalton
88974d552d
Add jsDelivr can link to the README.txt. [ci skip] [ closes #318 ]
...
Former-commit-id: 8b2780fef7eb5a8e63fc0978b66771368663aba5
2013-07-16 19:53:49 -07:00
John-David Dalton
b90a38ce8b
Rebuild dist/.
...
Former-commit-id: d71f105493e9931f95aff890e8efaf480a1ee827
2013-07-16 09:17:40 -07:00
John-David Dalton
b3df27c362
Add note about NaN to _.isNumber docs. [ closes #320 ]
...
Former-commit-id: 0b6e99297934ef2e2d43eeff676d0d40832d8e67
2013-07-16 09:17:12 -07:00
John-David Dalton
854ea26ab7
Make matchFunction and matchProp ignore leading comments by default, make removeProp remove variable assignments too, and ensure inline require calls have the correct dependency paths.
...
Former-commit-id: 47e265e550ca863af5902c07df63809f47c1f96d
2013-07-16 09:07:42 -07:00
John-David Dalton
e385b3499b
Remove dependencyObject.
...
Former-commit-id: 374611a2f1180402700fad5ba7f86e390150d37b
2013-07-15 08:20:16 -07:00
John-David Dalton
77d323b38c
Fix build.
...
Former-commit-id: b894b652c8c566411bb47935b67d649a2e6461e7
2013-07-14 19:16:53 -07:00
John-David Dalton
64eeb091b8
Dynamically create absolute path in test runners.
...
Former-commit-id: b6b7daef445b3750e687b3559966def1f2b165d3
2013-07-14 19:04:40 -07:00
Blaine Bublitz
65f5f8e8e2
use absolute paths for test files
...
Former-commit-id: 383d797273b168233c5a5653e71c0788e7d7343c
2013-07-14 16:15:51 -07:00
John-David Dalton
6b3ee1aaaf
Simplify AMD loader config options.
...
Former-commit-id: 69a89fe05e45f508fefe445f147da5aa4da8fc7b
2013-07-14 15:38:16 -07:00
Blaine Bublitz
27ca48c6bb
use packages instead of path for modularize option
...
Former-commit-id: 9f8d3cc49fe3f8d21991e48b46845abd9101f171
2013-07-14 13:51:01 -07:00
Blaine Bublitz
2786c776e3
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: 699fbdc06c27cfec9d0f7b9809921f81884948f1
2013-07-14 13:40:43 -07:00
John-David Dalton
23cd5b906b
Minify dependencyObject properties correctly.
...
Former-commit-id: a0d57812420a347938a438d9ecb13467401bcc96
2013-07-14 13:40:17 -07:00
John-David Dalton
0f9d20129d
Ensure category modules reference dependencies with relative paths.
...
Former-commit-id: 5a12a4b2f4cd3a56456238303e7d941b06f76d9f
2013-07-14 13:39:13 -07:00
John-David Dalton
4649bd3906
Ensure category modules reference dependencies with relative paths.
...
Former-commit-id: 143360f03cc30f759ebd8e5e949b0dd8a1b937b5
2013-07-14 13:10:46 -07:00
John-David Dalton
3048ac2f6d
Avoid circular dependency in createCallback and get Curl modularize tests working.
...
Former-commit-id: cf33217163f2c809fe8ddbb9debd7c95b002b8dc
2013-07-14 12:42:09 -07:00
John-David Dalton
8679377fcf
Allow getDependencies and getDependants to be used with Array#map and cleanup expand in build.js.
...
Former-commit-id: b05ca0cdb9f9b8db4a0503a126e85d902f5bf7b1
2013-07-14 11:46:02 -07:00
John-David Dalton
db5264af3c
Recursively add props and vars to include in the build in build.js.
...
Former-commit-id: fe7b8cad6ee6df1443424e05836e00a81f532af8
2013-07-14 11:25:21 -07:00
John-David Dalton
059fbb9e5d
Remove _.unzip use from underscore build tests.
...
Former-commit-id: ea76623efddc58550f67ee3b40ba93d1b7b8770e
2013-07-14 11:25:21 -07:00
John-David Dalton
01303c1e31
Cleanup argument juggling comments.
...
Former-commit-id: e4c175791e514e7e8055f39c2156375c2da91bf2
2013-07-14 11:25:12 -07:00
John-David Dalton
a8aaa793a0
Remove unzip from underscore build.
...
Former-commit-id: 5c1ed2d73e678e3f63c5378e8318508207b01988
2013-07-14 08:05:54 -07:00
John-David Dalton
c5698e82da
Track function dependencies of variables in build.js.
...
Former-commit-id: 127d9c849cb6a77ed2bb192573bc1f8f7f661838
2013-07-14 01:12:18 -07:00
Blaine Bublitz
ec12f7a5e7
Use curl's js! plugin to load test.js since it doesn't have a define in the file.
...
(cherry picked from commit 078d78a70e664bb92d129791d99b97f48c6ccafc)
Former-commit-id: b684cc6ffad049f32c0f6f9f16511f3242c913a2
2013-07-14 00:25:01 -07:00
John-David Dalton
b87fec554f
Ensure underscore builds use basicFlatten.
...
Former-commit-id: 148f37a27467391e9719fb098acb75ebac256f1b
2013-07-13 23:24:57 -07:00
John-David Dalton
740981376d
Fix asyncTests when using an AMD loader.
...
Former-commit-id: 2a1aa132c9a941205cf495f737f8f9ea2fdc574f
2013-07-13 23:19:25 -07:00
John-David Dalton
8694364aa3
Remove overloadWrapper and ensure Arrays methods work with arguments objects as secondary arguments.
...
Former-commit-id: 0b5f213947496622e79daea74e525e60ca53e8eb
2013-07-13 18:22:31 -07:00
John-David Dalton
f1b1fee6e4
Remove overloadWrapper and keep basicFlatten and basicUniq in various builds.
...
Former-commit-id: 3cb08e1232184a1a9737be4d520b15b725f7cedc
2013-07-13 18:21:20 -07:00
John-David Dalton
915596b23e
Revert to QUnit v1.10.0 to avoid asyncTest issues.
...
Former-commit-id: 6127f8d2492eaef6f097d1ec5b25dadbf25e3af9
2013-07-13 18:06:27 -07:00
John-David Dalton
6d65cb77ec
Make perf-ui.js and test-ui.js more aligned, remove unzip perf test, and handle comparing to files of the same name in perf.js.
...
Former-commit-id: 7a5353aab76d6667b6dd5d43e85f95695e5a9cba
2013-07-13 16:39:18 -07:00
John-David Dalton
51e2f8e49b
Add unit tests to ensure methods accept falsey arguments and arguments objects.
...
Former-commit-id: 72dac914c33ad2270deeeffb01c94e5dd00662c6
2013-07-13 16:37:53 -07:00
John-David Dalton
0a7fc356b6
Ensure underscore build versions of _.where and _.findWhere align with Underscore 1.5.
...
Former-commit-id: 49653c65a29c5a9108630a38b80848b2e5596079
2013-07-13 10:37:28 -07:00
John-David Dalton
ff0f05a1c1
Ensure more Arrays methods accept arguments objects and allow falsey arguments.
...
Former-commit-id: 06dfbb25236c6daf3efc6b0c1d06d00cf17180b8
2013-07-13 10:35:05 -07:00
John-David Dalton
0ea9362d06
Update vendor/underscore to v1.5.1 and update copyrights and tested environments.
...
Former-commit-id: 3bdfb1de97d08d05199f5f97c9c3145d7068e7fd
2013-07-09 23:57:54 -07:00
John-David Dalton
9d3932bd82
Cleanup getVars, matchFunction, and matchVar.
...
Former-commit-id: b06d258373912d75bdfbbb31707fa17c160f75fe
2013-07-09 22:38:31 -07:00
John-David Dalton
8c787fa7f7
Fix failing build tests.
...
Former-commit-id: b3e1f62389f2406b07bb5db5551698ac58e5e8b9
2013-07-09 09:21:44 -07:00
John-David Dalton
2508e71324
Avoid maintaining the html escape/unescape regexes independently of the entity maps.
...
Former-commit-id: 847e58befee7641bc39af37bde12fc99da9edb28
2013-07-09 09:04:44 -07:00
John-David Dalton
b2f4f96ef9
Make split regexes in matchVar and matchFunction into multiples, correct typo in getDependants, and remove a lot of edge case build code.
...
Former-commit-id: 65917a2a0acd7c3502e04e583834f3f10efd15f7
2013-07-09 09:00:53 -07:00
John-David Dalton
fdae297fca
Rename isLodashFunc to isLodash in build.js.
...
Former-commit-id: 4e7ae65eeba640e095aeaf92c2f36cc70ca783c2
2013-07-08 08:34:15 -07:00
John-David Dalton
36488fd836
Simplify _.zip for the underscore build.
...
Former-commit-id: 18560e78f052fad5c5d7af1ef6571dd31accf690
2013-07-08 08:29:18 -07:00
John-David Dalton
ee01c944b4
Move phantom checks in test.'s to the document variable assignment.
...
Former-commit-id: 04a4c99398401d1d69236daa5eb0290db23a07d2
2013-07-08 08:07:40 -07:00
John-David Dalton
d7f4f392d2
Fix avoid hang in web worker unit test for phantomjs.
...
Former-commit-id: 22b4e7c99f9b0eb3cf7c250144bb375aeb9352e8
2013-07-08 01:16:01 -07:00
John-David Dalton
1756093618
Fix minified builds.
...
Former-commit-id: 11f14c02cca1b5df2fbbce49f7ceff8cf25ffe65
2013-07-08 01:11:05 -07:00
John-David Dalton
1734c6e6bf
Make test/underscore.html support the modularize option and cleanup test/index.html.
...
Former-commit-id: 98ab3a50a58f27508208655a983a9cd96d99f965
2013-07-08 00:05:00 -07:00
John-David Dalton
839f345fa3
Cleanup web worker unit test.
...
Former-commit-id: a6b2f450f26eba8cb233cceb5920e7ee69c665f1
2013-07-08 00:03:53 -07:00
John-David Dalton
d69b5385e4
Cleanup test/test-ui.js and perf/perf-ui.js.
...
Former-commit-id: b511f9f0732dffb2339f7284b913d699c11ce9c0
2013-07-08 00:03:13 -07:00
John-David Dalton
eb6b5755e7
Add web worker unit test. [ closes #313 ]
...
Former-commit-id: 77d0b907a5ae58ff3f4da8b54196b12949a4efd4
2013-07-07 23:24:17 -07:00
John-David Dalton
9c65d9f957
Remove buggy Node .js v0.8 from .travis.yml.
...
Former-commit-id: 5937b84fdc0297c9a50c13e71948a76044319ec5
2013-07-07 18:37:22 -07:00
John-David Dalton
cfa187f7d9
Create a /lodash.js module when using modularize.
...
Former-commit-id: f2d1222fb9ccaed019a712448c2144c90327a4f0
2013-07-07 17:29:54 -07:00
John-David Dalton
30d0fbeae6
Make modularized builds work in the unit test.
...
Former-commit-id: 2d56960e70a2f8c16087cc88c66008e766ea8338
2013-07-07 17:09:47 -07:00
John-David Dalton
9b21656314
Allow switching the module loader in the unit tests.
...
Former-commit-id: 8521e92925cbca8ff73adf3f1a350caa662e27f7
2013-07-07 16:24:26 -07:00
John-David Dalton
b1b06a38af
Rebuild docs and dist.
...
Former-commit-id: fdba90c6b602eef0c36190e889ebc3fb2ec6c622
2013-07-07 15:18:26 -07:00
John-David Dalton
d2fffe5b88
Make _.unzip and alias of _.zip.
...
Former-commit-id: fca00001ad850c250f9883572c4dce7b41dde88d
2013-07-07 15:11:19 -07:00
John-David Dalton
09d560888e
Update tested browsers and add a note about the Node.js REPL to the README.md. [ closes #312 ]
...
Former-commit-id: c04331d53aeb3af4d859ce7d4120871bfdd55b73
2013-07-07 14:12:58 -07:00
John-David Dalton
fa28326ed6
Fix build.
...
Former-commit-id: decaceb4a40033dcd02ed9018fccb2bea1332e79
2013-07-07 14:01:28 -07:00
John-David Dalton
9ea4a6b7b6
Ensure compiled templates work with exports=node.
...
Former-commit-id: bf235dfecf8599022b7332d4d010c6f3a52c5c26
2013-07-07 01:31:19 -07:00
John-David Dalton
ffa6fafcc1
Fix typo of matchProp to matchVar in build.js.
...
Former-commit-id: d42933a19b7c90dd7b007858ec73b8f7b2f64572
2013-07-06 20:17:48 -07:00
John-David Dalton
4be5b80ff6
Quote Node.js versions in travis.yml
...
Former-commit-id: 57127e5f9c476d7e174d56d2704ee09a90984c33
2013-07-06 20:10:46 -07:00
John-David Dalton
5028b07aaa
Update builds and docs.
...
Former-commit-id: e66c5377ffb5c03191673004bb82781a0562535a
2013-07-06 20:08:41 -07:00
John-David Dalton
7ce5dcdead
Cleanup matchProp and removeProp in build.js.
...
Former-commit-id: b30044f7c9ff0d87098d6404341a42d66f51173a
2013-07-06 20:06:14 -07:00
John-David Dalton
7d8571b0e1
Update vendor/underscore to v1.5.0.
...
Former-commit-id: 8f647bccfdd8fe81473ae7d1354056a928b6f28c
2013-07-06 18:33:44 -07:00
John-David Dalton
fca2fe2c8a
Update dependencies and make the underscore build pass more Underscore v1.5.0 unit tests.
...
Former-commit-id: 31807c11024b44238fcca5ad1682790510371896
2013-07-06 18:33:02 -07:00
John-David Dalton
75576577e0
Update _.after to be in sync with Underscore v1.5.0.
...
Former-commit-id: d50446cb946a453c081cadff0b0a6245bc45eec4
2013-07-06 14:48:24 -07:00
John-David Dalton
eafc46f6c4
Update underscore build _.defaults and _.result to match Underscore v1.5.0.
...
Former-commit-id: 12f1ed2217b6d9c845a1be0acd7b8337be94f63f
2013-07-06 14:43:38 -07:00
John-David Dalton
c0c36d3338
Adjust method dependencies for _.flatten, _.uniq, and _.union.
...
Former-commit-id: f742abfbd9d0c63b16a4f7d3a903ae53d2b7a1fe
2013-07-06 14:40:14 -07:00
John-David Dalton
6a73b0820e
Ensure _.flatten will flatten arguments objects.
...
Former-commit-id: 9ea8e40ff85b217a6497c9bbf91c9640211d9477
2013-07-06 13:48:27 -07:00
John-David Dalton
bcb5eda7d8
Optimize _.isArguments and cleanup _.isArray and _.isRegExp.
...
Former-commit-id: 2ce67cedca1e2b21e206c4822126b86304c8dd5f
2013-07-06 13:47:11 -07:00
John-David Dalton
2c833b5028
Bump tested Node.js version to 0.10.12 in README.md. [ci skip]
...
Former-commit-id: d272e4a61375f91a18531b4537be1be4ab06fc63
2013-07-04 01:56:00 -07:00
John-David Dalton
6821603980
Add vendor/curl and vendor/dojo to .npmignore.
...
Former-commit-id: 33ff633f4df0e4fa373820ac8e5ec3999000dfc2
2013-07-04 01:55:02 -07:00
John-David Dalton
8bec45cd58
Use QUnit v1.11.0 instead of v1.12.0 for non-browser support.
...
Former-commit-id: 5e554308840a9d29b6354421af73906c59d8f61d
2013-07-04 01:51:28 -07:00
John-David Dalton
ce0f44fb47
Add templateSettings to funcDependencyMap, add reNative to varDependencyMap, and simplify support property cleanup.
...
Former-commit-id: 0c55084b4479bb8213a3387fc246f36ca3f185dd
2013-07-04 01:18:05 -07:00
John-David Dalton
c740562dd8
Make modularized paths relative and always include a dependency array, even if it's empty.
...
Former-commit-id: 8f5edb85f01b472b6cc705da6e292d760d3ab12a
2013-07-03 23:53:16 -07:00
John-David Dalton
63a1c8b63e
Update vendors, builds, and docs.
...
Former-commit-id: 08cad493d719ec3ebaa85e0ff279c49f1e2b3655
2013-07-03 23:14:06 -07:00
John-David Dalton
112cdb4842
Use # instead of @ for sourceURLs and sourceMappingURLs.
...
Former-commit-id: ba78f92591c0cf28dba4c7a93a49f6e0f7ebb305
2013-07-03 00:13:17 -07:00
John-David Dalton
2d5f045c29
Add build tests for build command checks.
...
Former-commit-id: 3f43b83f07ded116e0ae667f9c809bd1b7b4f30a
2013-07-02 23:40:35 -07:00
John-David Dalton
c43ff29f5d
Make node path match in build.js and build/minify.js case-insensitive. [ closes #310 ]
...
Former-commit-id: 38c00a319ec069efa56b5f22153f98cda09c857e
2013-07-02 22:06:37 -07:00
John-David Dalton
4c0e3c4db9
Remove trailing comma from varDependencyMap.
...
Former-commit-id: e4f622e116c217eb98fb417d7b1770b88a95cb0d
2013-07-02 08:24:01 -07:00
John-David Dalton
7995a57f77
Move support object cleanup after unused variable cleanup in build.js.
...
Former-commit-id: 5a334f66f6cb4b5f5fba77148ddc0406e1118f08
2013-07-01 23:17:17 -07:00
John-David Dalton
0a47378f7f
Simplify dependency map modifications, and fix typos in getIndexOf replacements.
...
Former-commit-id: 4066c6950ac6d73b579d0f3f83dfc06f03cc98c9
2013-07-01 22:45:56 -07:00
John-David Dalton
8e9a244cdd
Simplify createCache bailout.
...
Former-commit-id: 2d72da41abfd2bf83017534d841444d99b47776b
2013-07-01 22:44:21 -07:00
John-David Dalton
5f1a4ea08d
Fix build.
...
Former-commit-id: e936444a8db7c16fd4cc456e5d8f9fbadf935ad1
2013-07-01 09:00:21 -07:00
John-David Dalton
034b19d85d
Add .html and .md to .gitattributes.
...
Former-commit-id: 338788296b7b00ae00657bc4d2e522d5989d075c
2013-07-01 08:35:24 -07:00
John-David Dalton
68cb7ea471
Add createCallback to more method dependencies in build.js.
...
Former-commit-id: 133abccabac9f64bf3bde7e9340e5d2f11638f55
2013-07-01 00:58:43 -07:00
John-David Dalton
d9a3ba0dd1
Add objectTypes to varDependencyMap.defer in build.js.
...
Former-commit-id: 5f153ba0009ebcb2e0eb7e061228807a0dd3c2bd
2013-07-01 00:13:13 -07:00
John-David Dalton
663e1d8336
Add buildModule to build.js.
...
Former-commit-id: c301f38ab0aa2343baefed3206e2a9e4491baa60
2013-07-01 00:10:55 -07:00
John-David Dalton
31332f4f53
Add "modularize" to .ignore files.
...
Former-commit-id: de8d6e65e7aa0de9385c82c9132e03ce2efb7715
2013-06-30 23:56:44 -07:00
John-David Dalton
cb7163dd19
Move snippets and adjust code to make modularize work.
...
Former-commit-id: 9b0ebc2bca42777f8eab1026c93ece3fb2d8deb6
2013-06-30 22:12:08 -07:00
John-David Dalton
946029a3f7
Cleanup getCategory, add removeProp, remove removeTemplateSettings, rename getMethodsByCategory to getNamesByCategory.
...
Former-commit-id: 290525ce178f67235683efd70a779aec62a08c71
2013-06-30 21:58:01 -07:00
John-David Dalton
69cbb6e109
Add templateSettings to the Chaining category and cleanup _.difference use.
...
Former-commit-id: acccb5d3868cf6e38b9f6f87b6107cf4c7b1ec30
2013-06-30 21:39:50 -07:00
John-David Dalton
6054f6bfe1
Add includeProps and includeVars to build.js.
...
Former-commit-id: 6ea8c0ea3f072393cdba80662c580c489547a29d
2013-06-30 14:52:33 -07:00
John-David Dalton
ae7b9f5fcb
Fix incorrectly changed methodName vars in build.js.
...
Former-commit-id: 73ca6e2241cda5051e752b238a74c75d9c2f8409
2013-06-30 14:51:57 -07:00
John-David Dalton
68dc6b9527
Make the build warn if attempting to combine template with other commands.
...
Former-commit-id: be47695b4f5315725b6e5520c6ccf3544c220d3a
2013-06-30 14:33:36 -07:00
John-David Dalton
292cdfd5a0
Rename addChainFuncs to addUnderscoreChaining in build.js.
...
Former-commit-id: a332651048424c6332a2d170435298a1772f9cb0
2013-06-30 14:32:46 -07:00
John-David Dalton
28e2dee605
Fix legacy build.
...
Former-commit-id: 66bb2736adf06ff03b747369e83c508d90cca60e
2013-06-30 14:31:27 -07:00
John-David Dalton
6d79ab2552
Correct use of function and method terms in build/tests.
...
Former-commit-id: be0ff50ce30925313716acf15470bd0fa480f6a4
2013-06-30 14:08:55 -07:00
John-David Dalton
da17e424ea
Reduce nested code where possible in build.js.
...
Former-commit-id: 6604a798be84656158957cca0697a208f97ca4f4
2013-06-30 13:17:57 -07:00
John-David Dalton
028c25afd3
Ensure iteratorObject.keys is minified.
...
Former-commit-id: dcbd40ddcb54c6845fd5255f2ee8c4508091aafd
2013-06-30 11:03:26 -07:00
John-David Dalton
9c2151dc37
Update builds and docs.
...
Former-commit-id: a09de289c420b76f68efb9471e6e630d07663733
2013-06-30 11:03:07 -07:00
John-David Dalton
9e9bd16b18
Remove varMethodDependencyMap from build.js.
...
Former-commit-id: fa032025e6c3b6fed18f72bf3cc6ba8ff58cff43
2013-06-30 10:54:09 -07:00
John-David Dalton
3f138aec22
Add getTemplateSettings, removeTemplateSettings, and removeGetIndexOf to build.js.
...
Former-commit-id: c22a41e98a84b1739696776e40ba66a63f267159
2013-06-30 10:53:26 -07:00
John-David Dalton
e9f66e7c89
Remove getIteratorTemplate from build.js.
...
Former-commit-id: 1cb26327628839f11cc07ad1fa1f9420fde38209
2013-06-30 10:52:00 -07:00
John-David Dalton
6be64b363c
Make getFunctionSource support number values for indent in build.js.
...
Former-commit-id: 5f977d8058f6773fdffa09f01a59135e9ea3337a
2013-06-30 10:49:55 -07:00
John-David Dalton
51230f21f5
Adjust varMethodDependencyMap when isModularize and remove lodash references when isNoDep.
...
Former-commit-id: ec7e8dcaec7ba6b09904f5d9a6039c8a572c1f76
2013-06-30 00:30:48 -07:00
John-David Dalton
e12540ba66
Allow the iife command to not have %output% specified.
...
Former-commit-id: c11cd1d33479e64a689a2412c764be15a807c9ae
2013-06-30 00:29:03 -07:00
John-David Dalton
a6b1bee2af
Add includeVars and allow include=none in build.js.
...
Former-commit-id: 7a77e5ea2920c930eb4ca1fee18661819e366282
2013-06-30 00:27:45 -07:00
John-David Dalton
6187cdafe3
Remove exports comment when removing the _ exports via removeRunInContext in build.js
...
Former-commit-id: 90460080310f890b707eaa848146de8a26d6765b
2013-06-30 00:26:20 -07:00
John-David Dalton
880f785d04
Add removeAssignments and the snippet that removes methods in build.js.
...
Former-commit-id: 873a147f2fcb8a0ab19a7980644b1f542bab9b8b
2013-06-30 00:23:02 -07:00
John-David Dalton
5aedcfd6a7
Cleanup build.js.
...
Former-commit-id: 37a2961136788c9b50d26ed2ce38b208bbf1f40d
2013-06-30 00:20:40 -07:00
John-David Dalton
6ff1a2c236
Remove getCategoryDependencies, getSupport, removeSupport functions from build.js.
...
Former-commit-id: b55fb46631bb94ffbe986a031d09bf7aefc6ba99
2013-06-30 00:17:20 -07:00
John-David Dalton
317f888383
Make cleanupSource remove extra trailing whitespace.
...
Former-commit-id: 4b805471336e3259b45a51e1a5f1bea62d66bd94
2013-06-30 00:13:33 -07:00
John-David Dalton
33f1f9abde
Update dependencies in build.js.
...
Former-commit-id: 0de152de0dba9b3349d9234b066a5eb8b7964693
2013-06-30 00:11:36 -07:00
John-David Dalton
913406b568
Make lodash work with modules by avoiding circular dependencies.
...
Former-commit-id: 57161fd81b837db22fcfe1d318e220f6ca4b1e21
2013-06-29 22:12:12 -07:00
John-David Dalton
6a74d102a4
Add matchVar to build.js.
...
Former-commit-id: a72f6fa81c9b7f862dc023efe8bd15ed3c2ba0ce
2013-06-28 23:27:43 -07:00
John-David Dalton
e9e36cebcb
Add complexVars array, correct removeStrings, and cleanup isVarUsed in build.js.
...
Former-commit-id: 4d2c65fbad7659fe54c76127b9e9c0bb5731cf35
2013-06-28 09:06:29 -07:00
John-David Dalton
af6bf7a232
Add categoryMap and cleanup buildTemplate, getCategoryDependencies, getCategory, getMethodsByCategory in build.js.
...
Former-commit-id: e68269afcf6558aefa4a4bba3b75ebf5904714fd
2013-06-25 23:52:05 -07:00
John-David Dalton
5720a7a5e3
Add _.debounce maxWait doc example. [ closes #298 ]
...
Former-commit-id: c9193ce30fa7c572594b80eeb0a068b73da0affa
2013-06-25 09:07:59 -07:00
John-David Dalton
449c946423
Fix how method names are resolved from categories in test/test-build.js.
...
Former-commit-id: bbb8a2ca376a64b2fd9c3e2fbe0d3911a7089a94
2013-06-24 08:01:19 -07:00
John-David Dalton
54a2a0da48
Use _.difference instead of _.without.apply(_, …) in test and build files.
...
Former-commit-id: 5646e8c3e895ea0662df81e7c77e70cdfe2c3a6d
2013-06-23 22:34:05 -07:00
John-David Dalton
e209fedb27
Fix typos in build.js and ensure build tests pass.
...
Former-commit-id: 4c82850ce314e5a7072f90267c755d991f893442
2013-06-23 19:33:45 -07:00
John-David Dalton
12494f3008
Fix typo in build.js.
...
Former-commit-id: 6722b5f9905108bdc25b12c857d1f0e4f47c2f7a
2013-06-23 17:23:22 -07:00
John-David Dalton
7f60b46488
Cleanup and fix typos in build tests.
...
Former-commit-id: cee0620f7cc624bad85c020a39108111bcb16ac2
2013-06-23 17:12:55 -07:00
John-David Dalton
1c9ecd96d4
Correct how categories are parsed in build commands.
...
Former-commit-id: 93dfd04296f163be7e6099e54931f52ec1ad5391
2013-06-23 17:12:30 -07:00
John-David Dalton
1f84803b91
Fix typo in build.js.
...
Former-commit-id: d5710a62297b824465f29a43c28882865beec971
2013-06-23 13:36:47 -07:00
John-David Dalton
3f6116f28f
Add underscore build test for lack of AMD support.
...
Former-commit-id: ac1412ff63160d94fa80b982652ba4e10ac894fb
2013-06-23 13:25:48 -07:00
John-David Dalton
4ea0eb94d4
Add warnings to build.js for passing invalid method names to include, minus, and plus.
...
Former-commit-id: 918ecc8818874b59a292e913a4b8c62d34824f4c
2013-06-23 13:24:49 -07:00
John-David Dalton
e222bc631a
Fix failing build tests.
...
Former-commit-id: c4673ee77f6750500e0f0a1adaf359108db89932
2013-06-23 01:06:34 -07:00
John-David Dalton
9c07c7fe4f
Track invalid arguments better in build.js. [ closes #303 ]
...
Former-commit-id: 7f50c73c8235a5f501bd8292ef59b644f6264e23
2013-06-22 18:06:20 -07:00
John-David Dalton
35d74e18de
Add removeNonEnumProps to build.js.
...
Former-commit-id: d8c544d06fb23d0188c9670b5c0b2cf34e854254
2013-06-22 14:51:04 -07:00
John-David Dalton
266be2c25f
Add removeSpliceObjectsFix to build.js.
...
Former-commit-id: efa1a3882849d2eb2eb01adaf03a1edca201f76e
2013-06-22 09:20:46 -07:00
John-David Dalton
b7cb090144
Correct regexp in build/pre-compile.js that matches string literals.
...
Former-commit-id: 0ae905b74103df321f997e1d83ac5ce54a17e552
2013-06-22 00:05:37 -07:00
John-David Dalton
30e257bc2b
Add removeStrings and remove methods after inlining in build.js.
...
Former-commit-id: 2b57c9477e08fa89dcc9f567fe8bc64ab4541c4d
2013-06-22 00:05:05 -07:00
John-David Dalton
fbd5679fb1
Better distinguish between \n and \\ in build\pre-compile.js.
...
Former-commit-id: 8e32e4824a0780dcdd97e81f553df37a701e8d5d
2013-06-21 23:33:18 -07:00
John-David Dalton
9db7234f24
Add propDependencyMapBackup, make getDependants recursive, allow getMethodAssignments to still match lodash.VERSION if all other assignments are removed, and reduce removeFunction calls.
...
Former-commit-id: d5f3315e2908bbb6a98caf658db0c28066916deb
2013-06-21 22:25:31 -07:00
John-David Dalton
220b2dc912
Update dependencies, rename removePseudoPrivate to removePseudoPrivates, and optimize how dead variables are removed in build.js.
...
Former-commit-id: e80616a6caa148c954dab611ddde0fc7f5b22cde
2013-06-21 20:24:24 -07:00
John-David Dalton
83c2420038
Add defaultBuildCallback to build.js.
...
Former-commit-id: a7823682374b90bef1ea4f34bed883318fe48ca2
2013-06-20 00:42:15 -07:00
John-David Dalton
73913f450b
Make removeVar punt to removeSupport when removing the support variable.
...
Former-commit-id: 8a961673173f60669282a7ebb9ad142e13af078e
2013-06-20 00:08:45 -07:00
John-David Dalton
bb966e7e6f
Rename useLodashMethod to isLodashMethod, add isExcluded and remove isRemoved from build.js.
...
Former-commit-id: 59c2756e728f45240db30997350e5bd6db592908
2013-06-19 09:05:42 -07:00
John-David Dalton
b4adc127a4
Simplify getMethodAssignments, add removeMethodAssignments, and avoid some cleanup when the --no-dep flag is passed in build.js.
...
Former-commit-id: aebfc41fdde98df243c4620ee729977775cba52b
2013-06-19 09:01:42 -07:00
John-David Dalton
2bc343b524
Add defer to the remove forks check in build.js.
...
Former-commit-id: 964ffc9af09e24b3a9fb3bdc84ff4495521bcd59
2013-06-18 09:04:45 -07:00
John-David Dalton
1f4d6eb0df
Remove local clearTimeout and setTimeout vars from the underscore build.
...
Former-commit-id: d783c0a387ad96b14db718da04dec43056452042
2013-06-18 08:59:58 -07:00
John-David Dalton
ee936fe1a1
Add isShallow to getVars in build.js.
...
Former-commit-id: c863a26a1e43e4ab8b0d4d84ecea78653663660e
2013-06-18 08:33:42 -07:00
John-David Dalton
f6d9239b37
Rename fallback to fork in build.js.
...
Former-commit-id: f98efe8f0cc3c5440c05ff8fe31cacb742fdddf3
2013-06-18 08:26:46 -07:00
John-David Dalton
512e5b0240
Add removeComments, removePseudoPrivate, and track more private properties and other dependencies in build.js.
...
Former-commit-id: 66a9d849080d20549bbdfda7965db1b31ac5388c
2013-06-17 23:30:53 -07:00
John-David Dalton
600148f501
Track property dependencies in build.js.
...
Former-commit-id: 9ae72c4677f7340e53350702391aa46c328ab81c
2013-06-16 20:20:51 -07:00
John-David Dalton
8791a4f696
Fix build by not counting pseudo private props as part of the isVarUsed result and accounting for findWhere.
...
Former-commit-id: 974c3a31de0222b9239be0a5a9c4a7b5c5e41913
2013-06-16 19:09:50 -07:00
John-David Dalton
ef40a8a925
Reduce the snippet returned from getMethodAssignments and avoid a possible infinite loop when removing dead vars.
...
Former-commit-id: 06b49c9ecdf0b279f7d81274d82a813488e9dd26
2013-06-16 17:48:15 -07:00
John-David Dalton
2473e87947
Track less variables and optimize dead variable removal in build.js.
...
Former-commit-id: 926dae3b46fd491634559391c888fca8a83c84ac
2013-06-16 14:32:52 -07:00
John-David Dalton
bbe1dfb53d
Update builds with more dead code removed.
...
Former-commit-id: 4e1932fcfc89725071a107dcd1aeec2d025b580a
2013-06-16 10:25:35 -07:00
John-David Dalton
3bc27b1a02
Allow findWhere to be included as a lodash method in test-build.js.
...
Former-commit-id: b69a12bac6a1a91716e4665dad39cafbaa8f88c8
2013-06-16 10:24:12 -07:00
John-David Dalton
ec4c6e140b
Correct getVars filter in build.js
...
Former-commit-id: 4be03b389d54ec360e56918c4d4ca2ad26f46f8a
2013-06-16 10:23:39 -07:00
John-David Dalton
545cc1074c
Exclude Lo-Dash methods from getVars results and correct varMap check.
...
Former-commit-id: 793bc5294ada8f765928aa9e78e83bc535eb44df
2013-06-16 00:59:04 -07:00
John-David Dalton
9c0f4822bc
Make build allow iife with newlines and remove isNode from builds that don't need it.
...
Former-commit-id: 2c0f123d80ea63fb6072d1c02762edd56892d056
2013-06-16 00:05:21 -07:00
John-David Dalton
5040ec109b
Make build.js automatically remove unused variables from builds.
...
Former-commit-id: 03c9e77498263da0f5dc10bc9076a74d471d93f9
2013-06-16 00:04:02 -07:00
John-David Dalton
25b216d7ef
Add note about Node.js bug #5688 . [ closes #301 ]
...
Former-commit-id: e2f178fed72f4932ee7b20d3b81974180683a334
2013-06-15 17:17:59 -07:00
John-David Dalton
e475c847d7
Update docdown.
...
Former-commit-id: 425bcffea78c4c0f1b2004415a0c01f20bcc52c2
2013-06-15 17:02:43 -07:00
John-David Dalton
e7c55c1ad6
Minor whitespace nits.
...
Former-commit-id: 53a50cbb83cd638f42c0b943c8c2eb354403c787
2013-06-15 17:02:30 -07:00
John-David Dalton
cd8fcadd29
Add *.min.* to ignore files.
...
Former-commit-id: 6dfd90814ef66ff6a81ff039c5650e7befb735f9
2013-06-15 16:56:15 -07:00
John-David Dalton
f78b6b30d9
Remove testing Node 0.9 in .travis.yml.
...
Former-commit-id: dcb53274a2d671b3645b1b740533cfc5e0c3cb14
2013-06-14 07:50:57 -07:00
John-David Dalton
cc6a991464
Add changelog note about --output. [ci skip]
...
Former-commit-id: 7ea8bf69eea43fc489a6f6fe1f18eba206a735de
2013-06-12 23:10:53 -07:00
John-David Dalton
81d487dd89
Update package.json to more closely follow npm docs. [ci skip]
...
Former-commit-id: 8f5687e779626502da3edcbbe092f4ca93b0cffd
2013-06-12 22:52:22 -07:00
John-David Dalton
af2795c07f
Add Dojo builder check to test/test-build.js.
...
Former-commit-id: 20385525751c6be545d33e46fd650731eebb5246
2013-06-12 08:54:46 -07:00
John-David Dalton
178d9fb8d5
Cleanup _.random unit test.
...
Former-commit-id: adc32aa17c4375446f180cf6f9daff2eb13b841e
2013-06-12 08:00:33 -07:00
John-David Dalton
9bd12eb782
Bump to v1.3.1.
...
Former-commit-id: 2d7b1adacb8d2dd6fbee4b9b623b73aa8582e487
2013-06-12 07:54:39 -07:00
John-David Dalton
ef66650997
Ensure maxWait tests pass in Ringo.
...
Former-commit-id: 57f4142caab308b2df0c0403cfac15cd240c0538
2013-06-12 07:47:53 -07:00
John-David Dalton
fcffcdde1b
Increase maxPoolSize limit, add missing cache property to the object returned by getObject, and optimize releaseArray and releaseObject.
...
Former-commit-id: 41c356fb0d03339bc450de8d69f8002aa4613628
2013-06-12 07:20:58 -07:00
John-David Dalton
7de892ccac
Correct typo in _.indexOf perf test.
...
Former-commit-id: 96d717dbf50ea5b9c8098ec39f2572cccb72ab18
2013-06-12 00:15:14 -07:00
John-David Dalton
f90f2e051a
Bump to v1.3.0.
...
Former-commit-id: 4b8a4e90b97d2960445073cd4288af19dadc9266
2013-06-11 08:33:35 -07:00
John-David Dalton
24f49c8d83
Ensure _.throttle passes underscore unit tests in all environments.
...
Former-commit-id: 5867875313995ed02a94cd879d537c295b8a5c5f
2013-06-11 08:19:54 -07:00
John-David Dalton
a4ebaf15ab
Remove lodash.js from .npmignore.
...
Former-commit-id: 437fe2fa2e19d4de8f83e2f760cf9da854ded128
2013-06-10 23:55:13 -07:00
John-David Dalton
54a46dccc3
Correct _.throttle method dependencies.
...
Former-commit-id: 2118e1789803a042675fcc8acb19f1904a102578
2013-06-10 12:37:24 -07:00
John-David Dalton
9747d5057d
Update builds and docs.
...
Former-commit-id: 413e8a906dee3407baf848c4607d9887f57fac85
2013-06-10 11:55:51 -07:00
John-David Dalton
7f5c97d0be
Avoid Array.prototype issues in Narwhal.
...
Former-commit-id: 47627a187d59fb83f4a5b84b03158432d5216395
2013-06-10 11:54:09 -07:00
John-David Dalton
1933a76631
Add maxWait option to _.debounce and implement _.throttle by way of _.debounce. [ closes #285 ]
...
Former-commit-id: 63b41aac298e5fa89f7922e84b2ed0d5c6545bd3
2013-06-10 11:16:14 -07:00
John-David Dalton
c20d7f9754
Tweak free variable module detection so it will work with Component's polyfill. [ closes #296 ]
...
Former-commit-id: bda6c962dc5e8299689e4c5cf003f6a6c9a4369d
2013-06-10 09:32:33 -07:00
John-David Dalton
6b46dc7e89
Ensure more private properties are minified correctly.
...
Former-commit-id: dbebbb088768f04a8252029ad709bad9f01c88bb
2013-06-09 17:21:50 -07:00
John-David Dalton
0c1a26170c
Remove build source ./lodash.js from components.
...
Former-commit-id: 4d7f56385b288b396182020aed07eec285c37815
2013-06-08 09:23:20 -07:00
John-David Dalton
244ee08d7d
Remove ./ path prefix to avoid issues with Component's build. [ closes #294 ]
...
Former-commit-id: 93ba9214538b0f30fde75bff96b75c83f3b96f1f
2013-06-07 18:44:15 -07:00
John-David Dalton
a3acbca24b
Rename typod test/run-test.sh.
...
Former-commit-id: bb982a51c5ceb123e83d98c3201e969607f990b8
2013-06-07 13:33:12 -07:00
John-David Dalton
d77e4ed581
Rebuild files and docs.
...
Former-commit-id: 1e3b1e236e15e4248247a4b20288ab2e153ce753
2013-06-07 08:39:08 -07:00
John-David Dalton
b928abb956
Tweak _.intersection to still hit fast paths in engines.
...
Former-commit-id: e8cb944bd6223bb30d58da343c4b5a3f296a4956
2013-06-07 08:24:30 -07:00
John-David Dalton
a46ef8d1a6
When chaining, _.max and _.min should resolve the correct value when passed an array containing only one value. [ closes #292 ]
...
Former-commit-id: 79c71c1851a73c23919a28aadd56490ded91166c
2013-06-06 09:07:14 -07:00
John-David Dalton
a5d459749f
Update dependency maps and remove properties in pre-compile.js that no longer exist.
...
Former-commit-id: d24f0ac4575ab1c2d12f3e8b4bc5f089424407ca
2013-06-06 08:44:20 -07:00
John-David Dalton
7dfa383968
Move some functions out of runInContext and cleanup _.intersection.
...
Former-commit-id: dfefa6e202b3cd5a7925ddef6ac73dcab5bef8d1
2013-06-06 08:43:24 -07:00
John-David Dalton
036483d195
Simplify the object pool and large array cache.
...
Former-commit-id: d15df51efe575cd6fa773622f135ccfb6f675545
2013-06-05 08:06:05 -07:00
John-David Dalton
2c950f74bc
Remove props related to _.sortBy if the method isn't included in a given build.
...
Former-commit-id: b3da4dab8257b9001b7458263a28bf22b0a2c831
2013-06-04 09:12:11 -07:00
John-David Dalton
2c59dcd929
Rebuild docs and files.
...
Former-commit-id: 94d3e29ccf0ba47599a9d662e5d4068713009c9b
2013-06-04 08:37:12 -07:00
John-David Dalton
658d14f31d
Cleanup var names and properties.
...
Former-commit-id: a3455f40184b61a7abe3f5749ea1c0a141c0e574
2013-06-04 08:36:45 -07:00
John-David Dalton
819f4d2151
Add maxPoolSize to limit array and object pools.
...
Former-commit-id: 677cdb053c7ef60274d71d9ecf4d6f866ef6a8eb
2013-06-03 08:43:04 -07:00
John-David Dalton
9b214d75df
Update DocDown.
...
Former-commit-id: ecb4c7428007bfb6b721000c81254a03c826b1ff
2013-06-03 08:00:46 -07:00
John-David Dalton
e0891a2d71
Clarify lodash underscore test name in test-build.js.
...
Former-commit-id: 4723604102d38ea252f867aeab16ce167b1d1a49
2013-06-03 08:00:29 -07:00
John-David Dalton
34a4876761
Cleanup .travis and .ignore files.
...
Former-commit-id: 268e1eb34f30581ed1a36236970673f389f94bb3
2013-06-03 07:59:44 -07:00
John-David Dalton
13ead0085d
Add array and object pools to lodash.
...
Former-commit-id: f038284d6a544e146dc271ed0fbea0d7401593d4
2013-06-03 07:09:04 -07:00
John-David Dalton
9e63270fc5
Add Volo ignore entry to package.json.
...
Former-commit-id: 9fe60cf0dcfeb4f688f53ffb1995a619d420d586
2013-06-02 17:29:57 -07:00
John-David Dalton
eccab3cd57
Fix build test for older Node versions w/o setImmediate.
...
Former-commit-id: 9f21f174626cd86eefd0a26cf0b36a60858ba501
2013-05-30 09:37:09 -04:00
John-David Dalton
6446daf1a6
Remove Instanbul note from README and devDependency from package.json.
...
Former-commit-id: 891c387534df492f9e4d836daac7adc930205fb3
2013-05-30 08:23:08 -04:00
Mathias Bynens
821602ef1c
package.json: Remove Grunt devDependencies
...
Follow-up commit to dc3512de9f [formerly 6d38406eafbfc880c0b5aabf853c987c65f03482].
Former-commit-id: f8c310cad3fe165b6005312bad74a9abc5148a47
2013-05-30 10:44:08 +02:00
John-David Dalton
dc3512de9f
Move istanbul to travis.yml.
...
Former-commit-id: 6d38406eafbfc880c0b5aabf853c987c65f03482
2013-05-30 03:38:55 -04:00
John-David Dalton
36e9cb7108
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: 629fdb25b4727f8dbf870457196af9a4c43b562d
2013-05-29 17:25:09 -04:00
John-David Dalton
42f4531720
Remove unneeded method from the backbone build and fix build tests.
...
Former-commit-id: ee463a4af4d458a556f5be666b71b464bae32e6b
2013-05-29 17:06:01 -04:00
Mathias Bynens
d1fb379a40
Enable code coverage
...
Former-commit-id: 9b52247b6e880f15895842e4ff34c15fc99fd1eb
2013-05-29 17:51:57 +02:00
John-David Dalton
e27bdb965c
Add a note about the exposed cache to _.memoize docs.
...
Former-commit-id: 75939e3ed38fe8447c2f9e45b965a837901bcc4c
2013-05-29 10:30:58 -05:00
John-David Dalton
54fc6df3da
Update _.transform docs.
...
Former-commit-id: ff26ef26e906410787a8819b9c653f20bbdeff38
2013-05-29 09:21:45 -05:00
John-David Dalton
9dd8f62c8a
Make Error.prototype unit tests pass in Firefox.
...
Former-commit-id: 1ff097e7947ba206bc58fe0c319bf36bb64b5387
2013-05-29 09:05:21 -05:00
John-David Dalton
1db19148e7
Update vendors.
...
Former-commit-id: 6be90c53f9b69d500485492ea2a0ebd288b92abe
2013-05-29 08:56:53 -05:00
John-David Dalton
93a01506e4
Add/fix build tests for mixed method builds.
...
Former-commit-id: 2b97810ca6960670ea646c6eda962bd4585fda04
2013-05-29 08:30:13 -05:00
John-David Dalton
4767ed790c
Add _.findWhere alias.
...
Former-commit-id: 2c70e59b71c22d902e499747444a196a85691554
2013-05-28 16:08:24 -05:00
John-David Dalton
e39211347c
Fix build.
...
Former-commit-id: f8c32906f46a747b1d610c1c9ca8a8ee3b095d90
2013-05-27 23:54:16 -07:00
John-David Dalton
a8cdbb65fe
Move code block to a more related part of build.js.
...
Former-commit-id: c138608bdff2937c51127e129955143ad7a3caec
2013-05-27 23:21:18 -07:00
John-David Dalton
ff74ff4149
Tweak _.transform docs.
...
Former-commit-id: dc7100411a403be4cce6b3784e1dd81cc9423b76
2013-05-27 22:31:41 -07:00
John-David Dalton
96e47f3d27
Avoid incorrectly converting local variables to boolean values.
...
Former-commit-id: 322f6dec4c669bdc1ef534f7786cf12aee580e53
2013-05-27 15:38:11 -07:00
John-David Dalton
be52c181ea
Ensure converted !0 and !1 have leading whitespace if needed.
...
Former-commit-id: 930001f35111d47a51c011c47d6c2608b0bb7e2d
2013-05-27 13:47:01 -07:00
John-David Dalton
507f2ec544
Avoid minifier tricks for boolean literals in expressions.
...
Former-commit-id: a02445f97a81c330018247140784818be830595f
2013-05-27 13:04:26 -07:00
John-David Dalton
fe00c628f4
Fix build.
...
Former-commit-id: 8dfb12b5883e59111857360ee5392c62e5e9146f
2013-05-26 23:19:10 -07:00
John-David Dalton
e9387d322c
Disable use of basicIndexOf optimization if _.indexOf is customized.
...
Former-commit-id: 5b2273b36934581e34c6f6042de95bf556c61ca2
2013-05-26 22:46:52 -07:00
John-David Dalton
2e3b135fe9
Rebuild docs and files.
...
Former-commit-id: 3f0dd7d8a07e2a3694619ce7277573ffb6f88ef6
2013-05-25 01:08:38 -07:00
John-David Dalton
d28cc15be2
Ensure _.isPlainObject returns true for empty objects in older browsers. [ closes #283 ]
...
Former-commit-id: d01d32b1cbd87d08bc8014d07eaa1842e3118a40
2013-05-25 01:08:08 -07:00
John-David Dalton
d15bd23800
Add *.template.* to .ignore files.
...
Former-commit-id: d4c34dccb521890de2ced7482628f4796b55dcc1
2013-05-24 09:11:34 -07:00
John-David Dalton
90fe45c52d
Tweak regexp in build/post-compile.js used to repair whitespace detection.
...
Former-commit-id: 7bfe6a6bc0b5e2258c56588d8aacad1e5176d8ba
2013-05-24 09:10:45 -07:00
John-David Dalton
8f7be71905
Avoid escaping existing non-ascii characters in templates. [ closes #278 ]
...
Former-commit-id: a56581f3e323c0c47e4f26ef8dce13e90fb6c15c
2013-05-24 08:42:11 -07:00
John-David Dalton
5d583637c4
Clarify _.uniq doc example and rebuild files. [ closes #282 ]
...
Former-commit-id: b3ab9ae81af219dfb75b3f4339555530a6301f6e
2013-05-24 07:53:03 -07:00
John-David Dalton
0efb4285c1
Make capitalize in test/test-build.js consistent with other areas.
...
Former-commit-id: 2a4b6a2f394e474af2c3ca9376ec0ac2580e9bb9
2013-05-23 20:23:48 -07:00
John-David Dalton
6dc543ca18
Rename internal each to basicEach and add internal overloadWrapper function.
...
Former-commit-id: b12ea9977ab7b6da877aca5925a9fc59019bec93
2013-05-23 20:23:10 -07:00
John-David Dalton
e93e1ddeb9
Add private function dependencies to help reduce dead code in non-minified builds and allow turning them into modules as part of the modularize build option.
...
Former-commit-id: e9118c47ae2b66e86332a02b4279999b99b8c429
2013-05-23 20:22:12 -07:00
John-David Dalton
d5459f5996
Reduce test/test-build.js travis-ci time limit.
...
Former-commit-id: c71f8dec6e7cbd81d8693bd52f1f2d0ef78149a7
2013-05-21 10:46:07 -07:00
John-David Dalton
c6420a910d
Cleanup getJavaOptions in build/minify.js.
...
Former-commit-id: 74a6ddf40eadcfd66c0da243d2496b45bc89d8a1
2013-05-21 09:14:37 -07:00
John-David Dalton
f8e67b8e68
Remove the binding optimization from all but the modern build.
...
Former-commit-id: 1023ccc976e180425dabaa1b61e873e542aa3c2a
2013-05-21 08:42:13 -07:00
John-David Dalton
9ffcd382b4
Have build.js remove createCache if it's not called in the source.
...
Former-commit-id: 399d1e19b96b2084cc8cd459d297129db1bda071
2013-05-21 00:30:49 -07:00
John-David Dalton
725746badf
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: f3bd8611110e0656b448fd5e7bd6fb88dc7a7213
2013-05-20 22:58:22 -07:00
John-David Dalton
9d5290de91
Rebuild docs and files.
...
Former-commit-id: 00c9d39304630bf650d7f1c80496c383cdac0ba7
2013-05-20 22:58:08 -07:00
John-David Dalton
1bb0b58cce
Rename cachedContains reference in build.js to createCache.
...
Former-commit-id: 3b8cee53f3b7cadc5350c4261794cec72e704427
2013-05-20 22:57:31 -07:00
John-David Dalton
32f0ebbe61
Avoid issues with Titanium, clearTimeout, and an undefined timer id.
...
Former-commit-id: 18813fcebbab5185164c236a647b0b6436d495ff
2013-05-20 22:53:27 -07:00
John-David Dalton
25a1d74627
Update test/underscore.html and test/backbone.html to account for chain existing in Lo-Dash.
...
Former-commit-id: f815e7a3ac6e9cc6c048eab82acc32e462dbb021
2013-05-20 22:52:34 -07:00
John-David Dalton
355b2f09bf
Make getDependants work with an array of method names.
...
Former-commit-id: 55f3721735d93e95da10bb3367f8478d861e683c
2013-05-20 22:10:11 -07:00
John-David Dalton
01621f75b6
Avoid binding functions in _.createCallback if they don't reference this.
...
Former-commit-id: d491414e7e1536d3241a607ba07120f629ff2410
2013-05-20 09:20:51 -07:00
John-David Dalton
242e8a3bd6
Fix typo left out of the "legacy include=defer" patch.
...
Former-commit-id: cf8f3e072534a925bdf6a0ebdee65d1280f7d29e
2013-05-20 08:44:12 -07:00
John-David Dalton
010c26e716
Replace cachedContains with createCache and further optimize linear array searches.
...
Former-commit-id: bfe905985c9125cbadfcf111ffd97b6f8ecdd58d
2013-05-19 19:21:11 -07:00
John-David Dalton
e7bad10663
Ensure mobile builds pass unit tests.
...
Former-commit-id: 31b4eb76c90f375069ef4a73aa7e3fdbcbda069d
2013-05-19 14:28:23 -07:00
John-David Dalton
16242f98ce
Ensure each is converted to forEach when used in a ternary operation.
...
Former-commit-id: ff42e367f9987726fd561037337081c63c7a5100
2013-05-19 14:23:35 -07:00
Kit Cambridge
14a447b3d8
Ensure that the javaOptions are set correctly, as exec is asynchronous.
...
Previously, the `java` command would execute on the next tick and update the
`javaOptions` array, which could occur prior to the invocation of the Closure
Compiler on the current tick. This has now been refactored into a separate
`getJavaOptions` function, which passes the `javaOptions` array to a callback.
`getJavaOptions` is defined lazily; after the first invocation, the options
are cached and passed to all subsequent callbacks. The callbacks are invoked
on the next tick for compatibility with `exec`.
Former-commit-id: 89ca63c9edb3df3d4fcbbaa64e06075495febfd0
2013-05-19 14:16:35 -07:00
John-David Dalton
a2088fa500
Rebuild docs, files, and update minifiers.
...
Former-commit-id: 65b04c3efc7677c8ec5cc7ce6e5840fed23b3716
2013-05-19 13:11:57 -07:00
John-David Dalton
87af68c092
Add Java options for faster Closure Compiler minification to minify.js.
...
Former-commit-id: b493d461e78d0df80c80805a570220fdff93d487
2013-05-19 11:45:24 -07:00
John-David Dalton
06daad87ca
Remove unnecessary semicolons from compiled strings.
...
Former-commit-id: d4f31dafd3335878469babc5daac45957c6d4e80
2013-05-19 11:36:04 -07:00
John-David Dalton
0b4b86f6c9
Remove ctorByClass from the minified vars list in pre-compile.js.
...
Former-commit-id: 5f5fe90d6a1a9726a07ee7b4c2c9b9b23b6700d3
2013-05-19 10:58:36 -07:00
John-David Dalton
10626904af
Add _.transform unit tests.
...
Former-commit-id: 34e844950f5c003eeeaf2daea7a5ef6247fbfdab
2013-05-19 10:57:50 -07:00
John-David Dalton
90cca8a3eb
Remove Error enum fixes/code from builds that don't need them.
...
Former-commit-id: db060ff3571ef656709447970b62f4af753ea0cb
2013-05-19 10:52:56 -07:00
John-David Dalton
8da0141cac
Fix legacy include=defer build test.
...
Former-commit-id: 49d0598ad3a979796cd07b6819c0aa08642c93a1
2013-05-19 00:37:40 -07:00
John-David Dalton
39e123aaf4
Rebuild files.
...
Former-commit-id: ab61934d0b097036dc4cab968d92bfd1450fe8c7
2013-05-18 19:33:17 -07:00
John-David Dalton
24fd17f072
Replace _.isPlainObject with shimIsPlainObject.
...
Former-commit-id: c1c273a352387e25ae5a6a22dfda8871beac8400
2013-05-18 19:32:16 -07:00
John-David Dalton
9270cc47b5
Add _.transform.
...
Former-commit-id: 6c040fedd130e8436ff99b1d70892ac8cebbb996
2013-05-18 19:12:22 -07:00
John-David Dalton
3721db34ab
Avoid writing a minified file when --stdout is used. [ closes #273 ]
...
Former-commit-id: 75068b4a92f3a98d4c47ad049e88ef764154bcc1
2013-05-18 09:21:23 -07:00
John-David Dalton
e85ae351c7
Ensure --output paths containing build commands are processed w/o problems.
...
Former-commit-id: 4790e4e2ea2eba6af8c93e3576858d1f6ff45e70
2013-05-17 08:41:55 -07:00
John-David Dalton
a56ba245ea
Fix _.support.enumErrorProps docs.
...
Former-commit-id: f7aa45537b1e4d173f966a78f89b183c444faaeb
2013-05-16 09:12:56 -07:00
John-David Dalton
d162eed4c7
Rebuild files.
...
Former-commit-id: dd3db7be0213bfada5ab7d8593e233a9af4a9dd0
2013-05-16 08:48:28 -07:00
John-David Dalton
43fea34f61
Ensure _.chain works as expected.
...
Former-commit-id: ed176702dc08deeb35d94bb7b40623ab06142848
2013-05-16 08:47:52 -07:00
John-David Dalton
f7c960fc0d
Ensure Error is escaped for advanced Closure Compiler minification.
...
Former-commit-id: 7a9cfbe464afa9e52ec3ed23692965d07db51d32
2013-05-14 22:49:15 -07:00
John-David Dalton
ee1933389a
Add _.chain tests and ensure they pass.
...
Former-commit-id: e365b65da8a740383c975c7b904ad2156d1cc8ab
2013-05-14 22:48:34 -07:00
John-David Dalton
fdc9d5f1fd
Rebuild docs and files.
...
Former-commit-id: 59596707224acabb767b87078d69363c293eec2d
2013-05-14 09:15:48 -07:00
John-David Dalton
bad40b6125
Ensure snippet in iteratorTemplate is minifiable and remove unneeded references from iteratorTemplate.
...
Former-commit-id: f8c96f63f1a50644c0d2074e5419e68d1a247d46
2013-05-14 09:15:26 -07:00
John-David Dalton
d76ce85327
Add better _.forIn support for legacy browsers.
...
Former-commit-id: a03ce4662021d6ac8ca12c4885a9c4718c227a30
2013-05-14 09:04:15 -07:00
John-David Dalton
d3df072a22
Make build.js remove extraneous semicolons from inlined methods.
...
Former-commit-id: 061ed370a4c95a64669335c6b2a5da7ebc1015fd
2013-05-14 08:11:56 -07:00
John-David Dalton
4b3009a195
Ensure _.clone, _.flatten, and _.uniq can be used as a callback for methods like _.map. [ closes #270 ]
...
Former-commit-id: fb62b5bbdad844cb04c3259c323e27fb81932809
2013-05-14 00:50:57 -07:00
John-David Dalton
b72b0d60cb
Add support for floating point numbers to _.random. [ closes #263 ]
...
Former-commit-id: ef356bb180b163fc936ef69ac2ef33186983eaa7
2013-05-12 15:48:01 -07:00
John-David Dalton
5841e62c66
Add _.chain alias of _. [ closes #267 ]
...
Former-commit-id: 580e4346444096c7fa77cfc5cf2c68b6cf891fcf
2013-05-11 00:59:48 -07:00
John-David Dalton
9bd0c01702
Expose memoized function's cache. [ closes #265 ]
...
Former-commit-id: fc44676386854ec9d5fd7a4fac8583508d63949f
2013-05-10 23:22:04 -07:00
John-David Dalton
6d86b3a950
Add _.has unit test.
...
Former-commit-id: 3334651f8d29e6aa006184846b128acd006157ef
2013-05-10 22:57:08 -07:00
John-David Dalton
5ff9b02c89
Rebuild files and docs.
...
Former-commit-id: 697fc5842bb6099f48e3731940c9e329452850d2
2013-05-08 01:05:03 -07:00
John-David Dalton
80934ea232
Fix build.
...
Former-commit-id: 114ddcfec3e9bd4bccf481e8ec943ffdead2bb24
2013-05-08 00:59:37 -07:00
John-David Dalton
5acfa2bf3a
Remove _.unzip from the underscore build.
...
Former-commit-id: 6d0accb64f39b08b72e3165c49a8c844a7a99cd3
2013-05-07 23:49:30 -07:00
John-David Dalton
4fada52e04
Remove nonEnumProps from the modernish builds.
...
Former-commit-id: 38592e1ee24524b223b801ede8033d7b4ccb8a36
2013-05-07 23:34:17 -07:00
John-David Dalton
e1c8e95e11
Tweak whitespace in iteratorTemplate.
...
Former-commit-id: 2f9fdbd72d316a1668d34fa95a3f1ecb325d625b
2013-05-07 23:33:04 -07:00
John-David Dalton
1dfebad790
Add a space before define in the minified files so Dojo builder will detect it properly.
...
Former-commit-id: 3c656ba3b2dd4771eab97c259840c2f426e2454c
2013-05-07 22:14:47 -07:00
John-David Dalton
37ffe63d13
Rename arrayRef to arrayProto in build.js.
...
Former-commit-id: fec054f96a4972173cb638ee77a7a0d1813c9ad4
2013-05-07 09:24:12 -07:00
John-David Dalton
cc14c34dc2
Allow the underscore build to opt-in to more lodash build methods.
...
Former-commit-id: 3f685fe1ced25ba37ea9d09e2ed8fa59acb5b8b7
2013-05-07 09:22:31 -07:00
John-David Dalton
e0cf4e644b
Add more _.forIn iteration tests and prep support for Error object iteration.
...
Former-commit-id: 3676681717d0648c9f96570a4952f7c35e6a9bec
2013-05-07 01:38:13 -07:00
John-David Dalton
aad55fc3db
Fix trailing parenthesis typo.
...
Former-commit-id: a9b4fe7408aa9faa7079656c3cb31a4c655544e6
2013-05-06 07:02:53 -07:00
John-David Dalton
ba2b459220
Tweak wiki wording in README.md.
...
Former-commit-id: 86b1377b1e0eb09bf9e50ac66b988548b022cf96
2013-05-05 23:59:13 -07:00
John-David Dalton
086669fbe0
Ensure _.forIn works over objects with longer inheritance chains in IE < 9.
...
Former-commit-id: 226223454e71dd8cb6c38a543f1accd915eef3cb
2013-05-05 23:58:33 -07:00
John-David Dalton
4cc3fcb6e8
Ensure unknown objectTypes return false.
...
Former-commit-id: a60236ecd8908a91c0268d71d5710665986f1ceb
2013-05-05 23:49:37 -07:00
John-David Dalton
8781053dbe
Simplify arrays iterator options.
...
Former-commit-id: 7ea81c03f791615bcfec24d8574162c190d49c7d
2013-05-03 08:51:10 -07:00
John-David Dalton
bdac8974d8
Realign _.assign and _.defaults with ES6 Object.assign. [ closes #259 ]
...
Former-commit-id: e8c89e4a130ed286ce07e1a2e848f50b182effae
2013-05-03 08:33:51 -07:00
John-David Dalton
9ae24141a3
Cleanup _.debounce.
...
Former-commit-id: 0212c6b31222a8e215d6f60e906fbad074f424a9
2013-05-02 00:06:55 -07:00
John-David Dalton
e773efdc59
Ensure _.debounce with leading and trailing will call the func on the leading edge after a trailing call is performed. [ closes #257 ]
...
Former-commit-id: 97afe842b2b4c3eb20c9557298e01ec268386ea2
2013-05-01 09:03:52 -07:00
John-David Dalton
8f94bd1fbd
Reduce _.unzip and _.zip.
...
Former-commit-id: f388c50817910eee510f33b22fd4904fd648a6f0
2013-04-30 09:18:26 -07:00
John-David Dalton
d24d83d52a
Ensure remove of the "exit early" feature is handled properly when mixing lodash methods into the underscore build.
...
Former-commit-id: 973c3e188076ca4403f59684b82bee3049370d5a
2013-04-30 09:12:57 -07:00
John-David Dalton
c938017baa
Bump to v1.2.1.
...
Former-commit-id: ddffb32b2aa61001e81fccfa59b9e9bb38bf7883
2013-04-29 09:10:51 -07:00
John-David Dalton
728eea3ae1
Use zopfli to compress minifiers.
...
Former-commit-id: 0c68644b7602caf00b02a4977951508aceeb4156
2013-04-29 08:55:07 -07:00
John-David Dalton
88f9c1e539
Add modern build test.
...
Former-commit-id: 5f1addf774bd9d128095d477c227c4d8420ead5d
2013-04-29 08:54:46 -07:00
John-David Dalton
76540c20f3
Add .map to the ignore files. [ci skip]
...
Former-commit-id: 129c53ab38b4fbb178b4a832a7abdbf8b055d615
2013-04-29 08:54:15 -07:00
John-David Dalton
70761cf1d9
Avoid false test fails in isType unit tests.
...
Former-commit-id: b7311a8c3844000efab5d56d3632b99f0bf16ce8
2013-04-28 19:28:40 -07:00
John-David Dalton
ace913a97d
Update avatars in READMEs. [ci skip]
...
Former-commit-id: a4ca090094770481959cd4d4e68ec49696c12f9d
2013-04-28 16:51:53 -07:00
John-David Dalton
d6e269c7f6
Avoid special characters in the whitespace unit test.
...
Former-commit-id: 5344bbdb0cd96a3a7d275facc7160c1afa1e971e
2013-04-28 16:48:54 -07:00
John-David Dalton
ec10550b3a
Ensure the _.isRegExp is correct for various builds.
...
Former-commit-id: 38cf57053b89b1011bbfbd0b6a9cd31e91589c31
2013-04-28 16:48:13 -07:00
John-David Dalton
86e2374b48
Ensure _.isArray assignment is handled correctly for builds.
...
Former-commit-id: a844909ada5fbb394cbb91d06e6c76ccc6c40ff7
2013-04-28 15:53:36 -07:00
John-David Dalton
d156dacbb9
Add more .json files to the various ignore files. [ci skip]
...
Former-commit-id: ff1bce7c404799856f838aab301e60b654309c96
2013-04-28 15:23:53 -07:00
John-David Dalton
1af5517da0
Add component.json. [ closes #58 ]
...
Former-commit-id: a7edbb3ee80687f3c74fdb2ae37cad553e009766
2013-04-28 00:18:37 -07:00
John-David Dalton
e5d34890a9
Cleanup whitespace characters in strings and fix a whitespace bug in Closure Compiler.
...
Former-commit-id: d1ab43648f3084b7bcfbd471728b71cea48aa9be
2013-04-27 02:24:25 -07:00
John-David Dalton
183b2548cf
Document the radix argument of _.parseInt and ensure it ignores leading whitespace. [ closes #254 ]
...
Former-commit-id: b1d0f7688402b3f41cfb030c63dcd097ba3f4e68
2013-04-26 22:48:14 -07:00
John-David Dalton
d2de489e3a
Update vendors.
...
Former-commit-id: a36c775be95f95737129965826c2ffcab3fde4f3
2013-04-26 10:44:59 -07:00
Kit Cambridge
90f8dbd86e
minify: Send a User-Agent header to avoid 403 responses from GitHub. [ci skip] [closes #255 ]
...
Former-commit-id: 1879b790b4ace543430edba6ae62d33c963f0344
2013-04-26 09:38:04 -07:00
John-David Dalton
3508ce19f3
Remove support.argsObject from the underscore build.
...
Former-commit-id: 4b25a64d662bde78ab6956109b072ed0a4755e53
2013-04-25 09:15:12 -07:00
John-David Dalton
00188c9818
Use -1 as the selectedIndex of the drop down lists when a custom url is used in the perf suite. [ci skip]
...
Former-commit-id: a3946b9a1d1e129b202606172803daf93afb1fbe
2013-04-24 23:40:41 -07:00
John-David Dalton
499232f0e6
Use lodash.reduce in getGeometricMean of perf.js. [ci skip]
...
Former-commit-id: 7c5af9afcd56958e03f96d3f13f396894cf95f4b
2013-04-24 21:48:04 -07:00
John-David Dalton
17471a12d2
Add legacy build to the perf suite and ensure belt is assigned the correct value.
...
Former-commit-id: 568bbd8157155d76d406ae0e33fe71418f4632f4
2013-04-24 12:53:18 -07:00
John-David Dalton
de4b5eeda7
Allow external scripts to be specified and run in the perf suite.
...
Former-commit-id: 474f0a24d54c800830e2bcec98f6536a17a12bfb
2013-04-24 09:08:46 -07:00
John-David Dalton
d0a0193707
Add missing backticks in the docs. [ci skip]
...
Former-commit-id: 77e7f0275b820e02d52dea90181fc48ae0f650fe
2013-04-23 20:28:52 -07:00
John-David Dalton
5269a26b69
Merge pull request #253 from ajoslin/master
...
Fix missing backtick in uniq docs
Former-commit-id: 37b7007e2f2bc8e30f09fb04dc1a2a69c84795e2
2013-04-23 20:14:24 -07:00
Andy Joslin
8dc6ad587f
Fix missing backtick in uniq docs
...
Former-commit-id: f43321cad9391c1b6167cf1ba7a7814e5128948c
2013-04-23 23:07:55 -04:00
John-David Dalton
757339c52d
Add more builds to the drop down lists of the perf and test suite.
...
Former-commit-id: ab565c850a553e70137b064383813812eee4acce
2013-04-23 00:05:37 -07:00
John-David Dalton
6e289339d7
Ensure _.isArray fallback returns a boolean value.
...
Former-commit-id: c96fb8e95c40d546099796f8337db6d4d3d33aea
2013-04-22 23:56:36 -07:00
John-David Dalton
3ff0a44a1c
Tweak perf suite to use geometric mean and remove tests with high variability.
...
Former-commit-id: ce4ff88ee6be007b761bcf991c59f30f28880973
2013-04-22 08:33:01 -07:00
John-David Dalton
0562228e9a
Ensure the modern build version of _.isPlainObject doesn't error when passed an object created via Object.create. [ closes #248 ]
...
Former-commit-id: d24641ed2562925fbbd2b64653e8e93ab1aa02bc
2013-04-20 19:40:48 -07:00
John-David Dalton
0b6993bb7c
Fix _.debounce doc typo.
...
Former-commit-id: e2659ca38818d15a4080aa8dd605fed99a9eaa43
2013-04-19 09:07:55 -07:00
John-David Dalton
4a19d90d48
Add _.isObject to the isType benchmark.
...
Former-commit-id: 4e2a61fab31b506bac1d5ce7ad47f7bb2d9e11b6
2013-04-19 01:03:09 -07:00
John-David Dalton
038b1bcf7b
Update _.debounce and _.throttle doc examples and rebuild.
...
Former-commit-id: fc094e857aeae0ab9581ad56dca894cc96bc7b2e
2013-04-19 01:02:36 -07:00
John-David Dalton
a707c2fe8e
Ensure isType methods return false for subclassed values.
...
Former-commit-id: e300d12eb506c6ae4949bd37cf8eb33c3a4be2e1
2013-04-19 00:12:22 -07:00
John-David Dalton
3bb119f578
Update _.debounce and _.throttled docs. [ci skip]
...
Former-commit-id: 5a94c9d35069952c72303541409b88656deaa6a7
2013-04-17 22:40:49 -07:00
John-David Dalton
2a92600fa7
Add _.throttle unit test to test lastCalled.
...
Former-commit-id: 528ebd3514aacafcde55fad989f955f1fe403811
2013-04-17 21:36:37 -07:00
John-David Dalton
e80e1dab4d
Add lodash underscore build tests for isType methods.
...
Former-commit-id: 80898964d46abebb3acf1e5e3586f4df700cd85b
2013-04-17 19:53:14 -07:00
John-David Dalton
45d59d75ba
Remove stray fs.writeFileSync in build.js.
...
Former-commit-id: ba94c84ac7e3d2fe9be8e578035132c86cd59790
2013-04-17 19:52:49 -07:00
John-David Dalton
28cd4c3ee9
Update docs & builds.
...
Former-commit-id: 84fbc06fe506451e70fb76cef16cbc072468df99
2013-04-17 09:04:07 -07:00
John-David Dalton
e7c44274b0
Ensure _.debounce performs a trailing call, when both leading and trailing are true, only after the throttled function is called more than once. [ closes #243 ]
...
Former-commit-id: 59ac6bc4ece373623f2bd753b662b8cc974cabc8
2013-04-17 08:43:18 -07:00
John-David Dalton
3b2e0e34ef
Tweak release notes in README.md. [ci skip]
...
Former-commit-id: 316e7610ad00ca0b9d6a80ec44d38e1e739dcfd8
2013-04-17 08:07:28 -07:00
John-David Dalton
2276df07bd
Bump to v1.2.0.
...
Former-commit-id: bb045c043e8f1bbf6cf7fbf463952daa1c24c855
2013-04-16 09:00:33 -07:00
John-David Dalton
758ff03520
Exclude bower.json from Jam and NPM packages.
...
Former-commit-id: 93ce567c4cfd70bcba58fff27d0dc6c6cca12b7d
2013-04-16 08:58:57 -07:00
John-David Dalton
c3ac172960
Simplify _.debounce and _.throttle for the underscore build.
...
Former-commit-id: 56dc526cf71130084651d06b8caadce573471131
2013-04-16 01:52:47 -07:00
John-David Dalton
562b4eb531
Ensure unit tests pass in Narwhal.
...
Former-commit-id: a86ce088a72ea0be7b31e4bccc51ce1286b9418b
2013-04-16 01:04:47 -07:00
John-David Dalton
b1f8e845df
Make _.isArray consistent with the other isType methods.
...
Former-commit-id: adcf242ba7692c96fb8f570118acd7fd0a4602da
2013-04-15 23:58:33 -07:00
John-David Dalton
bda869ea54
Add more to the .gitattributes and tweak template built tests.
...
Former-commit-id: 7f6c20de3981edb4afeb848ef7721f0075c51b54
2013-04-14 22:05:44 -07:00
John-David Dalton
19cfbf082a
Fix corrupt vendor/closure-compiler.tar.gz.
...
Former-commit-id: 118cbaae80df4751552569211cd7b6436fb6b30f
2013-04-14 15:51:43 -07:00
John-David Dalton
07078bdd1f
Tweak how the build handles support property cleanup and ensure the mobile build fixes some old WebKit bugs.
...
Former-commit-id: 34c3aeb2b58cf83a5a141ffc423245922082a714
2013-04-14 14:02:11 -07:00
John-David Dalton
03657a98e1
Fix typo in no-dep test title.
...
Former-commit-id: 30d904ab630012c4ba1f07b2762a33d25151486b
2013-04-14 10:19:34 -07:00
John-David Dalton
b3f64abfae
Update vendors.
...
Former-commit-id: 43e57a1a75bdd66e95d3608f180514cfe5e0075c
2013-04-14 01:18:54 -07:00
John-David Dalton
5d73c8f002
Add -n/--no-dep build option.
...
Former-commit-id: 57571d0df4e17402b9055bae5ccfbc2b94f03613
2013-04-14 00:43:39 -07:00
John-David Dalton
ba0882762d
Reorganize build tests.
...
Former-commit-id: 6f6aea86b84f8b4936785653fbfaa3a146af66a2
2013-04-13 23:47:51 -07:00
John-David Dalton
bb8855b628
Don't include tests that error in the total score of the perf.js suite. [ci skip]
...
Former-commit-id: ea71d436ecec9297b2d991e9f17e3665a9e53d23
2013-04-13 16:58:28 -07:00
John-David Dalton
883d5917f5
Fix build.
...
Former-commit-id: 99b283a2f26a9f5973799ad6757bfdc57d0a0404
2013-04-13 14:22:29 -07:00
John-David Dalton
0275e99fe2
Remove the lodash csp build as the default modern build no longer uses compilation.
...
Former-commit-id: 97f0722cae9190fd11aa9f458c9c7bc281fd82e4
2013-04-13 14:19:41 -07:00
John-David Dalton
5d109077e5
Use _.cloneDeep in build/util.js.
...
Former-commit-id: 06094c21fe084192933665982edc9a4212016406
2013-04-13 11:13:26 -07:00
John-David Dalton
540851ab6a
Reorganize build.js modifications and remove compilation from the lodash modern build.
...
Former-commit-id: af5d0500be9e11d108bf941604ce2316cbd8c4b5
2013-04-13 11:12:01 -07:00
John-David Dalton
6b920fa5e6
Don't prefix paths with drive letters with dots in mkdirpSync. [ closes #238 ]
...
Former-commit-id: dd0c8d7b1906210e5f26604d4149ba542727c78d
2013-04-12 13:15:44 -07:00
John-David Dalton
d1498bb9fb
Tweak lodash, shimIsPlainObject, shimKeys, and reduce function docs. [ci skip]
...
Former-commit-id: f24dd4de2a5a6c8103f26d000f1f16b5be3d8165
2013-04-10 20:38:26 -07:00
John-David Dalton
54eeef173a
Force lf in .gitattributes.
...
Former-commit-id: 075ae2c3b8655159095cd7ea5d1b4aae7792f39f
2013-04-10 08:38:35 -07:00
John-David Dalton
723ddf8cda
Cleanup ignore files and package files, adding bower.json.
...
Former-commit-id: eb817fdaa786f35a7906d56dc1bd7e4af1bee33a
2013-04-09 20:49:42 -07:00
John-David Dalton
9f12552907
Add _.once unit tests.
...
Former-commit-id: cb79b4a5e73ec0cb7bae959693bb14599277ffe0
2013-04-09 20:23:58 -07:00
John-David Dalton
a8b6fa413e
Cleanup build files and add build/util.js.
...
Former-commit-id: 67e5564a17ec4a438e3d0768e8963a1384d4ce98
2013-04-09 20:23:16 -07:00
John-David Dalton
76aae8ce42
Escape path separator when using it as part of a regexp. [ closes #233 ]
...
Former-commit-id: 95d28187ee573ecc26e44f30cb5fb7457877dd06
2013-04-09 08:35:05 -07:00
John-David Dalton
ad0c287053
Ensure _.merge passes the right arguments to the callback when comparing objects. [ closes #231 ]
...
Former-commit-id: 7c1ff861f753d3a2bdf62a753c94df2052d03d78
2013-04-08 21:01:57 -07:00
John-David Dalton
4a11a3559d
Fix typo in iteratorTemplate and _.template docs. [ci skip] [ closes #232 ]
...
Former-commit-id: b7870c00a2ab788c233696d3ca40f8306ee7bc3a
2013-04-08 20:01:19 -07:00
John-David Dalton
1faa5a80e4
Add unit tests to ensure non-underscore builds may include _.chain and _.findWhere methods.
...
Former-commit-id: 91a4ea5114a45bc5038a37d7ff4ea4b6212182ca
2013-04-07 22:55:52 -07:00
John-David Dalton
f1d3df1ec0
Update builds and docs.
...
Former-commit-id: 6409ea5dfeb50e5e69c844847b57b4853b7622c3
2013-04-07 20:15:23 -07:00
John-David Dalton
e7c94d3351
Cleanup _.union.
...
Former-commit-id: ed927c495c93121371d852f5239a068967ec6a6c
2013-04-07 20:06:09 -07:00
John-David Dalton
954f76dcf5
Reduce package size. [ closes #230 ]
...
Former-commit-id: 91e7564f799866453783c9319af405a7aea65b2c
2013-04-07 20:00:44 -07:00
John-David Dalton
43037c0ff9
Ensure "Arrays" and "Objects" methods work with arguments objects and arrays respectively.
...
Former-commit-id: aebb7a0004d804b7fd43d73e24d1da28c67f4059
2013-04-07 15:53:52 -07:00
John-David Dalton
93df901b71
Switch to using useLodashMethod in build.js and allow non-underscore builds to include _.chain and _.findWhere.
...
Former-commit-id: 6c99623286059caf7a74dd4a19394da3562d7932
2013-04-07 08:56:43 -07:00
John-David Dalton
e97e645eda
Use nativeSlice when possible and adjust largeArraySize to account for the recent cachedContains tweaks.
...
Former-commit-id: 9fe4dc10c74fb7a4b8e5cff434a4146d274f15d4
2013-04-06 01:26:21 -07:00
John-David Dalton
4a03ba3874
Add more _.debounce and _.throttle tests.
...
Former-commit-id: db3cb30a8eac82850a056f85d0c363e752d10027
2013-04-05 22:14:44 -07:00
John-David Dalton
7f637e4acc
Update builds, vendors, and docs.
...
Former-commit-id: 67aec5a64de61ac2b8948b31315395a727c10071
2013-04-05 09:04:01 -07:00
John-David Dalton
8f3eeefafd
Should ensure callback is a function in _.isEqual.
...
Former-commit-id: b53f8e0ab1bafff395ff19cd069940ba6c37eb5f
2013-04-05 08:59:09 -07:00
John-David Dalton
5dc550a0ce
Cleanup doc examples for _.find and _.findKey.
...
Former-commit-id: 198149aa9caf277b2a819ee5c06c73e38fa6beae
2013-04-05 08:35:07 -07:00
John-David Dalton
6fe322da27
Add an options object argument to _.debounce and _.throttle. [ closes #222 ]
...
Former-commit-id: d5eb3bc21d4a5c6d25314153f98d43a3d11eb4fa
2013-04-04 08:52:42 -07:00
John-David Dalton
3cfe7c9a56
Reduce --time-limit in .travis.yml.
...
Former-commit-id: 8fcd6b73eafbbb7c23e29cd60ee75fc83577673b
2013-04-03 23:04:47 -07:00
John-David Dalton
be7d5917cb
Update vendor/underscore.
...
Former-commit-id: d1cca79a4f6732ee8cd48dd4574041b4ebe19edf
2013-04-02 22:38:48 -07:00
John-David Dalton
ca28aa6ebd
Tweak argument names and docs.
...
Former-commit-id: 38d7f9cc7dea76e038ede22b6c6b4e779e28237b
2013-04-02 22:37:40 -07:00
John-David Dalton
e76360c1b5
Add _.unzip. [ closes #225 ]
...
Former-commit-id: 4b2c7fc068fd430f3d78de850a5f7670fd0e1a4e
2013-04-02 22:34:15 -07:00
John-David Dalton
265ca8ba67
Update docs and builds.
...
Former-commit-id: 6bb15d3ad0d4d189ad5e27e1dd79d2a070a568b2
2013-04-02 00:37:19 -07:00
John-David Dalton
b0d942d0ec
Ensure _.merge applies a given callback to nested properties. [ closes #227 ]
...
Former-commit-id: 1a58c178e0ecb9c50512f221b4aed82762709066
2013-04-01 23:54:09 -07:00
John-David Dalton
6c25905ae4
Add keyPrefix to avoid issues with __proto__. [ closes #226 ]
...
Former-commit-id: 55dee782acdd5e28229b1fcb7587424d3fdfd445
2013-04-01 22:32:50 -07:00
John-David Dalton
80a39393fe
Use toString.bind instead of slice.bind in nativeBind assignment.
...
Former-commit-id: f08d16b1fa8eb98cf848daff96f7449c0dc51c90
2013-03-30 22:07:24 -07:00
John-David Dalton
d4aed71abf
Make Lo-Dash work with Browserify. [ closes #223 ]
...
Former-commit-id: 33b53dd075d6c4ed9682881af463bdd3c241ca44
2013-03-29 19:04:20 -07:00
John-David Dalton
ebb72bb992
Remove useUnderscoreClone check from the underscore build _.toArray replacement.
...
Former-commit-id: 62777dbc108689aa7bd0e258e64341aad8fa6cb3
2013-03-27 19:43:37 -07:00
John-David Dalton
8ffcd30b4d
Simplify license in package.json. [ci skip]
...
Former-commit-id: 1915ba400e5f45713a018d26081bb6666fb6683a
2013-03-27 19:37:56 -07:00
John-David Dalton
06804c37e2
Remove travis-ci badge from README.md.
...
Former-commit-id: f978ab7e86a15b4f599c3f20afd8e1b8cfe1183a
2013-03-27 09:47:27 -07:00
John-David Dalton
1acca0278c
Bump to v1.1.1.
...
Former-commit-id: 1eaebbcedcd925ef2994d8e9a2c9b00c6a23c4b3
2013-03-27 08:03:09 -07:00
John-David Dalton
639c8d4171
Add _.forEach thisArg unit test to test.js.
...
Former-commit-id: b3d16d90789e76df778ac3457f68fdcbc3f6f4ad
2013-03-27 07:55:19 -07:00
John-David Dalton
d77c9d3fca
Ensure underscore build internal forOwn will accept a thisArg argument. [ closes #220 ].
...
Former-commit-id: a7818db29e81b64556232bfe44b2e1275d3dada1
2013-03-27 07:29:27 -07:00
John-David Dalton
2c7cc2c191
Update vendor/tar for Node v0.10.0+. [ closes #218 ]
...
Former-commit-id: 9b35d27127dbd85dd56808e50bf255bbd3413c62
2013-03-26 20:15:06 -07:00
John-David Dalton
d7c74b8004
Bump to v1.1.0.
...
Former-commit-id: 7d103159263b2ad339cd1e2dba90df0d6c42a61d
2013-03-26 00:18:12 -07:00
John-David Dalton
aaa8003418
Update Benchmark.js to work in PhantomJS.
...
Former-commit-id: 9145f027f58a3c9f0c8b57b6e340f500ba4c7131
2013-03-25 23:23:15 -07:00
John-David Dalton
86890b13c6
Ensure consistent unit test count depending on build.
...
Former-commit-id: 390020635374f6fb1165a6adef0648847ec9cb9e
2013-03-25 22:12:25 -07:00
John-David Dalton
39158b0eb6
Add missing semicolons. [ci skip]
...
Former-commit-id: 7c9c39e84600f41d1a4f94224dfe5b2be8791d20
2013-03-25 20:37:54 -07:00
John-David Dalton
87f1d55bc2
Update docs and builds.
...
Former-commit-id: 21791e052114af5907d76251c58c3ba2ca138873
2013-03-25 08:35:20 -07:00
John-David Dalton
14343b5410
Make object iteration that uses _.keys work correctly in IE < 9 and _.isPlainObject work correctly in IE < 8.
...
Former-commit-id: ad9a3c36acb38e36cd21fe82a29b7e65a767e049
2013-03-25 08:22:40 -07:00
John-David Dalton
ffdac30b3c
Make _.toArray work in legacy build.
...
Former-commit-id: 36866e65670f563b587af51168db9f95f01ed248
2013-03-25 08:21:43 -07:00
John-David Dalton
244c8dc391
Add dist/lodash.backbone.js. [ci skip]
...
Former-commit-id: c9abf959bbc0e30dd5da728e3c7903905d4e751a
2013-03-24 00:11:57 -07:00
John-David Dalton
e593344461
Add copyright header to minified Underscore file. [ci skip]
...
Former-commit-id: dce520ee6e1e2a175e4671ddcf7c2408efdff69f
2013-03-23 23:51:42 -07:00
John-David Dalton
74c46f6e93
Reduce the lodash underscore build.
...
Former-commit-id: 2f928d053faf4b8e45d5ef26e2697c25426b7a90
2013-03-23 23:46:40 -07:00
John-David Dalton
bbfd8aa249
Update Backbone method dependencies.
...
Former-commit-id: 031a5f31c289ad32c8ef0d30272a02c756a341ce
2013-03-23 23:24:25 -07:00
John-David Dalton
2705a488ad
Update vendors.
...
Former-commit-id: b1b94d80548df89b3ce0ddd71b1e938f31666052
2013-03-23 23:23:57 -07:00
John-David Dalton
850c253e08
Use _.contains instead of indexOf in build/test files.
...
Former-commit-id: b0947f4f24c23e011f3ac781d400ee3ebbc94609
2013-03-23 22:49:28 -07:00
John-David Dalton
80e0e3fcd7
Optimize _.pluck for modern environments.
...
Former-commit-id: 1a6bbb9866b8ac20faaa707be5f33814579e1df8
2013-03-23 12:21:43 -07:00
John-David Dalton
2cc2d696f1
_.bind should throw a TypeError if func is not a function. [closes #213 ]
...
Former-commit-id: b6035736d9cb042b7fa4a9d0b7b4d9c6cb0ea4f8
2013-03-23 09:00:24 -07:00
John-David Dalton
8a83a6b5be
Add AMD exports to the dist/lodash.underscore.js builds. [ closes #214 ]
...
Former-commit-id: 4635d0c4f1ff315b08fb459ab64ef2b9ac6cbaa8
2013-03-23 00:40:06 -07:00
John-David Dalton
002d5338a0
Correct build.
...
Former-commit-id: 360983e61c6c6460f344d53dbda5c68e21530e32
2013-03-23 00:36:12 -07:00
John-David Dalton
743aa472f0
Ensure _.keys use in createIterator is consistent per build.
...
Former-commit-id: a4e0aef177d4d1c26ed5ce088574b591a6666d0d
2013-03-19 23:50:56 -07:00
John-David Dalton
ba85d5d351
Remove the _.isEqual dependency from createCallback in the underscore build and avoid potentially unnecessary string coercion in the underscore build _.isEqual method.
...
Former-commit-id: 1e8ce4fd9a35ad36c2b24457e519cb587c49c93b
2013-03-18 03:08:12 -06:00
John-David Dalton
4e2ef908dc
Limit the category build option to adding only those methods available for specific builds (i.e. underscore and backbone builds).
...
Former-commit-id: 63a5509cd953b20376723335d42fb5a136eb3a5c
2013-03-18 02:43:02 -06:00
John-David Dalton
f5dd05ba8e
Fix _.findIndex and _.findKey doc typos.
...
Former-commit-id: 7d4ae05db116e324b4b143e77bca67787476030f
2013-03-18 01:49:36 -06:00
John-David Dalton
17eda2a4cc
Rebuild files and docs.
...
Former-commit-id: a3948db17af507d28d568d07d3e1a2afbd2c70ad
2013-03-17 19:43:23 -05:00
John-David Dalton
d219c6e019
Avoid creating intermediate strings when not needed.
...
Former-commit-id: 1e7457ff131f867adbf799e20af11cf714f5da7e
2013-03-17 19:31:37 -05:00
John-David Dalton
2dc539747b
Add _.findIndex and _.findKey. [ closes #199 ]
...
Former-commit-id: 5ac98b559e074082d4019cd30c27bface063f9c9
2013-03-17 19:28:46 -05:00
John-David Dalton
e941de50e8
Add fast path for callback back to _.forEach and ensure createCallback is called from lodash.
...
Former-commit-id: 5d589344897878d529d59ebba987a163b9704b37
2013-03-15 06:34:13 -07:00
John-David Dalton
63052257a2
Adjust large array size for _.difference and cleanup large array optimization code.
...
Former-commit-id: c3623ce2e0639a9e98d77e36e4dae51063c76e92
2013-03-14 14:38:48 -07:00
John-David Dalton
ac5d2a714e
Make modern build pass unit tests again.
...
Former-commit-id: 6269bdbaa7cd96217568504921da097c2352cef8
2013-03-13 10:13:59 -07:00
John-David Dalton
59f78c16b1
Remove internal each for modern and underscore builds.
...
Former-commit-id: d090f9d0a21f8086d9e34d1171dc046a93327bb8
2013-03-13 07:56:15 -07:00
John-David Dalton
3f7f8133df
Make pref.'s work for various lodash builds.
...
Former-commit-id: cdde1730e7b402c1f6475fc796af683faf6a8e88
2013-03-13 07:54:46 -07:00
John-David Dalton
fef5e1ce2c
Simplify "Collections" methods for the modern and underscore builds.
...
Former-commit-id: 4ee5052537f7aed6816a886bee6da4e75c17099c
2013-03-12 07:32:02 -07:00
John-David Dalton
0b97b3864f
Add isHostType to perf.js.
...
Former-commit-id: 36a1818a5272966ac9bd7f2394f2bd466fe6a4d4
2013-03-11 01:10:31 -07:00
John-David Dalton
3d1330c85d
Remove assignment to undeclared variable in perf.js.
...
Former-commit-id: 6c8c6bd2db9a3ab137f6a705e2dabb2c07ccdc34
2013-03-10 23:51:17 -07:00
John-David Dalton
041c0cc322
Make pref.js work in Rhino, Narwhal, and Ringo again.
...
Former-commit-id: 1969153262cbc3ac134018aa021de92a86d6d7ef
2013-03-10 23:40:33 -07:00
John-David Dalton
e72712640c
Allow lodash underscore plus=cloneDeep without also needing to include clone.
...
Former-commit-id: 90f89296ab47eff635c3c30ed34466e347ea13d3
2013-03-10 22:32:57 -07:00
John-David Dalton
6830195127
Cleanup build and docs.
...
Former-commit-id: 7e0719bb11e3f22ab09d51b52ab930699cbecf17
2013-03-10 11:05:07 -07:00
John-David Dalton
f9b5d6644d
Ensure _.isPlainObject returns false for objects without a [[Class]] of "Object".
...
Former-commit-id: ce034f55733cd1929f09bf80e4a461c6e1502d1b
2013-03-10 04:27:45 -07:00
John-David Dalton
40f9eeda36
Remove reLeadingZeros from lodash underscore build.
...
Former-commit-id: 289d53be5b6af17ace4118ea0e6d9784667d09d3
2013-03-10 03:28:59 -07:00
John-David Dalton
0fa0b0b1ea
Remove Closure Compiler escape from eachIteratorOptions.
...
Former-commit-id: 532e73f570bed2bc5941d0a6d1cb13618da0441b
2013-03-10 00:55:50 -08:00
John-David Dalton
ff0b23f200
Update vendor/platform.js again.
...
Former-commit-id: 39d31dcc7ef75a2bc62d9147f39c7adab2f2369f
2013-03-10 00:43:31 -08:00
John-David Dalton
5456d4081b
Move regexp used in _.parseInt to outside the method.
...
Former-commit-id: 5b93dcdff39089ed5467ba52040f2e352716c49e
2013-03-10 00:30:58 -08:00
John-David Dalton
8948fae780
Update vendor/platform.js but remove it from test.'s.
...
Former-commit-id: 4f72d2b4454e7de42754c98c7b17f47f1f30718c
2013-03-09 23:52:20 -08:00
John-David Dalton
ee4542a699
Optimize lodash function to avoid slow path for arrays.
...
Former-commit-id: 24e2c4ac2525ae38e214fdb0ea8e3ab664d784b7
2013-03-09 18:24:29 -08:00
John-David Dalton
31e4e631f9
Cleanup test.js and perf.js and add _(array) benchmark.
...
Former-commit-id: bcd120c9ee332db39c7b637894751f2861bac069
2013-03-09 18:15:32 -08:00
John-David Dalton
cbf20b3271
Update vendors.
...
Former-commit-id: 7b8fe528a3e3887321505cf68b61cc3d774ef60b
2013-03-09 17:15:35 -08:00
John-David Dalton
a65fd50723
Add note to _.createCallback docs.
...
Former-commit-id: 0e5dfa9b4dc9aeea1c821b47d2f3d755678ea1aa
2013-03-09 13:32:15 -08:00
John-David Dalton
63a6aac2d8
Expanded _.createCallback and _.after docs and ensure _.times calls lodash.createCallback.
...
Former-commit-id: 2d6a480a5ee449295ec40acd5e8bbef6fe955473
2013-03-09 12:22:19 -08:00
John-David Dalton
afde4804c9
Fix build test and add extra "Arrays" and "Functions" method category tests.
...
Former-commit-id: 924e034ec6ec8d05d573dff969f064f1bb32ea33
2013-03-09 01:30:45 -08:00
John-David Dalton
bc8ec9cd3e
Make _.times use _.createCallback and rebuild docs and dist/builds.
...
Former-commit-id: 62393b4833b64cea226abdbb6f1488369de46677
2013-03-09 01:29:42 -08:00
John-David Dalton
b63ab18e29
Rebuild docs and custom builds.
...
Former-commit-id: 6fea0c6b4c7bb28ee3d55b4af27874e40cd9813f
2013-03-08 22:57:20 -08:00
John-David Dalton
e7325f58c3
Correct unit test for rhino -require support.
...
Former-commit-id: 83c076f881daccd18d7e11006e3fab75ecea27ea
2013-03-08 09:00:20 -08:00
John-David Dalton
7b35bb8c96
Correct support.nonEnumArgs.
...
Former-commit-id: 69b09827404bae997846daa681d96d8c9264af78
2013-03-08 08:56:30 -08:00
John-David Dalton
e84671ce5d
Correct _.result docs and cleanup _.support docs.
...
Former-commit-id: 6edb1956885d61408188d2809eeacd3aa975f283
2013-03-08 08:32:50 -08:00
John-David Dalton
b01d50fe05
Add _.support unit tests and remove _.support from the lodash underscore build.
...
Former-commit-id: 986c02d5363329f16cde720430b26edb6bc865f0
2013-03-08 00:53:27 -08:00
John-David Dalton
3f163051b1
Avoid hardcoded indents in build.js.
...
Former-commit-id: ece1e6a32f5d308e4674774f8875ee34c06b4d43
2013-03-08 00:20:07 -08:00
John-David Dalton
4f1d03e1d4
Cleanup the inlined iteratorTemplate.
...
Former-commit-id: 0964f0fda4a21a2009ebfd022e9d9c33bd78bbee
2013-03-08 00:03:57 -08:00
John-David Dalton
fc39e4a225
Fix build.
...
Former-commit-id: 17c97c9e2cad21ea6eb0af3d7b93ebb5caa89720
2013-03-07 23:20:25 -08:00
John-David Dalton
bf88ad7fc8
Update builds and docs.
...
Former-commit-id: 104839a253a7f3711dad357899128ccf839b01cf
2013-03-07 23:09:35 -08:00
John-David Dalton
11ba02067e
Ensure _.times doesn't error when passed negative numbers.
...
Former-commit-id: 5d694743fbda0f477250fe3c90cf29168834ac6f
2013-03-07 09:05:27 -08:00
John-David Dalton
952afa05ce
Add the _.support object.
...
Former-commit-id: b81ec9e5dbd41c729b3ad71187cb5e77e0755b9f
2013-03-07 09:02:44 -08:00
John-David Dalton
3131cc3160
Replace createWrapper references with new lodashWrapper references and refine Closure Compiler fix.
...
Former-commit-id: 552b98a4e9ccd42a00a980dd850e3b154cb7cd32
2013-03-05 02:05:44 -08:00
John-David Dalton
792f768479
Update vendor/requirejs.
...
Former-commit-id: 90bd5bc12f9159b65d485c540474404a61cad7ef
2013-03-05 00:22:03 -08:00
John-David Dalton
ff312a15dd
Update minifiers, fix new Closure Compiler issue, and re-minify builds.
...
Former-commit-id: fb9993cb39c5c43d430e038253ab717ceb4c705f
2013-03-05 00:21:41 -08:00
John-David Dalton
36207c9a98
Modify the Lo-Dash description.
...
Former-commit-id: 910b51eb69b12df04345f8e97d7c288aee1525f7
2013-03-04 22:15:29 -08:00
John-David Dalton
b92105e888
Simplify the lodash wrapper.
...
Former-commit-id: 389c9ca8aa8414b04f7f99caf955862a1925d42e
2013-03-04 22:03:34 -08:00
John-David Dalton
35bd7c55d0
Move lodash instance check up in lodash function and tweak chaining benchmark.
...
Former-commit-id: 799ae05e5180ee87bb2a5249be3e442ed0425ef7
2013-03-04 01:40:55 -08:00
John-David Dalton
9f19c302d8
Cleanup _.bind benchmarks and add chaining benchmarks. [ci skip]
...
Former-commit-id: 9198c34679709610a440f71856a3869eaa83090e
2013-03-04 00:43:02 -08:00
John-David Dalton
87b1ac776f
Remove extraneous spaces from non-minified builds.
...
Former-commit-id: ec8e18d00884cab96031c061ed32002f41edc0e5
2013-03-03 23:29:54 -08:00
John-David Dalton
41e401b05e
Add callback and thisArg arguments to _.flatten. [ closes #204 ]
...
Former-commit-id: 166d6af35c3905c87498ee74abd143f6fdba451d
2013-03-03 23:26:28 -08:00
John-David Dalton
d88da3589d
Update docs and builds.
...
Former-commit-id: 1f7bfb21276f1c871f4e6ce8a6bf168784509994
2013-03-03 20:12:06 -08:00
John-David Dalton
9638c393bb
Expose createCallback.
...
Former-commit-id: d0c0b02a68e33a2bf220a1605a6fe62eb4a11a83
2013-03-03 19:46:27 -08:00
John-David Dalton
9961ddc2a8
Ensure callback shorthands work with _.uniq. [\ht @jden, @motowilliams]
...
Former-commit-id: d9a0e688414edc4167b5f8e9ca123bab587f8264
2013-03-03 14:40:15 -08:00
John-David Dalton
2d40dfd8d4
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: e3d0b12d132d3eee4490575e5b18beb8faaf69c6
2013-03-03 13:46:57 -08:00
John-David Dalton
99c9bdf71d
Fix misspellings in the docs.
...
Former-commit-id: 5c318a9fd6b624dbd9befb314644cb7967dc4fe9
2013-03-03 13:46:45 -08:00
John-David Dalton
4fcd25ec88
Merge pull request #202 from drewish/master
...
Fixing some misspellings.
Former-commit-id: 5315bcc098e909972d93312cf8c14889d17efef0
2013-03-03 13:44:10 -08:00
John-David Dalton
440218da67
Fix build.
...
Former-commit-id: 9d57351081959276735f8f3df81ecde71c4b9344
2013-03-03 13:36:10 -08:00
andrew morton
fefdb9fc8d
Fix some misspellings in the docs.
...
Former-commit-id: 38ec1d19f1e5ea1fbb05306e5b5cfc9fac550562
2013-03-03 13:08:01 -08:00
John-David Dalton
21a0eff593
Fix build, and rebuild files & docs.
...
Former-commit-id: af57dd1de6b20e93caa79f05cb9b43647a1de578
2013-03-03 01:37:33 -08:00
John-David Dalton
8825a094ae
Use native Object.create when available, optimize the creation of lodash instances, and ensure methods like forEach return the existing wrapper object when chaining, instead of creating a new one.
...
Former-commit-id: fa9ec371ba23ce8c35c15a66dd9b1f09f183b3a9
2013-03-03 01:21:19 -08:00
John-David Dalton
aa49ce5c56
Tweak platform placement in test.js and runner.
...
Former-commit-id: a261884dfda6f046431007bef6d9fe109fb1d887
2013-03-02 20:48:42 -08:00
John-David Dalton
1522d3385d
Rename _.object to _.zipObject and make _.object an alias of _.zipObject.
...
Former-commit-id: 7ae3c9d8be32b1430945ffeafc20c740f1d7f409
2013-03-02 20:48:04 -08:00
John-David Dalton
510c41440a
Rebuild docs and files.
...
Former-commit-id: ae6f8f4117b7baab2a47e7c8302edc1fa8dfdb07
2013-03-01 00:39:02 -08:00
John-David Dalton
aa0c34ba1c
If _.cloneDeep callback result is not undefined then return the result instead of going deeper.
...
Former-commit-id: 6a0588dbe158211061ec88badf4d4e3b89b02aa5
2013-03-01 00:36:19 -08:00
John-David Dalton
af87e6ef62
Correct _.cloneDeep docs.
...
Former-commit-id: 93849f67b49fbba0d91ea8693a4d0b324f55352c
2013-03-01 00:24:48 -08:00
John-David Dalton
30291ce6e6
Make setting context work in older ES3 environments that will use values, named after built-in constructors, for the creation of literals.
...
Former-commit-id: 981139db2a30f9c69d3e616021f697b8403dee26
2013-02-28 20:34:14 -08:00
John-David Dalton
890c2eb564
Remove unneeded contextProp value.
...
Former-commit-id: f73bf05faece643fea8b1b67edfa240ba47beec5
2013-02-28 03:26:02 -08:00
John-David Dalton
67a269b89c
Update builds and docs.
...
Former-commit-id: 57709d874ed5b6855daf536c2a0977738665c3c1
2013-02-28 02:53:09 -08:00
John-David Dalton
4b9ee81a78
Adjust build for renamed variables and _.runInContext dependencies, and cleanup build.js and build/pre-compile.js.
...
Former-commit-id: 0d813bc111617e9b8cd922b505ec8c90ce09063b
2013-02-28 02:51:43 -08:00
John-David Dalton
4343f4d229
Tweak _.parseInt docs.
...
Former-commit-id: 960256bab36fbecb8aa06679c10d8033e2013de2
2013-02-28 02:49:54 -08:00
John-David Dalton
2162baa6c0
Add contextProps to make _.runInContext work in older IEs.
...
Former-commit-id: 208f25296d35ed29a283fb1598de0052a5a2703d
2013-02-28 02:49:26 -08:00
John-David Dalton
7e7f792710
Add _.parseInt and _.runInContext to the underscore build tests.
...
Former-commit-id: a5f8d936e912d0bd53f689d23c3393731fe97f47
2013-02-28 02:48:11 -08:00
John-David Dalton
1bbd9e24b0
Fix and cleanup [[DontEnum]] unit test.
...
Former-commit-id: 9e47eeb03c88a52d2e1d6dd2c0373c2df2f576fe
2013-02-28 02:47:14 -08:00
John-David Dalton
6435aaa64f
Ensure the exports object is not a DOM element. [ closes #197 ]
...
Former-commit-id: 3adb679f7f4d7a64e0bc37ed80a443c211a17510
2013-02-27 09:10:13 -08:00
John-David Dalton
999aae0a33
Add _.parseInt.
...
Former-commit-id: 0c0f10af3dc50a4d1b684523f19d02e423d738f5
2013-02-27 08:54:15 -08:00
John-David Dalton
ba795639b4
Fix iife build tests.
...
Former-commit-id: 0fa103c21297672c018d66fba16ef376d3599b41
2013-02-27 02:17:19 -08:00
John-David Dalton
4c4b205721
Use setImmediate reference of the context object.
...
Former-commit-id: 28c11df25ceb1a414caaa61eaee54fae27a2ff03
2013-02-27 01:15:59 -08:00
John-David Dalton
b3c550b7c0
Make _.runInContext not require a fully populated context object.
...
Former-commit-id: 11bf3cad2bfd3e922e7701eb7b0f48028f522ba6
2013-02-27 01:03:45 -08:00
John-David Dalton
eb8953e784
Remove isJSC in mobile and underscore builds. [ closes #196 ]
...
Former-commit-id: 77ddbbcfcf17b5074a7fba137dc426f20a6ab5dd
2013-02-26 21:08:35 -08:00
John-David Dalton
b88b292d5d
Fix lodash.underscore usage example in README.md. [ci skip] [ closes #194 ]
...
Former-commit-id: 5df59e98d58dc13eeff1ff9a4a76c7ef6811a0a7
2013-02-25 21:59:05 -08:00
John-David Dalton
5f42c3b319
Add rhino -require to the run-test.sh.
...
Former-commit-id: 105f76b6058b8a1493d1a56716df7f22391e4bdd
2013-02-24 22:51:11 -08:00
John-David Dalton
5b27ae0371
Cleanup comments in various source files.
...
Former-commit-id: 02e8223692e4678e78a0eadc4ffaed3e27b5a49f
2013-02-24 22:50:10 -08:00
John-David Dalton
f26b1da1b5
Simplify build/mkdirp-sync.js.
...
Former-commit-id: b49bbea9e565dbf1d23f601af74443b33fe9fc7d
2013-02-24 17:49:47 -08:00
John-David Dalton
7a853e2dcb
Update vendors.
...
Former-commit-id: 92fe8e8ceacd0993fadd35c5feffddcbe319d6c7
2013-02-24 15:35:56 -08:00
John-David Dalton
9b22748bd0
Cleanup perf/perf.js and test/test.js.
...
Former-commit-id: fba43c75aa25227e771a3cdd0cce0ee8ee9cdba6
2013-02-24 15:25:56 -08:00
John-David Dalton
c1e9dd3373
Ensure relative paths work with --output and template=… build options.
...
Former-commit-id: 2447466a006dc8d968969bba70a0e44f91610154
2013-02-24 11:40:56 -08:00
John-David Dalton
8cbbc47043
Ensure all temp folders made during the --output build tests are removed.
...
Former-commit-id: d5c98deebd879f594aac73d4b835c97516ee4e89
2013-02-24 09:48:33 -08:00
John-David Dalton
81b3567133
Add path.sep for older versions of Node.js.
...
Former-commit-id: 1a058681fc5c6aae426902a7d6dd76b3a5849837
2013-02-24 09:29:23 -08:00
John-David Dalton
fc6568f390
Cleanup build tests and inline _.mixin when it's removed to preserve chaining behavior.
...
Former-commit-id: ed24a9acfabb70fb7093479a5c3484d966cbc5bb
2013-02-24 03:05:49 -08:00
John-David Dalton
8e30fe2946
Fix build.
...
Former-commit-id: 41b9584b63962a71f146c61fda056d15a2be4e14
2013-02-24 01:54:35 -08:00
John-David Dalton
6c811a3261
Move mkdir -p functionality to its own module and cleanup --output build tests.
...
Former-commit-id: b7ea2a41c60357e780e10bd3d665db3d50e7f044
2013-02-24 01:24:47 -08:00
John-David Dalton
afbe5aa540
Merge pull request #192 from phated/master
...
Implement `mkdir -p` for `--output` build option.
Former-commit-id: cb7a6753d15f495a1ab8b0016edd34d5626727de
2013-02-23 22:55:18 -08:00
John-David Dalton
324afd2d6c
Add doc not for chaining support in custom builds and tweak support rules in build.js. [ closes #193 ]
...
Former-commit-id: c87f6bfe28f00d9228f4112463635d555e138a41
2013-02-23 22:52:21 -08:00
John-David Dalton
58d94ef61e
Clarify docs for callback use in _.first, _.initial, _.last, and _.rest. [ci skip] [ closes #189 ]
...
Former-commit-id: 12ee5f957fa67e93e40630e627d90b9aaa7eff37
2013-02-23 21:49:02 -08:00
John-David Dalton
39974b0982
Make optionsToArray remove falsey values.
...
Former-commit-id: 5c82f8ab92f67bd35030320fae06811dbb8f442b
2013-02-23 20:30:14 -08:00
John-David Dalton
323d7306e2
Add QUnit.config.noglobals to build tests.
...
Former-commit-id: 4519f5322a51632ce23dc4c574365472338a18e0
2013-02-23 20:29:23 -08:00
John-David Dalton
251e228ce4
Remove isFunction fallback from modern builds
...
Former-commit-id: 21f51b3041b60136bb07ca775abfe91df7687639
2013-02-23 19:07:19 -08:00
Blaine Bublitz
a99f3f217a
really basic version of mkdir -p for -o option
...
Former-commit-id: 0fb635efd2043ee901c4f4eae7c6670d5b44a068
2013-02-23 19:37:46 -07:00
John-David Dalton
e2acbee113
Adjust iife build test and add strict build tests.
...
Former-commit-id: 1422311e7c7106e7def75b7b75800975c59127ff
2013-02-23 16:19:52 -08:00
John-David Dalton
37b69eddf2
Tweak detection of the Node.js executable in command-line arguments.
...
Former-commit-id: 74047748237f8defe36aea2a27e54ac72a648c93
2013-02-23 15:58:43 -08:00
John-David Dalton
f0322e6f2c
Rebuild files, adding lodash.legacy and lodash.mobile builds, and update docs. [ closes #190 ]
...
Former-commit-id: 6167b81d8baf1e491b8cbb3e3c68c01ae6ddd865
2013-02-23 14:56:50 -08:00
John-David Dalton
756587d080
Remove undefined from the IIFE to allow easier customizations with the iife build option.
...
Former-commit-id: a496b1fba74fdab3b2819d27b769371f73364684
2013-02-23 14:08:48 -08:00
John-David Dalton
1ad2c92324
Fix lodash underscore build.
...
Former-commit-id: 017208b28865b10b068ba4ae5e4a7baa9c01a80f
2013-02-22 03:33:15 -08:00
John-David Dalton
e5433adf78
Rebuild files and docs.
...
Former-commit-id: 1a834e5811525e9fb99def149cb4c455b3d4367d
2013-02-22 02:02:51 -08:00
John-David Dalton
ed765f75d8
Fix alais -> alias typo in README.md.
...
Former-commit-id: 7c919c834f729d03d26c0b3eb14203585099333b
2013-02-22 02:01:36 -08:00
John-David Dalton
4136f1b377
Fix build indenting.
...
Former-commit-id: 87a7793799ee3ed28fe67cb894aa2876be103c50
2013-02-22 02:00:42 -08:00
John-David Dalton
860339b90e
Fix failing tests in Narwhal.
...
Former-commit-id: 986262a14784d94f616663724e52d11a0e11a56d
2013-02-21 23:33:23 -08:00
John-David Dalton
03254a0c0f
Make isKeysFast true for Firefox too.
...
Former-commit-id: cf14455782375eccc4c32c5bfca41c3f918db2e8
2013-02-21 23:19:26 -08:00
John-David Dalton
a76081c979
Add require call to compiled templates.
...
Former-commit-id: 3d97f6cc71a3c7e6ac9b12cc876ace4790efbae8
2013-02-21 22:08:09 -08:00
John-David Dalton
71a207079f
Update vendors.
...
Former-commit-id: 25cce48fee2dfb010eb6a9c2e4235890f20b19aa
2013-02-21 08:40:09 -08:00
John-David Dalton
f6e724c4c5
Update build to work with _.runInContext.
...
Former-commit-id: da4a9da0e2c74bbcbd142c077794486d0ac45835
2013-02-21 08:39:25 -08:00
John-David Dalton
4251b36b25
Add _.runInContext.
...
Former-commit-id: f427f7d4704fb1b6af578b095e417ee25ca029e7
2013-02-21 00:47:19 -08:00
John-David Dalton
b8f39cbfdf
Cleanup _.template comments.
...
Former-commit-id: cff1c86d3a7e9c5ee32e00762ce522690726ef09
2013-02-19 08:08:31 -08:00
John-David Dalton
088c621862
Tweak _.defer and _.delay docs. [ci skip]
...
Former-commit-id: 921eec8f2e8e7701f14095d221a5e72a2c45f470
2013-02-19 01:53:21 -08:00
John-David Dalton
2459a53350
Bump to v1.0.1.
...
Former-commit-id: b2536f9a226c7418ad3aaa7b5fb88282b77d20e5
2013-02-18 02:13:39 -08:00
John-David Dalton
7093e9c0d4
Add PhantomJS not to CONTRIBUTING.md.
...
Former-commit-id: e7c81af0fb6e1ede8f89d50ffdc5ec671e124252
2013-02-17 23:54:19 -08:00
John-David Dalton
4bc49978d1
Avoid using setImmediate in IE because it cannot be cleared with clearTimeout.
...
Former-commit-id: 836d49c6440b2313f1885456645ed4a00ab82ae6
2013-02-17 23:45:26 -08:00
John-David Dalton
96bac9c149
Add legacy underscore build test.
...
Former-commit-id: f56e254f7c2fb4c4adeac16b56c789dd8af8a986
2013-02-17 20:44:28 -08:00
John-David Dalton
8dcc15f4d3
Ensure setImmediate is not minified by the Closure Compiler.
...
Former-commit-id: 74c121d45854dba2aaaa65558c3e1ca8effd3096
2013-02-17 18:15:41 -08:00
John-David Dalton
8183740c04
Update vendors.
...
Former-commit-id: 6ab66f9ea6fd881e8c5ed18e84b9a24656496e10
2013-02-17 16:38:23 -08:00
John-David Dalton
25e4231d7b
Update _.defer build dependencies.
...
Former-commit-id: 159f541373b01f259c9509e16c3fc0c2018e6d51
2013-02-17 16:13:42 -08:00
John-David Dalton
3ed9e0e905
Add support for specifying a source map URL in the to the -p/--source-map build options.
...
Former-commit-id: 2098da69d7902497e2e67210d778b8f99a5ff8f0
2013-02-17 16:02:53 -08:00
John-David Dalton
45bec0c440
Remove setImmediate use in the lodash legacy build and cleanup patterns.
...
Former-commit-id: a3c942e3545c278b7cac2112ed1a5417212048d9
2013-02-17 14:30:22 -08:00
John-David Dalton
5133e39d45
Make _.defer use setImmediate if available.
...
Former-commit-id: b3898d78725a4b203856916b1b071ab9c6f40b83
2013-02-17 14:29:40 -08:00
John-David Dalton
cb3b4e446e
Ensure _.isEqual returns boolean values even if callback doesn't.
...
Former-commit-id: b2c31ee1711a436e5400c8e80c9f54a9680301b7
2013-02-17 10:41:05 -08:00
John-David Dalton
9829a2f3b4
Rebuild files.
...
Former-commit-id: c381088f55093f25067d0284319975c868e6e3bf
2013-02-16 23:18:05 -08:00
John-David Dalton
7eadf11145
Optimize the ES6 template delimiter regexp and regexp to detect strings.
...
Former-commit-id: 6177f2b32f27515cf8edcac6036d0adb58ebfcd0
2013-02-16 23:17:17 -08:00
John-David Dalton
2a2bc44f43
Make _.where search arrays for values.
...
Former-commit-id: b942c6a44680c78fae1a41f2cf994be09ffcfbb9
2013-02-16 00:39:45 -08:00
John-David Dalton
9ccfa5cec9
Convert map files via JSON.parse instead of using string manipulation in minify.js.
...
Former-commit-id: 185b77d45995f17c586f35d6ad447074d677a6ae
2013-02-15 08:58:20 -08:00
John-David Dalton
02687f3c78
Ensure the second argument passed to _.assign is not treated as a callback. [ closes #184 ]
...
Former-commit-id: 1254e11ab02d1d5055c08400cd0a4786ed71aef2
2013-02-15 08:11:19 -08:00
John-David Dalton
7ea7a6cbb1
Automatically set a source map's "sources" key based on the build performed.
...
Former-commit-id: c02c88dfd1db097a3f98113ee57c3da850da5abb
2013-02-15 00:23:03 -08:00
John-David Dalton
a15a28fe5b
Add -p and --source-map unit tests.
...
Former-commit-id: c7416ca507ce9376adb31e91a294e2e40073788c
2013-02-14 20:47:23 -08:00
Kit Cambridge
265dedfae1
Fix typo that caused sourceMappingURL to be undefined in source map builds.
...
Former-commit-id: ff3b22a7965c15a1ae072f8e9d51009e095ec443
2013-02-14 17:36:43 -08:00
John-David Dalton
5ddbb8bc56
Remove unneeded __d variable from _.template.
...
Former-commit-id: 4ff32444d7e96f8b9cc39e61c1ce17fb34fa357c
2013-02-14 09:21:06 -08:00
John-David Dalton
4101b8e937
Remove reInsertVariable cleanup in build/pre-compile.js.
...
Former-commit-id: 1fa75107e8c43362b57021292e26397145e62e39
2013-02-14 09:03:47 -08:00
John-David Dalton
56b6d50479
Tweak _.at docs.
...
Former-commit-id: 505e34b0a151287d78da73a1140d4aefdf45b43b
2013-02-14 09:03:06 -08:00
John-David Dalton
506f585d78
Bump to v1.0.0.
...
Former-commit-id: 623103d8c34c2e3c260c481da83cb94c888402d3
2013-02-14 08:58:11 -08:00
John-David Dalton
577dfb7220
Make Jam package use the compat build by default.
...
Former-commit-id: 8c371e59bd4796cfe42d0e0d9d07b85372b6d5b1
2013-02-13 23:48:13 -08:00
John-David Dalton
7e4286adde
Add another unit test for precompiled templates with AMD support.
...
Former-commit-id: 68d1b7b0aa8cd8b1d4b27a9374095b8cebbfb386
2013-02-13 20:06:34 -08:00
John-David Dalton
1090228628
Add _.groupBy test for passing numbers for the callback argument.
...
Former-commit-id: 6ce29f81f8688495a8a756e464b32e9e825c7857
2013-02-13 19:54:39 -08:00
John-David Dalton
aeea861b73
Tweak docs for "_.pluck" and "_.where" style callbacks.
...
Former-commit-id: 8ee7906ac1839c2675a5e82749c9a2c86cf6f49a
2013-02-13 19:50:59 -08:00
John-David Dalton
997c43bbdd
Add _.extend and _.defaults underscore build tests.
...
Former-commit-id: f9244ddd7c81f65d2f0a01a18fa6e821e8f2705b
2013-02-13 02:49:12 -08:00
John-David Dalton
958d4dbd2e
Remove more unused variables in debug builds.
...
Former-commit-id: dd50d5d0b855a85ca8099d92288f2ca621a532fa
2013-02-13 01:52:12 -08:00
John-David Dalton
f2b350eb62
Change _.defaults to not overwrite null values.
...
Former-commit-id: 4a85aefc3eaf2180fb0e8cd0f6efb1524a9d7caa
2013-02-13 01:51:15 -08:00
John-David Dalton
a3464780a1
Add "customization callback" support to _.assign.
...
Former-commit-id: 5f0c7b72942ba0c40960072b11936f0683909043
2013-02-13 01:17:51 -08:00
John-David Dalton
fe1eb92196
Ensure _.first, _.initial, _.last, and _.rest work with string and objects for callback.
...
Former-commit-id: f587a5d11164c1c6fa050feccfb05956fd82a0d0
2013-02-12 08:45:10 -08:00
John-David Dalton
0b2d26ec92
Simplify AMD checks in test/test.js.
...
Former-commit-id: db2f72020e6171f30770c7ecc7caf1619b78ac88
2013-02-12 00:33:09 -08:00
John-David Dalton
8024a25f2b
Update vendors.
...
Former-commit-id: aff34ccd5d3c6e3e78aeb5832e694171fca35412
2013-02-12 00:24:55 -08:00
John-David Dalton
d287ecbb34
Remove unused snippet from pre-compile.js.
...
Former-commit-id: d52c35eed1ccd611f728febfca5b5154440e9fb0
2013-02-12 00:24:37 -08:00
John-David Dalton
d9c95e7730
Escape } in regexes used in lodash.js. [ closes #179 ]
...
Former-commit-id: 7b4687f3967079e19025fccc3f54b7fc5fcc4ff9
2013-02-12 00:24:08 -08:00
John-David Dalton
c3b1af31ce
Add PhantomJS to .travis.yml.
...
Former-commit-id: 82ea6081046ee285538876572e5a42547ffffa61
2013-02-11 08:51:58 -08:00
John-David Dalton
465576b5cb
Update vendors.
...
Former-commit-id: 4ffc3f5b267f8fdf1ac074f9f9ab44b0a7c4c3dd
2013-02-10 23:51:46 -08:00
John-David Dalton
9ecbcd0075
Update vendor/qunit-clib and tests to work with Ringo 0.9 and PhantomJS.
...
Former-commit-id: e6906e4b9f6afdee598902d6939356bf33302909
2013-02-10 23:42:09 -08:00
John-David Dalton
c1f62d72ae
Ensure the csp build is an alias of the mobile.
...
Former-commit-id: defb0a7d28cb3ff9d799dcbaceef3175f78531e9
2013-02-10 01:14:49 -08:00
John-David Dalton
1b27834c41
Move _.isArguments fallback noArgsClass work into removeNoArgsClass in build.js.
...
Former-commit-id: 3627e59c65b67a61fc5ee04166004e400d816d13
2013-02-09 19:36:10 -08:00
John-David Dalton
77804907b6
Make whereIndicator check strict and make the _.where deep object comparison unit test deeper.
...
Former-commit-id: b9c59ff56b3ab7acd519888407de5dd02d6475cf
2013-02-09 10:10:36 -08:00
John-David Dalton
9dfa2609be
Cleanup _.isEqual.
...
Former-commit-id: 83dd17b62fc86b870ca44aa4a54387343fd14cb2
2013-02-08 22:47:43 -08:00
John-David Dalton
8ffb3ab3c4
Simplify _.unescape unit test.
...
Former-commit-id: 113ee8e94a5a6a7d72b4e39672c60d67342def49
2013-02-08 19:04:02 -08:00
John-David Dalton
65e1da34fa
Add custom build header comment to builds when only using --output.
...
Former-commit-id: adef2798bd590c0dc0c14b253f0d450ec5bb5394
2013-02-08 16:57:46 -08:00
John-David Dalton
282110807c
Merge pull request #175 from timmywil/single_quote
...
_.escape("'") => ' hex escaped not recognized by some html parsers
Former-commit-id: 0e55d8994a1919f5d5dd5806732cbe4711dae22a
2013-02-08 12:46:49 -08:00
Timmy Willison
25e5f43d1c
Add lodash.compat builds
...
Former-commit-id: 5edfef23bb5d55c8efaf21a1cb345dc2b0d9488b
2013-02-08 15:45:08 -05:00
Timmy Willison
ce0441694d
Escape single quote with numerical html character code rather than hex.
...
Former-commit-id: aef76d2662a065affc21ff735de526a177b50546
2013-02-08 14:54:12 -05:00
John-David Dalton
db29699927
Reduced _.pluck.
...
Former-commit-id: e413c1a6d0df383cb1ca51ab2203d3e380f71177
2013-02-08 08:42:04 -08:00
John-David Dalton
9a4e2d7617
Reduce the travis-ci time limit by 5 seconds.
...
Former-commit-id: 9653f4fee2bbfd8d77a228504795f3ef13df92dc
2013-02-08 08:13:57 -08:00
John-David Dalton
fbf64585b7
Fix --output build unit test.
...
Former-commit-id: fafafe88dfec9d777418c9eb95a7643c0061ee23
2013-02-08 07:18:55 -08:00
John-David Dalton
6d1c6dfd16
Update test and perf scripts.
...
Former-commit-id: 434935e332ec03dfd370efcd191b3f9aff5a9387
2013-02-08 00:58:26 -08:00
John-David Dalton
e78df4d981
Create a debug build if --output is passed.
...
Former-commit-id: 7571d238cf00fd9a7c72f65313e3807483067ace
2013-02-07 23:36:09 -08:00
John-David Dalton
a757b4d5dc
Tweak docs for _.cloneDeep, _.bindAll, _.reduce, and _.sortBy.
...
Former-commit-id: a5d73e6ef174a743e05c0ef85414b899deea7815
2013-02-07 23:35:34 -08:00
John-David Dalton
d28036ee91
Add another _.size string value unit test.
...
Former-commit-id: 01c3bc51259c04a04f07d0e60398a0b2aa781641
2013-02-06 08:42:22 -08:00
John-David Dalton
d2ba0d4e7a
Ensure _.merge doesn't iterate over a passed callback arg.
...
Former-commit-id: 2ed55922c2f5b4e47ac7e9763f3d76b4bec142da
2013-02-06 00:38:28 -08:00
John-David Dalton
5787436177
Don't remove nonEnumArgs fixes for mobile builds and cleanup debug builds.
...
Former-commit-id: b1fbb7ed362d0c94a92e4b12e0385c77973654b3
2013-02-05 22:54:18 -08:00
John-David Dalton
f5ab24b8d2
Fix legacy build.
...
Former-commit-id: 27bbe3ec6e025185daf73f9589e034e82097c313
2013-02-05 01:05:45 -08:00
John-David Dalton
05c0f32a24
Rebuild docs and files.
...
Former-commit-id: daf0b29cbcca43d7fa975e1ddb52f8c8b58cb31f
2013-02-04 23:56:57 -08:00
John-David Dalton
7b918f77a9
Clarify browsers affected by nonEnumArgs and reduce code around hasEnumPrototype.
...
Former-commit-id: 587f755332accbca26dc1eb357a66d4f898aad88
2013-02-04 23:55:52 -08:00
John-David Dalton
d87929d61c
Remove "use strict" directive from the "modern" builds.
...
Former-commit-id: 7d1d5dd8cb91deb51fbdf7cfda04f3e49c96c204
2013-02-04 23:55:38 -08:00
John-David Dalton
a926829c33
Add _.bindAll unit test for passing just object.
...
Former-commit-id: 62f90c1dc7429610fb4bfaec3c5bb64d5a63dc9e
2013-02-04 08:36:15 -08:00
John-David Dalton
d58e366c40
Update docs and rebuild files.
...
Former-commit-id: 6265fed04ac7d6da6c6ded82095c22c1a60d9193
2013-02-04 01:21:22 -08:00
John-David Dalton
0fb4f7e1c4
Simplify _.where but don't make it an official alias of _.filter.
...
Former-commit-id: 794ab4eb814e8872443e282beb32cc636dedc43a
2013-02-04 00:55:12 -08:00
John-David Dalton
6ee606e3e2
Fix failing unit test in older IE.
...
Former-commit-id: 2de10b6bc3b9720a14fba86d9fe2638b30a7d0ef
2013-02-03 21:43:17 -08:00
John-David Dalton
22d4a7690f
Make Closure Compiler bug fix to work with !1.
...
Former-commit-id: 2d82a0a8d71d8fc3907bf5f71b5ab41ed4142c04
2013-02-03 21:42:06 -08:00
John-David Dalton
f3a2f5018a
Update vendor/uglifyjs.
...
Former-commit-id: 36cfce5048198ccb9f0a24a9021742afe60316b5
2013-02-03 01:48:11 -08:00
John-David Dalton
d2a7589f7c
Fix failing build test and add another build test.
...
Former-commit-id: dccae3f43f55dda764750880e37c5e0682f32095
2013-02-03 01:23:40 -08:00
John-David Dalton
f87b4e04f1
Update test configs and move builds.
...
Former-commit-id: dc14112821f14101f107f90e9aeb5abec55b18a6
2013-02-02 19:33:29 -08:00
John-David Dalton
b5aa4c1f0c
Add modern build option.
...
Former-commit-id: 4d8c791f8024eefec40c17b6efb708d989e78f34
2013-02-02 19:22:40 -08:00
John-David Dalton
0c1eb6d288
Update npm test. [ci skip]
...
Former-commit-id: f28a9229e700648926b933e3bc9d9ce371b9c556
2013-02-02 01:18:57 -08:00
John-David Dalton
8a03c5f998
Make travis-ci tests go right up to the max run time.
...
Former-commit-id: 15124a63d530c416ad1974898b7c1e3ee53c58a6
2013-02-02 01:14:06 -08:00
John-David Dalton
60aa50ae45
Add env and script to .travis.yml.
...
Former-commit-id: 700479d45f2c0683a877bddc15cd33d804aec00a
2013-02-02 00:16:11 -08:00
John-David Dalton
aae6bbbb66
Ensure build tests pass the correct exit code when their time limit is hit.
...
Former-commit-id: ead1bcc0448a639d5310ceb63e2efcf81e64a0c3
2013-02-01 23:41:44 -08:00
John-David Dalton
5ca903c428
Remove unnecessary _.template benchmarks.
...
Former-commit-id: ba9af8212673c7dfa109cb1e3f33bafec068dcdf
2013-02-01 23:20:16 -08:00
John-David Dalton
e86b07f760
Add node_js 0.8 back to .travis.yml now that they've fixed their issues.
...
Former-commit-id: 480cb02695ca5e3290bc9bf95f61e098b79ce988
2013-02-01 09:30:34 -08:00
John-David Dalton
d7fea5dc78
Update lodash underscore build _.findWhere to follow v1.4.4 null behavior.
...
Former-commit-id: 7b6ce7e9d7cf032171f43835bbf907cf3ffeb908
2013-02-01 09:29:56 -08:00
John-David Dalton
c1eff5aebb
Cleanup comment blocks explaining old browser bugs.
...
Former-commit-id: e420cc9237565da01f60ed204fb6767bbe2cb9b4
2013-02-01 01:36:16 -08:00
John-David Dalton
f2dc490d6f
Cleanup docs for _.omit, _.every, and _.template.
...
Former-commit-id: a2810a5db94ef1de4bb530a56b0f9f121688de05
2013-02-01 01:31:08 -08:00
John-David Dalton
b296e1b340
Add _.isNumber unit test for Firefox [xpconnect wrapped native prototype] issues.
...
Former-commit-id: d81b0bb7807139d14796c2a952294d1fd581f73a
2013-02-01 01:25:10 -08:00
John-David Dalton
8adb060edb
Add hasEnumPrototype to avoid including the fix if not needed.
...
Former-commit-id: f826b725180a95d41b66612919c8b3fddfe568a0
2013-02-01 01:24:34 -08:00
John-David Dalton
c3b984fea7
Make callback behavior consistent for _.clone, _.cloneDeep, _.isEqual, and _.merge and add more doc examples.
...
Former-commit-id: 7a53ea18e4512dfcab5649c937db0f90d7649373
2013-01-31 00:28:47 -08:00
John-David Dalton
afbb2c338b
Add _.findWhere benchmark and removenew bound benchmark.
...
Former-commit-id: baef485421cf6419450e3bc2a14f36e7e7c437c3
2013-01-30 08:58:55 -08:00
John-David Dalton
6632241ab5
Ensure the lodash underscore version of _.result matches v1.4.4 behavior.
...
Former-commit-id: c4c1946e49f12ddc4ba2f0f65a9ef7c9727d79ca
2013-01-30 08:57:28 -08:00
John-David Dalton
be50df81db
Update builds and docs.
...
Former-commit-id: c0e38666fb1aee210c3dbd6401b040d8a2bee23d
2013-01-30 01:27:10 -08:00
John-David Dalton
9763b6e2cf
Update build to add _.findWhere as an alias of _.find for the underscore build.
...
Former-commit-id: 0b772c30749c9af6ddc20b7b786f282ea93b63ce
2013-01-30 00:39:33 -08:00
John-David Dalton
812b848daf
Update tests to work with QUnit v1.11.0.
...
Former-commit-id: ce6d6fb1756eb606e8106ac7e93816dffb48624e
2013-01-30 00:38:31 -08:00
John-David Dalton
4907a7389f
Fix test.js for browsers.
...
Former-commit-id: e334ab595fa78a59b8371b755ce8dc54706a6630
2013-01-29 22:59:09 -08:00
John-David Dalton
17dff36b65
Update vendors.
...
Former-commit-id: 55a30b9cbfe7c513dd13d709aa4552fe715c262b
2013-01-29 22:43:56 -08:00
John-David Dalton
904921d8c4
Add a --time-limit option to test-build.js so travis-ci can complete its test runs.
...
Former-commit-id: 742b17208d6c9316efea33c106e7689b9290f48d
2013-01-28 23:34:27 -08:00
John-David Dalton
ac4c075d32
Add support for loading different Lo-Dash builds in test.js for Narwhal, Rhino, and Ringo.
...
Former-commit-id: 936b2f246540b2456c78a6087266ba9d39f48f91
2013-01-28 23:31:52 -08:00
John-David Dalton
ddde64ece9
Add lodash.min.js support to test.js.
...
Former-commit-id: c5c6cc47631752862c8f7b3b0f3d7b004493c01b
2013-01-28 21:12:06 -08:00
John-David Dalton
91c097e88d
Cleanup unit tests and tests for _.clone, _.cloneDeep, and _.isEqual support of callback and thisArg arguments.
...
Former-commit-id: a53b5f4295cfc3e2f06ebed878c7c876acd64e6a
2013-01-27 23:34:18 -08:00
John-David Dalton
894658a3f5
Add underscore build replacement for _.isEqual and ensure legacy cannot be used with backbone or underscore commands.
...
Former-commit-id: 09340411bf3c4a0e4432d9b134b0aefb1f19183e
2013-01-27 23:32:21 -08:00
John-David Dalton
a4454ea5f9
Simplify regexp that escapes special regexp characters for reNative, and add callback and thisArg arguments to _.clone, _.cloneDeep, and _.isEqual.
...
Former-commit-id: 86715543147d2965a562016cf0b08f945fa38fe6
2013-01-27 23:29:38 -08:00
John-David Dalton
8ea8fa3a8a
Add deep comparison note to the _.where docs. [ci skip]
...
Former-commit-id: 223d3a45832238b9ce39d4321636b971abde9b46
2013-01-27 15:12:20 -08:00
John-David Dalton
7480603295
Simplify regexp that escapes regexp special characters.
...
Former-commit-id: dde89b0f7d9cd31768eecd4ef92c0ae9d1b5d581
2013-01-27 14:57:32 -08:00
John-David Dalton
079b749d5d
Add more _.isEqual benchmarks.
...
Former-commit-id: e0eee615e593eb9be627da52be158bf7b590fd2a
2013-01-27 11:24:55 -08:00
John-David Dalton
4815600e85
Continue dependency map tweaking, and simplify how _.isArguments is handled in the underscore build.
...
Former-commit-id: 568887e067d6463f102b3b866195f3a173fc6d4f
2013-01-27 11:23:02 -08:00
John-David Dalton
1c63e2d295
Update method dependencies and add more mobile and underscore build tests.
...
Former-commit-id: fa10d8c7bef9700ec59e4e38e730e0ad4963d812
2013-01-27 03:06:24 -08:00
John-David Dalton
cf13eca58c
Cleanup deep _.clone and _.where unit tests.
...
Former-commit-id: b7106461640259ca3bf60c1fabb91b59b241e35f
2013-01-27 02:39:18 -08:00
John-David Dalton
3cf4607870
Add support for deep clone via _.clone(object, true) back.
...
Former-commit-id: cc9b6bb81848b6a98d6f413485845e2e0407e3ac
2013-01-27 02:38:43 -08:00
John-David Dalton
23c3ba6ad7
Ensure _.where works correctly for nested properties and give indicator arguments more meaningful names.
...
Former-commit-id: c35e2817125cd852a66066ccdef44bcc40c93e61
2013-01-26 23:47:47 -08:00
John-David Dalton
17fc3c2317
Reduce doc examples, simplify iteratorTemplate, remove deep argument support from _.clone, and ensure _.merge and _.pick exit early for non-objects.
...
Former-commit-id: d3fbd9a8ff9cd0c8201beb7180e3e7190e2a7cf8
2013-01-26 20:37:26 -08:00
John-David Dalton
af234cbe54
Finish renaming iteratee to iterable. [ closes #170 ]
...
Former-commit-id: 0ac6cecaec0a779cb29c21b5fc3caa90c84479eb
2013-01-25 20:10:53 -08:00
John-David Dalton
c8517c0ec9
Merge pull request #170 from paulmillr/topics/iteratee
...
Fix naming: use “iterable” instead of “iteratee”.
Former-commit-id: 199757631f0c941898e1dcb8f5ae9f9d8c517337
2013-01-25 19:40:13 -08:00
Paul Miller
20b226454b
Use “iterable” instead of “iteratee”.
...
Iteratee is a monad that provides functional way of handling I/O,
when iterable is a representation of series of elements that can be iterated over.
Former-commit-id: 94e58614ba9c2ebdd2aad1848a8b4d0ceef55023
2013-01-26 03:21:41 +02:00
John-David Dalton
98eccf223a
Simplify null/undefined check in _.isEqual and edit _.cloneDeep docs.
...
Former-commit-id: 62455ba83df04318856fbc889743f44101b24fe3
2013-01-25 00:20:55 -08:00
John-David Dalton
0fc2ab4d41
Fix lodash settings=… documentation example. [ci skip]
...
Former-commit-id: 671683d4e77b8fa27903e30d938f665548311b3f
2013-01-25 00:07:21 -08:00
John-David Dalton
641b6efe7f
Remove auto with statement removal optimization from _.template. [ closes #166 ]
...
Former-commit-id: da27942b109844d44327914631b7c5681489b04b
2013-01-24 01:14:07 -08:00
John-David Dalton
4c83435b4b
Clarify the -d and -m build options. [ closes #167 ]
...
Former-commit-id: d3ee420b982291632785d6583a6f2981ab07a635
2013-01-24 00:08:52 -08:00
John-David Dalton
9f7319cff4
Revert to compiling _.assign and _.defaults, using isKeysFast, and tweak large array size in _.without.
...
Former-commit-id: 275d453f49e762ac499a9328ddb8e156b8c9c22d
2013-01-23 23:59:41 -08:00
John-David Dalton
dd9baa1502
Add doc note about wrapper Array methods. [ closes #162 ] [ci skip]
...
Former-commit-id: 9d83e9b4c0298469d926325b35dee5566071f48c
2013-01-23 00:23:57 -08:00
John-David Dalton
41b4d0daa1
Update method dependencies in build.js.
...
Former-commit-id: 6cb368b6f440faa31c8f06cba347dcb755c95179
2013-01-22 23:54:52 -08:00
John-David Dalton
e41b181163
Ensure _.where deep compares properties values.
...
Former-commit-id: f3f29abf024f87a947fef6df1e3db9d9d1de99bf
2013-01-22 23:54:09 -08:00
John-David Dalton
288ac115d0
Avoid buggy Travis-CI Node version in travis.yml. [ci skip]
...
Former-commit-id: be10d0a5144628a98aafdc974febd08592cad30b
2013-01-22 23:08:09 -08:00
John-David Dalton
6774d46a6f
Simplify sourceURL code and ensure source maps work avoid compat issues.
...
Former-commit-id: 5b64703eaebc65c443d6b9d3699d448c253e70c1
2013-01-22 21:51:10 -08:00
John-David Dalton
607abf89f7
Move generic Closure Compiler fixes into build/minify.js.
...
Former-commit-id: 8492f60a67cbf7a2d7d3118f9653e6997ab1d15b
2013-01-21 01:13:51 -08:00
John-David Dalton
27f1e5e2f2
Fix _.partialRight doc typo. [ci skip]
...
Former-commit-id: 871aa8f8c89a226e89988995926f8a6946757321
2013-01-20 12:21:57 -08:00
John-David Dalton
a457675ce1
Move deep _.defaults implementation unit test to _.partialRight.
...
Former-commit-id: 7e5c6184d24b47170ef148122ef5c7428f8b2da9
2013-01-20 12:09:44 -08:00
John-David Dalton
82049096e6
More build fixes.
...
Former-commit-id: 8b97cd56c4b5530d03ba89d192be7df989e96655
2013-01-20 12:02:47 -08:00
John-David Dalton
6c965e0223
Cleanup strict build.
...
Former-commit-id: c34b2e7e2810e8bc35bde3e0f962d925b3f5ba1b
2013-01-20 03:56:35 -08:00
John-David Dalton
8b4d952929
Fix build.
...
Former-commit-id: e930621f522aae7c15502ac56fe9983943d2dc80
2013-01-20 03:40:44 -08:00
John-David Dalton
873cc63f94
Add _.partialRight and make _.assign and _.defaults work with arrays.
...
Former-commit-id: 6d9fea855de53e9ccb5ac6f58db68239ef08e9de
2013-01-19 22:17:14 -08:00
John-David Dalton
39fc839ff2
Fix test/test-build.js to work with build.js modifications.
...
Former-commit-id: 9df41ae02627557a21f282f70a73a447497b8984
2013-01-19 16:42:16 -08:00
John-David Dalton
4edef4c959
Update license and copyright.
...
Former-commit-id: 16ded758d08c66dcc9585e75848dec5420ddbbf2
2013-01-19 16:07:15 -08:00
John-David Dalton
1d9ced8037
Remove resolved Underscore issues from README.md.
...
Former-commit-id: 16f60867355adc5f528274838d3526ab7821b553
2013-01-19 01:00:15 -08:00
John-David Dalton
4cb77d1429
Avoid extreme use in the README.md.
...
Former-commit-id: 3ff1aca436ed040a6ffb0335f92b8b44f80137be
2013-01-19 00:36:22 -08:00
John-David Dalton
b52d9d1bdd
Add --source-map build option. [ closes #161 ]
...
Former-commit-id: e0cac11fda86671d944de5c157d3df3146d6def1
2013-01-18 02:37:22 -08:00
John-David Dalton
5fe7ca5e70
Update vendor/backbone.
...
Former-commit-id: faf9ed71356e1ae8b5c4f65e7084243571cb7d82
2013-01-17 00:40:49 -08:00
John-David Dalton
62fb440de2
Update closure compiler.
...
Former-commit-id: 20934c3606c88b0c108f89a01bcc7703dfbe2179
2013-01-17 00:18:41 -08:00
John-David Dalton
96fbd7c7ba
Fix closure compiler bug.
...
Former-commit-id: 6b61f095fa26d2dee0d70b666e630e4ca0fa7be6
2013-01-16 23:59:24 -08:00
John-David Dalton
c9bec8e636
Fix typo in _.merge unit test.
...
Former-commit-id: 15b2389bca12cb1655a07a51525624f7af9caa6c
2013-01-16 23:22:07 -08:00
John-David Dalton
769e03e7f2
Update Closure Compiler and UglifyJS.
...
Former-commit-id: 8e20f30f84b01ed6df593136c2d081e9d05acbca
2013-01-16 23:21:08 -08:00
John-David Dalton
ab83f2d5e2
Ensure _.first and _.last have the correct chaining behavior when passing a callback and thisArg.
...
Former-commit-id: 4d54fd677fa48bf8de033696c58ee66babd77a81
2013-01-16 01:39:58 -08:00
John-David Dalton
b60d0cdb17
Added support for _.merge to accept callback and thisArg arguments. [ closes #154 ]
...
Former-commit-id: 5d641ae4ba1d120d776a895f8bc9b8c1a7def0b6
2013-01-16 01:11:39 -08:00
John-David Dalton
677503dbf1
Remove Travis-CI build status until they resolve their issues.
...
Former-commit-id: 2d5607771e148b3010906452a9dc86f25f18ed3f
2013-01-15 21:28:14 -08:00
John-David Dalton
25efa29470
Remove metadata from tar.gz files.
...
Former-commit-id: 2cd702d72e9f2ff441fc7f8c8e22bef3f2784cbe
2013-01-15 21:16:18 -08:00
John-David Dalton
21a90f8f8f
Avoid travis-ci downloading the included minifiers.
...
Former-commit-id: d8558ea8295a9c7e7d28c1a1740edf63daa81933
2013-01-15 20:50:25 -08:00
John-David Dalton
64e8d6ae99
Update .travis.yml with git and branch options.
...
Former-commit-id: 51abc02eb378332b15d525fdab62d82f8d70b62b
2013-01-15 02:18:40 -08:00
John-David Dalton
16a204335e
Ensure _.merge produces dense arrays and revert accepting arrays of arguments for _.compose, _.defaults, _.extend, and _.merge.
...
Former-commit-id: a02772f8be04e187cbbfeb324cd4fb4318098162
2013-01-15 01:32:21 -08:00
John-David Dalton
0a53f762fe
Update tested environments in README.md.
...
Former-commit-id: 9ce4d74e664acdd3acee27b7a127a6d7d4577ac4
2013-01-14 01:28:39 -08:00
John-David Dalton
6ba4778c1b
Make methods capable of accepting unlimited arguments consistently accept either individual arguments or arrays of arguments.
...
Former-commit-id: b9f0c744f79e74889323f4fd7f737d10acd32ada
2013-01-14 01:11:46 -08:00
John-David Dalton
0404c2266c
Use strictEqual when the expected result is 0 or 1.
...
Former-commit-id: ff439b0e7252351663b754267056ad09e0f89838
2013-01-13 15:12:02 -08:00
John-David Dalton
e5e914282f
Allow _.first, _.last, _.initial, and _.rest to accept callback and thisArg arguments. [ closes #155 ]
...
Former-commit-id: b921ae0ccc188c5544480f397216ce3b2479989e
2013-01-13 14:58:53 -08:00
John-David Dalton
9867d4bdc3
Add unit test for passing an object as callback to _.find.
...
Former-commit-id: 36da6e95473e85ac799180618e1a546d87f0686f
2013-01-12 20:42:54 -08:00
John-David Dalton
e4cb7112cf
Update vendors, minified builds, and rebuild docs.
...
Former-commit-id: 9be99ca3c78a1a35fd13138398c48ab4a4b35f11
2013-01-12 20:12:38 -08:00
John-David Dalton
2d202e90b7
Add unofficial _.where like support for methods like _.find. [ closes #159 ]
...
Former-commit-id: c6106035af3f3d676cbd3f0a5c785b2c00ad1e9d
2013-01-12 19:02:06 -08:00
John-David Dalton
016391e442
Add capitalize and getCategoryDependencies method to build.js
...
Former-commit-id: d939fbb482926a1673c5841f0c08b280ddca18e5
2013-01-12 16:46:52 -08:00
John-David Dalton
1eff48a429
Ensure iterator options are minified correctly.
...
Former-commit-id: ae7b617051d91d99bad899d82df195d3c41bf76a
2013-01-12 16:18:17 -08:00
John-David Dalton
ce33af6bb5
Cleanup _.merge.
...
Former-commit-id: 4227c403f89a1085ce88ca992106b7ed0a3c210c
2013-01-12 13:47:13 -08:00
John-David Dalton
fb9d4303f1
Correct _#tap doc example. [ closes #156 ]
...
Former-commit-id: d1f6982e824a97db73546b8594c074b735580f8e
2013-01-08 22:21:46 -08:00
John-David Dalton
4e631c9e8f
Flip noNodeClass check to avoid breaking when Firebug's "break on all errors" option is enabled. [ closes #85 ]
...
Former-commit-id: f98c3af700279cb688c5df6c696b141bf626e26b
2013-01-05 22:11:14 -08:00
John-David Dalton
766d67d80d
Remove isKeysFast guard.
...
Former-commit-id: 38a63ed31d652fd198ebf30dbb0f1546160c30c1
2013-01-05 12:07:29 -08:00
John-David Dalton
e2c2a37221
Make _.merge assign null values. [ closes #151 ]
...
Former-commit-id: 5a839996db9475182d5957d2f8cb4b3c265b0d9f
2013-01-05 00:12:33 -08:00
John-David Dalton
2b23020695
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: fe8531c316e040e71dd8f58d509dcee9c137d985
2013-01-04 06:20:36 -08:00
John-David Dalton
8d43c6b1a8
Merge pull request #152 from terinjokes/docs
...
Fix typo in `_.range` docs.
Former-commit-id: 1fd6134d1809dcd59119740f0a115f0b5e819734
2013-01-04 06:15:27 -08:00
Terin Stock
7362dd1a7c
Update _.range docs to consistently reference 'end'
...
Former-commit-id: a8ee760eb86e67eb898715ee9719fa8981eeda17
2013-01-04 02:20:06 -08:00
John-David Dalton
316caf7e8c
Tweak UglifyJS "comments" option and update vendor/benchmark.js.
...
Former-commit-id: 6f09f27936f9453c58138e216399a51732a00173
2013-01-02 23:35:38 -08:00
John-David Dalton
87dc6631ee
Cleanup "imports" template option.
...
Former-commit-id: f9f52b1f63908bcb7db7837a9bda067f2855acbb
2012-12-31 14:52:16 -06:00
John-David Dalton
62246d7d43
Update platform.js.
...
Former-commit-id: 5e5170b0c29175469d4b80010297d31afa14b5c8
2012-12-31 14:45:53 -06:00
John-David Dalton
a14be3a42c
Add "imports" option to _.templateSettings. [ closes #148 ]
...
Former-commit-id: 16a019d27aea2e7a72665f62adf4c4c35e29b4bf
2012-12-30 12:23:51 -06:00
John-David Dalton
7fdf00d5e9
Workaround UglifyJS comments option bug.
...
Former-commit-id: 705510311c4eee0739e85054c6d8edded427efe3
2012-12-30 11:14:10 -06:00
John-David Dalton
99e02f30fb
Simplify createIterator. and remove whitespace between else { in template text.
...
Former-commit-id: a673f0edbe9b8655cbe1e91d9063e58130172495
2012-12-30 00:41:00 -06:00
John-David Dalton
716a5b9b5a
Update _.random docs and add unit tests.
...
Former-commit-id: d4a033bf83ad5fce7bb3b09467305730a89adc01
2012-12-28 20:22:04 -06:00
John-David Dalton
87f880ca52
Update vendors.
...
Former-commit-id: baf89d2c3bd7077462995bffa7f8bff1e1cf28f9
2012-12-28 19:47:44 -06:00
John-David Dalton
8ec7b84a78
Remove unneeded default ran value from _.once.
...
Former-commit-id: 4d4fc057c0cf9108183e7e7158f305214eed4323
2012-12-27 14:17:09 -06:00
John-David Dalton
05cf5bc8db
Defer downloading required minifies until the lodash command-line executable is used for the first time.
...
Former-commit-id: 83df0ac5875e8647168fffb7043a4cc197d27d79
2012-12-27 14:17:01 -06:00
John-David Dalton
ac25e21a0c
Avoid minifying typeof x == 'undefined' checks into x === void 0.
...
Former-commit-id: 23c998b48a1d2e1bca19dad6bf16fa94aeebed31
2012-12-27 00:44:57 -06:00
John-David Dalton
cc1e0daaa4
Update vendor/underscore.
...
Former-commit-id: 9a00fa6c531e8cf0990526b7034cbde67ef335b3
2012-12-27 00:08:19 -06:00
John-David Dalton
f4120a9c8c
Consistently coerce keys to strings before passing them to hasOwnProperty and init Array lengths when possible.
...
Former-commit-id: 5bd397eafbae888c7e6c76e62a7021b85796e65a
2012-12-25 23:12:19 -06:00
John-David Dalton
e3b80a5e09
Simplify _.toArray and wrapper methods.
...
Former-commit-id: b0440d401bd58cfa2d7aaf213549a824963474c3
2012-12-25 17:06:51 -06:00
John-David Dalton
ef7cb26b01
Update vendor/underscore and continue to tweak _.throttle unit tests to avoid false fails.
...
Former-commit-id: b5ba7b53e3bbebb3fa42da7e197f746515c8efb0
2012-12-24 09:49:46 -06:00
John-David Dalton
408a5c168f
Optimize _.max and _.min for gzip.
...
Former-commit-id: e4d6eb949824718aa967208203b7c487df7e02f5
2012-12-23 16:49:00 -06:00
John-David Dalton
0ad6ac95b2
Avoid setTimeout inconsistencies in the unit tests.
...
Former-commit-id: fdbe08fcb381bf7771a1a7e474882d82e5bdbdf2
2012-12-23 10:10:28 -06:00
John-David Dalton
bda4747e9c
Use @license in the copyright/license header. [ closes #138 ]
...
Former-commit-id: 3b924dad24d56e0fd33e4df1341b09c6165521a1
2012-12-22 15:18:14 -06:00
John-David Dalton
bd8f882c94
Tweak _.reduce documentation.
...
Former-commit-id: 58d8a724dbf53594420e355c3d29ae28b53a7886
2012-12-22 11:57:14 -06:00
John-David Dalton
32b5b5b1c4
Catch module load errors in build/post-install.js.
...
Former-commit-id: 6671d4925749d8b4d6da9ddd732bc7f436b6740d
2012-12-22 11:56:52 -06:00
John-David Dalton
c1e543c9fe
Cleanup .npmignore. [ci skip]
...
Former-commit-id: bca4d773ba803c28a128ec162b41e033998b5d0a
2012-12-21 20:08:16 -06:00
John-David Dalton
3908fa5c57
Simplify build/post-install.js.
...
Former-commit-id: a3f657f9721b18cef3c43b36a64e83b77d63eeea
2012-12-21 19:29:46 -06:00
John-David Dalton
1b347fc185
Tweak _.uniqueId to avoid problems with buggy minifiers.
...
Former-commit-id: e940c336b227ce89661cd6ada5f3e722a0204318
2012-12-21 12:38:55 -06:00
John-David Dalton
282a5e0b01
Correct href value in post-install.js.
...
Former-commit-id: 63b220d6dfecad7c1ebb5079efef603145e97392
2012-12-20 02:43:16 -05:00
John-David Dalton
e9d23cc1ea
Use child_process.execFile instead of child_process.exec in post-install.js.
...
Former-commit-id: 2f6b0827641ceb1c6b418af9de87ef3c70243d5f
2012-12-20 02:29:21 -05:00
John-David Dalton
34173fd60f
Upgrade to UglifyJS2.
...
Former-commit-id: dd326a5f401d8359f92f46552e2f59c1accf7cc1
2012-12-20 02:17:38 -05:00
John-David Dalton
d0d3c8ef57
Remove unused variable, index, in _.isEqual.
...
Former-commit-id: 21f364b6fa0505f9ccb579660f1bda4e38cbe3d3
2012-12-18 23:28:28 -08:00
John-David Dalton
11912008dd
Account for at in an underscore build test.
...
Former-commit-id: 7222681ef1e5ec17e940789efc38e99be97c0116
2012-12-18 22:41:50 -08:00
John-David Dalton
c122007e17
Rebuild minified files and docs. [ci skip]
...
Former-commit-id: 161ba27aa3bd38c48d8f15057343944dc6a674c2
2012-12-18 21:53:30 -08:00
John-David Dalton
69dfa1a175
Clarify _.merge documentation. [ closes #143 ] [ci skip]
...
Former-commit-id: efcec739bf2682da9b3dde27a43ff3b76aa4d6e8
2012-12-18 21:35:43 -08:00
John-David Dalton
bfea443e55
Cleanup _.at and add build tests.
...
Former-commit-id: 7648376e1ef447ae83d621b449b73acec355bb67
2012-12-18 21:16:10 -08:00
John-David Dalton
680798c28f
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: 4241085b99e4df0991946a18f66990209e05ee31
2012-12-18 19:14:15 -08:00
John-David Dalton
9f0cc45c45
Merge pull request #142 from danheberden/pluckByArray
...
Add `at` method to get elements from a collection.
Former-commit-id: 99e4d651afe760f952398e5119d03c6caff0fc44
2012-12-18 19:14:00 -08:00
John-David Dalton
0ac97f467f
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: 53ef1ba726cff56a98b739190957565c27bd253f
2012-12-18 19:09:33 -08:00
John-David Dalton
647746ea72
Update vendors, builds, and docs.
...
Former-commit-id: 8e6ca9a1334c73671aba1b4c974d738dbd7d72e1
2012-12-18 19:07:39 -08:00
John-David Dalton
7bea30b2e6
Optimize _.invert, _.pairs, and _.values.
...
Former-commit-id: d2725dc8c75254784d450f2a7e997e079b8c3183
2012-12-18 19:07:38 -08:00
John-David Dalton
12bc852c89
Update Chrome extension sandboxing link in README.md. [ci skip]
...
Former-commit-id: 17363260102ec1e874309eeea62bb077e2479303
2012-12-18 19:07:38 -08:00
John-David Dalton
0d42e84045
Add a benchmark for _.some with thisArg and avoid corrupting the aggregate score if a single benchmark errors. [ci skip]
...
Former-commit-id: 2042fdaab870ad2de2fb4938f5033d21f3dd1ae3
2012-12-18 19:07:38 -08:00
John-David Dalton
897b85b607
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: b5d52b6bbb4b5312fdf5d9da82fc15a4abef2b84
2012-12-18 19:05:59 -08:00
John-David Dalton
5c55cf0efb
Make path convention consistent in package.json.
...
Former-commit-id: bf1bde8a2e78a520dca92ddd7b95f9fce12eb446
2012-12-18 19:05:39 -08:00
Dan Heberden
eccd6463f6
update dependency for at method
...
Former-commit-id: 600a1079d3591880654df0b861810b7c070047e9
2012-12-18 15:30:38 -08:00
Dan Heberden
4a0897c734
build in functionality to at, add string support, optimize, and add more tests
...
Former-commit-id: 951ef27e55fff5a70d09916b55b85f9e725f751a
2012-12-18 15:10:10 -08:00
Dan Heberden
c86a16df7f
change .grab to .at, add unlimited args or numbers or arrays and simplify function call to use values and pick
...
Former-commit-id: 3deb82ad9f55cd7261453a40bb0f046a5340790d
2012-12-18 12:52:44 -08:00
Dan Heberden
2ae0e9d902
add grab method to get elements in a collection that match the indexes in the provided list array
...
Former-commit-id: 18df81c229cab4acde8f8157df9bb1001a51e9db
2012-12-18 10:00:24 -08:00
John-David Dalton
bba18cd56b
Update vendors, builds, and docs.
...
Former-commit-id: 488762bd908dca5538767e4b4210ca0079560520
2012-12-18 07:41:34 -08:00
John-David Dalton
2f20781e16
Optimize _.invert, _.pairs, and _.values.
...
Former-commit-id: 7df68977c0a99b48e8989101228432c3db55c460
2012-12-18 02:45:56 -08:00
John-David Dalton
3bee212876
Update Chrome extension sandboxing link in README.md. [ci skip]
...
Former-commit-id: c093d1d8356b5ef4129e91b820478c25c5224798
2012-12-18 01:49:50 -08:00
John-David Dalton
6c8893a550
Add a benchmark for _.some with thisArg and avoid corrupting the aggregate score if a single benchmark errors. [ci skip]
...
Former-commit-id: 10dae73eb07e610a7752fc3f9035e71e696ce93d
2012-12-18 01:08:55 -08:00
John-David Dalton
9c52ecc19b
Tweak regexp in post-compile.js.
...
Former-commit-id: 8c6933944703a17582696fb10b45f12926fe1030
2012-12-17 08:36:02 -08:00
John-David Dalton
692c884ca2
Ensure test count is the same for dev and prod builds.
...
Former-commit-id: 00e24fdd70d52bc6be4ae53fed43933fcf2c35da
2012-12-17 08:21:13 -08:00
John-David Dalton
3ef51d7fae
Refactor previous commit.
...
Former-commit-id: ad5408ad8a9e5b2caa9667994fe6748760b40fbe
2012-12-17 08:20:37 -08:00
John-David Dalton
73d95de122
Reduce _.forEach and optimize the minified builds for Safari.
...
Former-commit-id: d4366f1a3c5fd0751558f714384600c3bcf0f49b
2012-12-17 00:06:59 -08:00
John-David Dalton
04a568ac9b
Update vendors and docs. [ci skip]
...
Former-commit-id: 9ca377423f4714fdf0e3fa428711e8dfe75e2e44
2012-12-16 21:41:01 -08:00
John-David Dalton
a45499cf04
Cleanup build.js and README.md.
...
Former-commit-id: abf5c3e3f1b0a04b8f9eeb132366f51c92c9a450
2012-12-16 14:47:00 -08:00
John-David Dalton
b847d672ab
Bump to v1.0.0-rc.3.
...
Former-commit-id: d00d4d948fc0e2597e4ee2f2d15a9bee2dc27440
2012-12-16 12:22:04 -08:00
John-David Dalton
3ffefdf6b5
Avoid _.isArray returning true for arguments objects in browsers that report arguments.constructor as Array.
...
Former-commit-id: 9fccc5219e7cb6a007138f1f474d9e68504a0260
2012-12-16 10:47:22 -08:00
John-David Dalton
cca4c4be80
Fix hasObjectSpliceBug implementations of _#pop, _#shift, and _#splice.
...
Former-commit-id: 91a3bc259c85bd269c3d895b66204bdc4d158827
2012-12-16 00:14:08 -08:00
John-David Dalton
cb9e044cb3
Prepare v1.0.0-rc.3 bump.
...
Former-commit-id: d4b08cd58a7effb9e6107fe16c11ccdea032cb00
2012-12-16 00:12:01 -08:00
John-David Dalton
fd25dd83bd
Coerce value to a string once in _.intersection and _.uniq.
...
Former-commit-id: 5cb0f0034c473ec62c3b342f45d22c0abe6c5fb3
2012-12-15 14:32:55 -08:00
John-David Dalton
584bb00cfc
Use the indicatorObject instead of a boolean in the internals of _.reduce and _.reduceRight.
...
Former-commit-id: b83d1ef428941f15a6633c1b16b9373210149318
2012-12-15 13:01:43 -08:00
John-David Dalton
5b9369d344
Update tested Node version and reduce emphasis on performance in README.md.
...
Former-commit-id: 12a57f39409fa5bb5a18e3535c56c50ef767289a
2012-12-15 13:00:22 -08:00
John-David Dalton
a64506a0de
More clearly label lodash underscore compatibility builds. [ci skip]
...
Former-commit-id: 169559848f08a5ce9228e18e647e2e26eabe8341
2012-12-14 01:55:39 -08:00
John-David Dalton
2fc83ef80b
Tweak _.cloneDeep docs.
...
Former-commit-id: 992471067498a0be795f473fabaaf8e45581f291
2012-12-14 01:06:00 -08:00
John-David Dalton
8bee3ebd65
Update backbone method dependencies.
...
Former-commit-id: 1b030f0a7b2f4065ec1dfc9ef911de77ebd7d842
2012-12-14 00:54:36 -08:00
John-David Dalton
99686fdd73
Revert @license doc tag addition of #138 .
...
Former-commit-id: a66d22c952b3a0bb45e049a80ee80aa54c4e6a33
2012-12-14 00:41:56 -08:00
John-David Dalton
33bc3d6a1e
Update vendors, builds, and docs.
...
Former-commit-id: d57931d657ac0e73d91ac1bd1b33e24be5a16f35
2012-12-14 00:32:58 -08:00
John-David Dalton
90597530a4
Add _.cloneDeep alias of _.clone(…, true). [ closes #140 ]
...
Former-commit-id: b71397d5c5b71cb28a60eb4656cbaf12f6b03d1a
2012-12-14 00:24:02 -08:00
John-David Dalton
b2af8da9a2
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: 502c65ac38876c5fe42c9c652ef4cb237e9c631a
2012-12-13 23:49:38 -08:00
John-David Dalton
05dbf41fdc
Optimize _.intersection.
...
Former-commit-id: 017b20ad958a9dd7be09872456b1d26a59361c5a
2012-12-13 23:48:19 -08:00
John-David Dalton
c56bb56708
Cleanup benchmarks.
...
Former-commit-id: 805c0091cd6cec85729ee7511005c233545a9899
2012-12-13 23:47:48 -08:00
Kit Cambridge
4def1ea1dc
Fix installation mode detection on Windows. Closes #139 .
...
The global `node_modules` directory does not exist if no modules have been
installed globally, causing `realpathSync` to throw an exception.
Former-commit-id: 5a59e6b53c7afe5d5c5728352e9cd722744b2247
2012-12-13 10:35:29 -08:00
John-David Dalton
0ba05e4de0
Add @license to minified copyright header to preserve it in case of double minification. [ closes #138 ]
...
Former-commit-id: 6c9b72f9c807daac613ff2d4339c0e3c4e7cafe3
2012-12-12 00:37:56 -08:00
John-David Dalton
24fce89155
Remove "Collections" method _.forEach dependency from "Arrays" method _.intersection.
...
Former-commit-id: 83197c7ac47654c6fc2d2f37df8ff77d4adb9096
2012-12-12 00:34:58 -08:00
John-David Dalton
1a3c20f91d
Tweak _.throttle unit test pass more consistently.
...
Former-commit-id: 91063b5c6ae0c9beb2c86cc21153d75f060afef1
2012-12-11 01:10:52 -08:00
John-David Dalton
fe3e78cc1c
Update vendors, rebuild minified files, update docs/license.
...
Former-commit-id: 689793b6e5c4bbae917e726dc646902c697ce3a7
2012-12-11 01:09:52 -08:00
John-David Dalton
749f49b1a0
Add instanceof memory leak warning to _.isArray.
...
Former-commit-id: f90b1ad1850fb21c1d976f037a382c7388496d1c
2012-12-11 00:54:09 -08:00
John-David Dalton
f14010a09d
Make a private each function to be used by _.forEach.
...
Former-commit-id: da9e22a66aef1ad9f4688f4fbb07e0806f8f0445
2012-12-11 00:44:02 -08:00
John-David Dalton
0b48b9c7d4
Optimize _.isArray fallback, _.isDate, _.isFunction, and _.isRegExp.
...
Former-commit-id: a3e350bf1fa91a9582ba6a0effe61d4589cc8afe
2012-12-10 00:29:26 -08:00
John-David Dalton
13d62b01d1
Ensure utf-8 encoding and tweak text in CONTRIBUTING.md.
...
Former-commit-id: 67a3e585c0a3b815e916e0d38ed2bc113de3220d
2012-12-10 00:05:43 -08:00
John-David Dalton
4e7b71db1d
Cleanup CONTRIBUTING.md and README.md.
...
Former-commit-id: f0dca3ffc6a23128a877ae4d7d7f409d2e6adb69
2012-12-09 22:36:19 -08:00
John-David Dalton
069fc1f97b
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: e30fbcc10d6a5ea2bde762d91b9dd11a6f8a0dfc
2012-12-09 21:59:42 -08:00
John-David Dalton
8684f75254
Cleanup lib and build unit tests.
...
Former-commit-id: 96171aa70fee408f5237e0615ace4faa6541caa7
2012-12-09 21:59:05 -08:00
John-David Dalton
11cd924ce1
Rework the chaining behavior of Array wrapper methods.
...
Former-commit-id: fb8add58a861a19a2df63d6ff377c2a9537a38b6
2012-12-09 21:58:31 -08:00
Kit Cambridge
e2fd0cfc4e
Add contributing guidelines.
...
Former-commit-id: 0e613d3b5136a980284b3ba3de738ba664cb7fe5
2012-12-09 14:16:15 -08:00
John-David Dalton
5eb3106706
Updating Backbone/Underscore unit tests to avoid failing tests due to different chaining implementations.
...
Former-commit-id: d797a3547368faae04806d61818327e7d2319309
2012-12-09 00:23:02 -08:00
John-David Dalton
1831efbe9d
Cleanup build and doc comments.
...
Former-commit-id: 861145621113c0b6719b24d00ce0e359360ee1eb
2012-12-08 21:37:40 -08:00
John-David Dalton
38edbadca5
Update Lo-Dash description.
...
Former-commit-id: 75703b13b95399107b11f109dcc6d3b3dfd9eabe
2012-12-08 18:53:45 -08:00
John-David Dalton
6fcd80b979
Update builds and docs.
...
Former-commit-id: 647fe24574fc9bab2d32abb6e95f74d1cdd593f4
2012-12-08 18:52:59 -08:00
John-David Dalton
cf5e5dbe55
Update build to add _.chain and _#chain for backbone and underscore builds.
...
Former-commit-id: 2c910de419904a1285d246a3b08d87cb4daafa18
2012-12-08 18:46:09 -08:00
John-David Dalton
a451861bf1
Make "Functions" methods return wrapped values when chaining and remove _.chain and _#chain methods.
...
Former-commit-id: a507f9a1b76b933a7d558d2cc20177e6995dcf0d
2012-12-08 18:42:48 -08:00
John-David Dalton
7313dd74a6
Allow compiled templates loaded via AMD to set and use the private _ variable.
...
Former-commit-id: 746e6d8275f08dbb628e92c146fffba84df0f8c0
2012-12-08 01:26:08 -08:00
John-David Dalton
32b9de05f2
Cleanup test/test-build.js.
...
Former-commit-id: 4edb24bf22b8e8f9aa45b08a97289c1b83461e16
2012-12-08 01:24:25 -08:00
Kit Cambridge
c79bed22f8
Ensure that passing settings=... does not clobber the default moduleId.
...
Precompiling a template with `settings` previously generated a snippet
resembling `define(["undefined"], function(lodash) { ... })` if the `settings`
object did not contain a `moduleId` property. You can now pass `settings` and
`moduleId` options simultaneously; the builder will always use the `moduleId`
property in `settings` if it is provided, and default to `moduleId` otherwise.
Former-commit-id: 711b4f167dc08ce3d42029e9001ebdb2d8d60a56
2012-12-07 19:41:11 -08:00
John-David Dalton
cdeb50132d
Optimize _.reduce and _.reduceRight.
...
Former-commit-id: 6f281aae7f285458feafb02957fcd90fb09c10bd
2012-12-07 00:20:09 -08:00
John-David Dalton
090fb09955
Optimize _.union.
...
Former-commit-id: 0cba8cac81a621b1fdbe8868ab406a30eb1d743f
2012-12-06 23:09:41 -08:00
John-David Dalton
54b862bd79
Bump to v1.0.0-rc.2.
...
Former-commit-id: 55bca6a70e127152329deeff509a72a73436f40e
2012-12-05 02:24:46 -08:00
John-David Dalton
e37e1c109a
Tweak method's chaining behavior.
...
Former-commit-id: 3bfdd8d004fbdcb839843748b907cad5a5003446
2012-12-05 01:37:28 -08:00
John-David Dalton
939123785b
Specify more method's chaining behavior.
...
Former-commit-id: 7b8c18f6058bb279ab25f7e8b94e7418951e3ded
2012-12-05 01:36:18 -08:00
John-David Dalton
221b347bd9
Update vendor/underscore to v1.4.3 and update the Underscore build compatibility.
...
Former-commit-id: ebcaad4a92848bef3bbf65bb8eb3a0c1553e005c
2012-12-05 01:03:10 -08:00
John-David Dalton
af9bf3e852
Cleanup comments/docs/descriptions. [ci skip]
...
Former-commit-id: 4d6a0a54abbaa6607cc5897a09e5a7c0fc884a1a
2012-12-04 09:14:59 -08:00
John-David Dalton
ed8746df77
Rebuild update vendors, minified files, and adjust README.md changelog.
...
Former-commit-id: a01567b3d8e88da0cb20e12c864703e633b86fc6
2012-12-04 01:29:24 -08:00
John-David Dalton
bb187db49d
Tweak _.throttle unit test and add _.bind test.
...
Former-commit-id: b863194c661d97177bbcda9676699e9753f0db22
2012-12-03 22:37:09 -08:00
John-David Dalton
081e72b3ea
Fix typo in _.clone documentation. [ closes #130 ]
...
Former-commit-id: 81e17c992848c5d0ac9d30fb64eef3163bac6598
2012-12-03 22:10:08 -08:00
John-David Dalton
6188c38053
Move bound inheritance hookup inside bound.
...
Former-commit-id: 7f95fffa14ef42f8f065aad124ac883740baac64
2012-12-03 22:07:45 -08:00
John-David Dalton
12b0186f5a
Make _.isEqual work with arguments objects in older versions of Opera.
...
Former-commit-id: 860a27e7f81e14781eb371cadf24bb812eb31718
2012-12-03 01:54:46 -08:00
John-David Dalton
9bccc9c53c
Ensured _.throttle nulls the timeoutId. [ closes #129 ]
...
Former-commit-id: 24242f513e01adb2827cc3a5af6c8904098a9280
2012-12-03 01:04:54 -08:00
John-David Dalton
351b2b320e
Bump to version 1.0.0-rc.1.
...
Former-commit-id: 8867f4ddfab62435d0c2c685d67e68555d146545
2012-12-02 22:09:56 -08:00
John-David Dalton
94258feb09
Make _#bind return non-wrapped values and cleanup a _.template unit test.
...
Former-commit-id: 351e4ae8b346a69a795c6d2bfe6a55b306515af6
2012-12-02 21:19:34 -08:00
John-David Dalton
8b0f033a78
Update vendor/underscore.
...
Former-commit-id: 8bb0b59d367ab2600a85a4442789eb41d9d97cb6
2012-12-02 21:18:46 -08:00
John-David Dalton
f58f255fc8
Make the custom build message work with -rc.1 and fix build.
...
Former-commit-id: 96f31fff906fa978a0d10fad90d9322c761e1d26
2012-12-02 02:21:55 -08:00
John-David Dalton
e3eabcf648
Fix isBindFast and isKeysFast.
...
Former-commit-id: 59e6cfa0669f28139a7036a172995d7f7f8a64ef
2012-12-02 00:01:29 -08:00
John-David Dalton
9aa506cbd7
Cleanup build.js.
...
Former-commit-id: 91bb957cef2efd3aefd3c196374841efbd3ffd1d
2012-12-01 23:32:26 -08:00
John-David Dalton
d8cff7b90f
Remove script injection and simplify createFunction.
...
Former-commit-id: cc466c8ea05210b2238ee72a624628c7454eb1ee
2012-12-01 23:32:02 -08:00
John-David Dalton
07e7bca9eb
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: a1f2773afba4c885385e601e656c6ee461a6fb24
2012-12-01 18:49:46 -08:00
John-David Dalton
e1f442be90
Ensure Lo-Dash works in the JS engine embedded in Adobe products.
...
Former-commit-id: 860665d3735aef1dff75149b49b78c1615f38fa0
2012-12-01 18:47:38 -08:00
John-David Dalton
c5d579e0e3
Update vendors, minified files, and docs.
...
Former-commit-id: b29e9f8a497153408ba6266bf44412004e63c1af
2012-12-01 17:16:50 -08:00
John-David Dalton
5271c2e08f
Update vendors, minified files, and docs.
...
Former-commit-id: 018dfcade1386aa84492f60c8404ea00c01cbe11
2012-12-01 13:24:40 -08:00
John-David Dalton
9010a7ddbc
Fix typo in _.toArray and tweak _.forEach documentation.
...
Former-commit-id: 6417e50be9381a4ecede54868a9c2c41dabca4f2
2012-12-01 13:23:15 -08:00
John-David Dalton
bb95fb7d07
Reduce _.pluck.
...
Former-commit-id: 91db56f95d258070a0d25e4e4b74917e52b8cefe
2012-12-01 10:47:00 -08:00
John-David Dalton
2edb11376d
Avoid script injection unless the JS engine is inferred to be Firefox's.
...
Former-commit-id: 1e267374fe85a858197609b35b85670394c0b66d
2012-12-01 01:08:38 -08:00
John-David Dalton
e7f5ebf912
Rebuild minified files and docs.
...
Former-commit-id: 18a7f085459a08c6440be3e14d3f663fa181032d
2012-11-30 23:17:00 -08:00
John-David Dalton
da9758c2f3
Ensure bound result of _.bind(func, …) is an instance of bound and func.
...
Former-commit-id: d8176ad5eb45a3d675617676fc1eee4d9cbd6ebc
2012-11-30 23:16:39 -08:00
John-David Dalton
3e11d58d73
Ensure _.toArray returns a dence array.
...
Former-commit-id: 534091d4d200208b8aa831d86801d5e9d73410fe
2012-11-30 22:51:15 -08:00
John-David Dalton
6b35c097d6
Make deep _.clone copy array properties assigned by RegExp#exec.
...
Former-commit-id: b465457babfc04e8204048dfaeff6e5d37e5e43c
2012-11-30 00:40:32 -08:00
John-David Dalton
619ba13265
Make _.uniqueId consistently return a string value.
...
Former-commit-id: 5a5c626df83b0fc78e9bae37510680383f112c0b
2012-11-29 22:38:15 -08:00
John-David Dalton
529c5b8abf
Use forIn in _.isEqual instead of forOwn.
...
Former-commit-id: dd057e421be029d67cd293b733ee1cfee2b7715f
2012-11-29 20:57:13 -08:00
John-David Dalton
3a5ed6e800
Ensure revised _.isEqual works correctly in Underscore build.
...
Former-commit-id: 24c01405f08f8925bfe473d5d7e9ad0a270382b6
2012-11-29 08:54:33 -08:00
John-David Dalton
52cddc015b
Make _.clone follow the structured cloning algorithm's behavior for cloning objects created by constructors other than Object and make _.isEqual equate objects to arguments objects.
...
Former-commit-id: a387c6444694d8d550ab463ea5290088d3356d8b
2012-11-29 02:04:16 -08:00
John-David Dalton
4a01f4f65f
Update vendor/underscore.js
...
Former-commit-id: d74b9331b5547cfde6c04bd1b915e983187b2ec0
2012-11-27 19:25:55 -08:00
John-David Dalton
f9768cb5a3
Use typeof x == 'undefined' checks instead of x === undefined for consistency with other typeof checks.
...
Former-commit-id: 8ab7d3efe54aa7017b52295b0598b75c297a6277
2012-11-26 09:24:51 -06:00
John-David Dalton
221e0e550c
Optimize _.forEach, _.forIn, and _.forOwn.
...
Former-commit-id: 5d3b83ec0d5240ee14a86421994de86f311089fd
2012-11-24 23:21:30 -06:00
John-David Dalton
d2d1d42d0f
Optimize _.isNumber and _.isString. [ closes #126 ]
...
Former-commit-id: 633dfe2e9c2c0ff7e54d5bbb4bf95f9adcca83c4
2012-11-24 09:46:20 -06:00
John-David Dalton
faf018a097
Rebuild minified files and docs.
...
Former-commit-id: b3e87e12dfa55dcaa813d31b2ef0749a83b652aa
2012-11-24 01:49:56 -06:00
John-David Dalton
a2a71a107e
Fix onerror typo.
...
Former-commit-id: 61ba70537963824f396496cc59e7cfac1e9f8c8a
2012-11-24 01:36:18 -06:00
John-David Dalton
fc9c937e67
Simplify iteratorTemplate and support for minifying double quoted strings in source.
...
Former-commit-id: d18cbd6dc380001fe3617f6891c84a794a13c8d1
2012-11-24 01:34:00 -06:00
John-David Dalton
b4f2e9b442
Fix build.
...
Former-commit-id: dba1a3fa7526001d0062dc6e0b44f3c6e3d3d8db
2012-11-23 13:26:12 -06:00
John-David Dalton
1672645e73
Avoid engine slow path for primitives in _(…). [ closes #123 ]
...
Former-commit-id: 32e33b0c0d192915e6d5a83001b85645829ca0ab
2012-11-23 10:19:10 -06:00
John-David Dalton
4a42c44101
Use createFunction in _.template.
...
Former-commit-id: c996d94c7002bf4a89092b9cf7f4e5e80f70d9fd
2012-11-23 10:05:15 -06:00
John-David Dalton
383b1a5769
Avoid Firefox's unoptimized Function constructor.
...
Former-commit-id: 7cc5fc63c0cebd1410edde47c88e580c64fa2b98
2012-11-23 01:14:44 -06:00
John-David Dalton
77bac4cf9e
Narrow the scope of regexes used in build.js to the functions they relate to.
...
Former-commit-id: 6d838b24778d5e2107f4f5b25613ae40f363e969
2012-11-20 16:20:06 -06:00
John-David Dalton
e2b8e530c9
Merge pull request #119 from bestiejs/no-chain
...
Make `_(...)` wrapped values chainable without the need to call `chain`
Former-commit-id: 2e133540c0bedb41440bab592f1bacb75d426687
2012-11-20 07:52:11 -08:00
John-David Dalton
e9f752bd67
Merge /master into /no-chain
...
Former-commit-id: 59e5a4b13eb8bddd39bd37d917344715d62bf385
2012-11-20 07:47:48 -08:00
John-David Dalton
4b31921eb4
Rebuild minified files and docs.
...
Former-commit-id: 9565bb8c27577b72cf42d79cc7a1569a496d8bdc
2012-11-20 07:44:25 -08:00
John-David Dalton
3df9fc6225
Ensure _.reduce and _.reduceRight pass the correct number of callback arguments.
...
Former-commit-id: fec2d28b5a69ceb590e0ef1d8a0792b25b53c7e9
2012-11-20 07:43:09 -08:00
John-David Dalton
b57fe466ce
Make _(…) wrapper versions of _.first and _.last capable of returning wrapped and unwrapped values.
...
Former-commit-id: b30704c1ce359213aa09069b290ee55edfb3e33e
2012-11-20 07:32:51 -08:00
John-David Dalton
bd4bff3b6b
Add lodash.prototype methods that return non-wrapped values.
...
Former-commit-id: b7ecb8c91ec9647827a80a297b966639c6580ef0
2012-11-19 23:02:35 -08:00
John-David Dalton
9d4618a223
Merge /master into /no-chain
...
Former-commit-id: fcef4ca54be1907762e92ee528b650bea9759c1d
2012-11-19 21:52:25 -08:00
John-David Dalton
93636180df
Fallback to the local npm install if there are problems resolving the npm -g root path. [ closes #122 ]
...
Former-commit-id: 1cbf807877e51198853950e5ebd1b49a6e20d123
2012-11-19 21:42:54 -08:00
John-David Dalton
fcceaa168f
Update v0.10.0 changelog in README.md.
...
Former-commit-id: daf4501ee97420d93bb02d7c1dfd5498d6618bb9
2012-11-19 21:12:57 -08:00
John-David Dalton
2639cc6138
Update vendors.
...
Former-commit-id: e109c9ffd436610d066493b07bd38293e1ec01a7
2012-11-19 20:54:23 -08:00
John-David Dalton
4a99c2e928
Add support for NodeLists in _.toArray for IE < 9.
...
Former-commit-id: 67b26fe6fe60d77c0b38c48865bfd2ca56f7b470
2012-11-19 20:47:16 -08:00
John-David Dalton
7d5af3df05
Remove deprecated indicators from _.isFinite, _.isNaN, _.isNull, _.isUndefined, and _.result docs. [ci skip]
...
Former-commit-id: 39a6e1a4a948469993afb90c6303f1f6faa661fd
2012-11-18 22:37:47 -08:00
John-David Dalton
c88b80d2a0
Add documentation note to _#chain. [ci skip]
...
Former-commit-id: 90b50a50b6b104cd9e2bbccc4412346dfd6a6bba
2012-11-18 22:35:23 -08:00
John-David Dalton
819d4abaa2
Add _#toString and _#valueOf.
...
Former-commit-id: adb194b6270fc72f794c69343891a2e891b90051
2012-11-18 21:50:41 -08:00
John-David Dalton
20630aeb47
Remove the need to call chain on _(…) wrapped values.
...
Former-commit-id: 21861c88e3ec9af955d844c025b50cb32c322809
2012-11-18 21:06:24 -08:00
John-David Dalton
0c0db3babb
Remove deprecated indicators from _.isFinite, _.isNaN, _.isNull, _.isUndefined, and _.result docs. [ci skip]
...
Former-commit-id: 597001cfe5ef71d40b3254344eb5dbbe9905430a
2012-11-18 15:41:07 -08:00
John-David Dalton
e7761f7e57
Minor cleanup to README.md.
...
Former-commit-id: a4ded5a5b2f41016fad5e4c7491dd96704e9d69a
2012-11-18 14:38:04 -08:00
John-David Dalton
064fd497ae
Bump version to v0.10.0 in package.json.
...
Former-commit-id: 0be4f584b19bc6d53bd6bce61e8ac3cc249f2003
2012-11-18 13:39:43 -08:00
John-David Dalton
49c60b6b75
Add link to ES6 draft spec for Object.assign and add more notes to the v0.10.0 changelog to README.md.
...
Former-commit-id: c0f5d00e506f6b4a03d0844e7cc8379d462f9fff
2012-11-18 13:31:50 -08:00
John-David Dalton
ca7f36506c
Update vendors.
...
Former-commit-id: cdd10877e964b62eb73747fbaec5f7eda6ace599
2012-11-18 00:00:51 -08:00
John-David Dalton
155f0a9736
Bump to v0.10.0.
...
Former-commit-id: fd251fd13dfda3120569d3d284aa55ded0b806af
2012-11-17 23:48:57 -08:00
John-David Dalton
25e1eb3ce9
Rename _.lateBind to _.bindKey. [ closes #114 ]
...
Former-commit-id: 971e56cb86b5298ba2a9f92365f0463665d27230
2012-11-17 00:06:55 -08:00
John-David Dalton
f2f980928b
Update vendors to replace CRLF with LF.
...
Former-commit-id: 65f8982b6cfe965808ef97acba49c4d1cef6cd18
2012-11-16 22:09:41 -08:00
John-David Dalton
1d121a97a7
Convert resolve real paths of npm -g root. [ closes #116 ]
...
Former-commit-id: 0379fdf33da465fbb9ac78ddaa9e820b9b3e9987
2012-11-16 21:59:36 -08:00
John-David Dalton
211d13da09
Cleanup build/post-install.js.
...
Former-commit-id: efb35fab14fa62b79caec2ba806173415b217207
2012-11-16 21:06:48 -08:00
John-David Dalton
11343d469e
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: 08347b0f4b7c5853e28557d482424b63028505b6
2012-11-15 23:58:35 -08:00
John-David Dalton
d7c8041aa1
Update Backbone build method dependencies.
...
Former-commit-id: 808b991f6cebc72c182ce8d0def370778cce0b05
2012-11-15 23:51:49 -08:00
Kit Cambridge
9587e30af8
post-install: Show instructions for manually downloading the minifiers. [#113 ]
...
Former-commit-id: d9b794bc51057216f922f43c5bb6d8c9dc38f570
2012-11-15 22:21:34 -08:00
John-David Dalton
76fa7affaf
Add @cascadiajs video link to README.md. [ci skip]
...
Former-commit-id: 72fbf780e0727ce751090b09cf783e5a88752614
2012-11-14 23:55:52 -08:00
John-David Dalton
2971dd8672
Cleanup npm note in README.md.
...
Former-commit-id: d1cd290edb316116c69cf9b7b79a10498fd6df3c
2012-11-14 22:13:22 -08:00
John-David Dalton
2a33fe3564
Add .gitattributes.
...
Former-commit-id: 4a4ecefda83fb408200dfb106ea5b0a837af43c0
2012-11-14 21:59:18 -08:00
Kit Cambridge
46cdf5da70
Encourage users to update to the latest npm version.
...
Former-commit-id: bbcab6e7338039fb3343cfaca09c17ae0ea293a1
2012-11-14 20:03:40 -08:00
John-David Dalton
28c801bfd4
Add more info about the csp build to README.md. [skip ci]
...
Former-commit-id: ceb0cb3588bff9cadd791b091390799b506874ca
2012-11-14 08:17:43 -08:00
John-David Dalton
c22cd40293
Move Underscore build _.template replacement within build.js.
...
Former-commit-id: 3c2971a67986e69a9ea0952056e2cdf95f73435f
2012-11-14 00:31:48 -08:00
John-David Dalton
56bd430983
Cleanup and comment _.merge's _.reduce support.
...
Former-commit-id: 2cfc41f1c00a7a3981c51be7e8005f0cc95ac692
2012-11-12 07:41:31 -08:00
John-David Dalton
d873890e46
Remove alternative _.where for Underscore build.
...
Former-commit-id: 4e42a26d4c16157957fa43dbb31ae9706e2641b8
2012-11-12 07:35:33 -08:00
John-David Dalton
d29b8eca3c
Ensure _.merge works with _.reduce.
...
Former-commit-id: de53bfd024c7a088c98ee94c95d0c57fb00ed032
2012-11-12 07:35:05 -08:00
John-David Dalton
6f258000fe
Add the build commands used to the custom build's copyright/license header. [via @phated]
...
Former-commit-id: 2e1ff0c6a83e3c4c404ad4bac968f12d34afaa6e
2012-11-11 21:42:52 -08:00
John-David Dalton
255211cd07
Update vendor/underscore.
...
Former-commit-id: 3e8a169e8cb81fd852e41420ad317ee12ae486f9
2012-11-11 20:00:48 -08:00
John-David Dalton
f6d28a90e3
Make _.where iterate over only own properties.
...
Former-commit-id: 29b4cafe5271cad70c711c2d401cea627fa97e33
2012-11-11 20:00:20 -08:00
John-David Dalton
ed66ff88a1
Update minified and doc builds.
...
Former-commit-id: 5d6d8ee0538a2502eef6c38d77e58d31e8026e53
2012-11-11 16:20:16 -08:00
John-David Dalton
82e58f2bf9
Make _.defaults follow _.assign and only assign own properties of source.
...
Former-commit-id: 114dc47bbfa6db6a53a2fa03dd477fe86c3395cb
2012-11-11 16:16:11 -08:00
John-David Dalton
797a87ca26
Make _.extend and alias of _.assign and make _.assign iterate only own enumerable source props to align with ES6.
...
Former-commit-id: 37ba7c3066c1ea70210346a9bf598e8587e907db
2012-11-11 15:52:43 -08:00
John-David Dalton
ec6a709393
Add ES6 _.assign alias of _.extend.
...
Former-commit-id: 20a0e0d295cb90a1756a5831b0b6684b97477170
2012-11-11 14:03:10 -08:00
John-David Dalton
07cbfdb424
Optimize _.contains.
...
Former-commit-id: b50628adedd21fe2c099f4dcab1aa9f0036a22ed
2012-11-10 23:09:23 -08:00
John-David Dalton
3b9bd944fb
Ensure _.find works correctly in the Underscore build.
...
Former-commit-id: c22b91ffcab34b75415f126582c48c168a7cc759
2012-11-10 22:42:13 -08:00
John-David Dalton
934e585cb3
Optimize _.filter.
...
Former-commit-id: 565c1b0159207e9d9413d82b5827ed685564efff
2012-11-10 21:15:25 -08:00
John-David Dalton
3a68f4cf54
Cleanup build/post-install.js.
...
Former-commit-id: 5e289381b90e764b38bf5a3ba1866b6658766f52
2012-11-10 21:09:50 -08:00
Kit Cambridge
bd00fcb875
Improve zlib error handling. [ #109 ]
...
Former-commit-id: f6d7dd9afb630125d55188401da037ed97d6e5c5
2012-11-09 14:24:57 -08:00
John-David Dalton
905dd5a70f
Add template precompiler unit test for ES6 delimiters.
...
Former-commit-id: dc4561afa74844294bf38ecff7dadd43c0b0b99f
2012-11-09 11:13:46 -08:00
John-David Dalton
c65250ec39
Document the this binding of the returned functions of _.after, _.compose, _.memoize, _.once, and _.wrap. [ closes #107 ]
...
Former-commit-id: 223c27fca0a07b5ee8ccd70ac78247a6af50cecf
2012-11-09 05:40:59 -08:00
John-David Dalton
607eec6ff0
Bump to v0.9.2.
...
Former-commit-id: cd4b7bd3db92f07e0ac1af74ee70bd6525f36c55
2012-11-09 04:58:41 -08:00
John-David Dalton
14fb3bde60
Cleanup build/minify.js.
...
Former-commit-id: 08896dd9407afdbaa98a7d6011121e785e62ede9
2012-11-09 04:46:01 -08:00
Kit Cambridge
6782bc8ca2
Skip {hybrid} advanced compilation for templates.
...
Former-commit-id: d76ed99ba7d906812b24a751b56d3a8a6b955203
2012-11-08 17:07:01 -08:00
Kit Cambridge
3db6841305
Preliminary Closure Compiler simple optimizations support.
...
Former-commit-id: 515b8e47b6fa08e1f36d0e735f8a2bf188286d12
2012-11-08 16:32:17 -08:00
John-David Dalton
f478fa8029
Add lodash moduleId=… build option.
...
Former-commit-id: a68a2085028a3832181aaf02081311d84e93fab5
2012-11-08 16:08:03 -08:00
John-David Dalton
d255f8400f
Work around a Closure Compiler bug without a pre/post process. [via @phated]
...
Former-commit-id: 2b9ead74c8c29357a7d8af965b6e0702e77872a5
2012-11-08 09:40:21 -08:00
John-David Dalton
a1545c60d6
Optimize _.every, _.find, and _.some.
...
Former-commit-id: 37ace9b92bb2b9875093b73e460f01df9d9c211a
2012-11-08 01:05:34 -08:00
John-David Dalton
ed48603ab5
Update vendor/underscore.
...
Former-commit-id: 3d39397aaee8408778b738c3aa105eda67abd6bc
2012-11-06 22:00:01 -08:00
John-David Dalton
23a0507439
Simplify iteratorTemplate, createIterator, and _.keys.
...
Former-commit-id: 89c6d5a0311944e86fa4fca330328e903ce18958
2012-11-06 21:59:42 -08:00
John-David Dalton
482e013887
Cleanup _.max and _.min.
...
Former-commit-id: 9688a11db3d90f6b0f4a7d6d13b4e1c6c0709870
2012-11-06 20:22:58 -08:00
John-David Dalton
265727c30f
Remove "resolved issues" that are covered under "features" in README.md.
...
Former-commit-id: 2239f4c78c7164e85c8fbae2e9d6fb4dfac42f1a
2012-11-06 08:01:37 -08:00
John-David Dalton
4d3f4e096b
Remove tar module dependency from package.json and cleanup /vendors.
...
Former-commit-id: 6d32d4a3b5ef1c79e07ae3328080cb1d02f6f794
2012-11-06 07:47:57 -08:00
John-David Dalton
7629bca62d
Remove stderr from the exec error check in post-install.js. [ closes #101 ]
...
Former-commit-id: eecd66ffe3bce1bd6ef0261140bd634567ec60ae
2012-11-06 03:23:14 -08:00
John-David Dalton
2712f17262
Tweak capturing spaces in build.js regexes and update lodash.min.js.
...
Former-commit-id: a5d30941945150251a6fc4342840d906a3af1ad9
2012-11-06 03:05:09 -08:00
John-David Dalton
86a37559ba
Update build dependencies.
...
Former-commit-id: 6a9680a118115e059636a5fc0125c4efa5161765
2012-11-06 02:56:34 -08:00
John-David Dalton
b504a557f4
Add unit tests for _.max and _.min accepting strings and adjust the build/test-build.js.
...
Former-commit-id: b567c019146e96ad257dab8fe1b4138d07f470c0
2012-11-06 02:56:14 -08:00
John-David Dalton
e849b46f6b
Rebuild docs and minified files.
...
Former-commit-id: caae765d9b2e7f4de803e6057e8a2c20668c742f
2012-11-06 01:56:14 -08:00
John-David Dalton
738dc50a6f
Correct _.initial and _.rest documentation. [ closes #104 ]
...
Former-commit-id: d9ace8a8198b22def34c1ae3adc9421ab97790fa
2012-11-06 01:55:23 -08:00
John-David Dalton
3138523b5b
Optimize _.max and _.min.
...
Former-commit-id: 8c5dc8606d00e68dee63f06438e83c3bd65f3b29
2012-11-06 01:46:36 -08:00
John-David Dalton
537643a4c3
Use Underscore v1.4.2 _.isFinite equivalent for lodash underscore build.
...
Former-commit-id: 5c6f0efb0159d8044d6f4670fb42fabc6383dda2
2012-11-04 19:20:52 -08:00
John-David Dalton
04bfe098ed
Tweak _.max and _.min documentation. [ci skip]
...
Former-commit-id: c8506aa1b15143bc8ee1eea59027eed188a745ba
2012-11-04 18:36:05 -08:00
John-David Dalton
c507887bdd
Support ES6 template delimiters only when _.templateSettings.interpolate is unmodified.
...
Former-commit-id: 4c4f9163af0ef2f9a8218a167092584a1d288d9e
2012-11-04 18:16:14 -08:00
John-David Dalton
ee261313ac
Rebuild docs.
...
Former-commit-id: 7ae9d217bdbb78e9ec95d0a289a56cfc6489bb47
2012-11-04 15:36:08 -08:00
John-David Dalton
c9c152bc8a
Add support for ES6 template delimiters to _.template.
...
Former-commit-id: d84ef4fd89d9a51237b22a09affab366974b93ff
2012-11-04 15:27:52 -08:00
John-David Dalton
6c8e19a321
Update vendor/backbone.
...
Former-commit-id: dc1a37f3c44eecc1fcd1cba2018d70e8c337d6f3
2012-11-04 14:40:23 -08:00
John-David Dalton
218e3b66f2
Add fromIndex to _.contains.
...
Former-commit-id: 9f61db3ceda2d87ddfbfd4cffb2bd1f9732cc79a
2012-11-04 11:24:29 -08:00
John-David Dalton
1d3488fa8e
Update .jamignore file. [ci skip]
...
Former-commit-id: f34029dbc566eec92b8648d232f868a9e431c085
2012-11-04 08:26:54 -08:00
John-David Dalton
f4c1682592
Merge pull request #102 from ryanramage/patch-1
...
Fix for jam dependencies.
Former-commit-id: 873396512a836cdf1ea6f8d70e5a97343b696ba1
2012-11-03 15:27:24 -07:00
Ryan Ramage
28ac6623c7
Fix for jam dependencies
...
jam install lodash is not working as it is thinking that tar is a dependency.
Just adding a empty dependencies object to the jam section fixes this.
After pulling this, could you republish to the jam repo? No need to bump the package version, just
jam publish -f
cheers
Former-commit-id: 1364abac5c9005053f0c604ac580f753426b4f8d
2012-11-03 16:24:28 -06:00
John-David Dalton
16ab179e1d
Add _.uniq unit test.
...
Former-commit-id: 29a09711863011681a45ae800502eca9a7022799
2012-11-02 23:00:57 -07:00
John-David Dalton
a8ff5385dc
Cleanup cachedContains.
...
Former-commit-id: a2b396e910eacc0e204d5bdb3f4ed834b8d6e148
2012-11-02 22:50:45 -07:00
John-David Dalton
9dc33c6086
Remove the large array optimization for _.uniq from the underscore build.
...
Former-commit-id: 4cafbf2568c786834e40f0e4ea9b64ff670f60b7
2012-11-02 22:31:04 -07:00
John-David Dalton
b17c576705
Optimize _.uniq for large arrays.
...
Former-commit-id: 6c739aab6bcb8c31f9db9821d6eaf50c9a4fb80b
2012-11-02 12:16:39 -07:00
John-David Dalton
96f8f2891b
Fix typo in _.times test.
...
Former-commit-id: 0c32ded25b80debf4ae2ea9a9e60ee74b98c15a1
2012-11-02 11:54:37 -07:00
John-David Dalton
581d73afe0
Update vendors.
...
Former-commit-id: 76887b14d32e661f4c415393637478d93174329d
2012-10-31 00:38:38 -07:00
John-David Dalton
1baefebe8f
Bump to v0.9.1.
...
Former-commit-id: d7cece2893c97c38a9379877f987ec2cfe60cb47
2012-10-31 00:18:40 -07:00
John-David Dalton
39fb05033f
Tweak times of async unit tests.
...
Former-commit-id: 064813c739edde5f6236f33a3c75a6cb39ba774e
2012-10-30 23:49:23 -07:00
John-David Dalton
c6093c084c
Ensure _.isFinite returns false for non-numeric strings. [ closes #98 ]
...
Former-commit-id: 2505c8d7d9a0ab1e5f669730c318efdc9232799b
2012-10-30 21:36:53 -07:00
John-David Dalton
dfec6d9a6d
Adjust _.throttle unit test.
...
Former-commit-id: 1cc461b62fb5ca20f2e623ab145f157a92d18fcf
2012-10-30 08:10:40 -07:00
John-David Dalton
08b1261c75
Update @category docs.
...
Former-commit-id: edf8964b2061c80d8c868ea71b8c05a29cee4e28
2012-10-29 22:01:34 -07:00
John-David Dalton
2ad6faae3a
Ensure _.every returns false as soon as the callback result is falsey.
...
Former-commit-id: d5488688c4a30376999b04ba80f1551af403b516
2012-10-28 00:28:40 -07:00
John-David Dalton
4eff301db3
Reduce the size of _.union.
...
Former-commit-id: c8f4d18817e6a294ece014b65fb3c690d4ddf7b9
2012-10-26 08:51:28 -07:00
John-David Dalton
447e43e8f4
Remove chainability from _.forEach in the lodash underscore build.
...
Former-commit-id: 1db7daafacddcf78492643d6c6301af706b92150
2012-10-24 20:05:50 -07:00
John-David Dalton
7457001275
Add CDN links to the Underscore and development builds and cleanup changelog.
...
Former-commit-id: 1414f0509900e858c441ad642e27b369fbf875c8
2012-10-24 08:11:59 -07:00
John-David Dalton
fcabd5e79e
Update .npmignore.
...
Former-commit-id: 7073069a2002a707bdf2becf80c653767e93d7a6
2012-10-24 01:09:42 -07:00
John-David Dalton
594002316c
Bump to v0.9.0.
...
Former-commit-id: adbe6963da3dd52bed5e8adcf7875871b561584c
2012-10-24 00:02:06 -07:00
John-David Dalton
eccf92ebaf
Cleanup build script comments and fix Closure Compiler bugs.
...
Former-commit-id: 84771ac79d6cfd7ec3b0d29586edf58d617d5577
2012-10-23 23:54:53 -07:00
John-David Dalton
ad9ddc5621
Remove optimized methods list from README.md.
...
Former-commit-id: 91f5fd06073dd4b0e4ef450392550e6eb7245c12
2012-10-23 22:20:19 -07:00
John-David Dalton
1825dd916e
Fix unit tests and reduce object/array references.
...
Former-commit-id: 25aaabd506cb4515cf833ebb104ba0146e4354dd
2012-10-23 22:16:53 -07:00
John-David Dalton
dfcde8171e
Reduce _.toArray and _.difference.
...
Former-commit-id: a0253006b0f38744314c449dbcffa15b67390910
2012-10-23 18:08:09 -07:00
John-David Dalton
b0361183df
Add _.compact, _.defaults, and _.extend benchmarks.
...
Former-commit-id: adebc01aeda08323174af63166c2b6e0e798c313
2012-10-23 09:09:14 -07:00
John-David Dalton
71fe13b249
Simplify _.mixin and _.wrap.
...
Former-commit-id: 89b802a1b887fcd61af8938e84f3ff06e3a7938c
2012-10-23 09:03:56 -07:00
John-David Dalton
442f51224d
Update vendors.
...
Former-commit-id: 1e711564671134b82eed980bccb628af612ae195
2012-10-23 01:21:45 -07:00
John-David Dalton
974678f500
Remove unused iterator options references from build scripts.
...
Former-commit-id: 9610a20d8fea6778523d1d0a8b3e16b930534f20
2012-10-23 00:30:59 -07:00
John-David Dalton
8329409c03
Reorganize method order.
...
Former-commit-id: a24a02725595ac28633a24a1f33c152db87dda77
2012-10-22 23:57:03 -07:00
John-David Dalton
06c2ac2724
Reduce iteratorTemplate.
...
Former-commit-id: 586e08c796462e1e0ff59a14a9cde07723abd771
2012-10-22 23:41:19 -07:00
John-David Dalton
04e9e8f9d8
Remove pseudo private _shimKeys.
...
Former-commit-id: e8289094ceb14e62ce5d9fb74e7b9021f30f5aab
2012-10-22 22:42:42 -07:00
John-David Dalton
7a3330cb8c
Simplify createIterator.
...
Former-commit-id: 7187930670d888550ea741967da916a13eef091d
2012-10-22 22:29:46 -07:00
John-David Dalton
cae29941ea
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: 60eee2c007a673cfe706c71a0ada05582a72e790
2012-10-22 21:37:32 -07:00
John-David Dalton
15cf2ad076
Rework "strict" build option and fix typo in test-ui.js.
...
Former-commit-id: e06045546bea43bbe1fff78d6c948036ad98a88c
2012-10-22 21:28:12 -07:00
John-David Dalton
2f16f6dc23
Remove extraneous skipTest call from test.js.
...
Former-commit-id: 58f747ff8f8beee621038f7e06bfe3aa408f0b14
2012-10-22 20:27:45 -07:00
John-David Dalton
528aebffe4
Reduce _.where and remove compiling from _.bindAll.
...
Former-commit-id: 78f4db8c112ad9687f7a7e4322460f7b5edf5af9
2012-10-22 20:27:04 -07:00
Kit Cambridge
e82b2f0cbe
Merge pull request #96 from terinjokes/master
...
Fix a typo in the `_.groupBy` docs.
Former-commit-id: a5fb6f9769bb80d8bb6a0e2a176385a2f0d7fd83
2012-10-22 12:14:37 -07:00
Terin Stock
73e64f3e4a
Tweaked and rebuilt docs for _.groupBy.
...
Former-commit-id: a541ec305742ab6f330aeceae4804577f64905ab
2012-10-22 11:59:31 -07:00
John-David Dalton
15f5b1f830
Ensure _.map rewrite handles objects with non-numeric length properties correctly.
...
Former-commit-id: 60a4f322dcd284db5bb8ad4d8d5138e52e14cce3
2012-10-22 01:56:50 -07:00
John-David Dalton
1b0a77f9a8
Add more and rebuild documentation as well as update minified builds.
...
Former-commit-id: fab04394692ecbfb0d55e212928f0ff53902d921
2012-10-22 01:21:53 -07:00
John-David Dalton
0f82ae3644
Cleanup build/post-install.js.
...
Former-commit-id: e92e1c1e1c1cd821721085a3e1520756c158dfb5
2012-10-21 23:24:42 -07:00
John-David Dalton
de3b01b54b
Remove unnecessary return statements from _.delay and _.defer.
...
Former-commit-id: fb912605e8414b1a4d9d2d8ae96f21dfe95609c2
2012-10-21 17:29:41 -07:00
John-David Dalton
c17e3646d5
Rebuild docs.
...
Former-commit-id: 7c2d47728fdb8a61e739f8bbec4fad619342f2c5
2012-10-21 11:44:06 -07:00
John-David Dalton
26aed3e89e
Reduce _.isFinite, _.sortedIndex, and _.map, tweak docs for _.unescape, and ensure rewritten _.map works for objects correctly.
...
Former-commit-id: 43c810538b500b55018d4cfb9812618671fae2c7
2012-10-21 11:37:10 -07:00
John-David Dalton
74caea8f8f
Inflate dev test dependencies for easier inspection and swap firebug-lite with its debug build for Opera support.
...
Former-commit-id: 2f9ee3e33384b5ef5ed3da9c9ad5bbe7b561d265
2012-10-21 09:23:30 -07:00
John-David Dalton
2cf07fa072
Make variable naming more consistent and add indicatorObject for more clarity.
...
Former-commit-id: 27b5730a33222409c69d174962db7a25e06bd373
2012-10-21 01:48:38 -07:00
John-David Dalton
1181cd2fd7
Reduce _.uniq in the lodash underscore build.
...
Former-commit-id: 12c8ee7a269dbaebbe4d05d902bfcc4bed193cec
2012-10-20 20:16:39 -07:00
John-David Dalton
850d55ab45
Rework _.intersection.
...
Former-commit-id: b05442888b15b448f6594b46b5cf1a2a06611da2
2012-10-20 19:40:38 -07:00
John-David Dalton
a0c91b8754
Remove clearTimeout and setTimeout from the list of properties to escape in pre-compile.js.
...
Former-commit-id: 7d2c5fb866bd53df079fff3dab533866ab1f79f4
2012-10-20 18:55:28 -07:00
John-David Dalton
937bdc05c8
Reduce _.intersection and _.where.
...
Former-commit-id: b8d87f72c72c0f42e693eff67296135f0a5c548b
2012-10-20 18:54:34 -07:00
John-David Dalton
453755bfa1
Fix _.isFinite unit test in Node and remove isStrictFast use.
...
Former-commit-id: e2e04f4cee0a52f4461c8ee84c157c1ea0e4c132
2012-10-20 16:37:07 -07:00
John-David Dalton
400b6fbb61
Sync _.isFinite changes with Underscore and update vendor/underscore and vendor/backbone.
...
Former-commit-id: 9acb93a276a11da8186da76bd82f1fd6f89c27dd
2012-10-20 13:02:39 -07:00
John-David Dalton
8c4e882fa3
Reduce file size further.
...
Former-commit-id: e66751a6a76331dedcfc68e9eaf81eddf5afe8b2
2012-10-20 12:59:37 -07:00
John-David Dalton
84eec23793
Ensure _.every and _.some work in Underscore builds without the "exit early" feature of _.forEach and reduce unexposed forIn and forOwn.
...
Former-commit-id: 35488c1c0f70cb5446c875bd4647b0ce47077d9e
2012-10-20 02:45:59 -07:00
John-David Dalton
7dfe69f6a5
Reduce iterator template and _.bindAll.
...
Former-commit-id: 2655b7ca336baf9e04c87ff546c4bfc614873b50
2012-10-20 01:14:28 -07:00
John-David Dalton
ada6115073
Simplify _.bindAll.
...
Former-commit-id: 02de2a2a6020461d42e222a476c2fb7e66f6895e
2012-10-19 08:23:52 -07:00
John-David Dalton
e1643566f9
Capitalize comment in post-install.js.
...
Former-commit-id: ea8604f6d044b60378548afea2ca672ac5795244
2012-10-19 01:33:06 -07:00
John-David Dalton
053a9a6317
Remove compiling from _.map.
...
Former-commit-id: 5274c0972cd7ab848739c39cfe46586d88c93327
2012-10-19 01:25:07 -07:00
John-David Dalton
425b976cc0
Remove compiling from _.every, _.filter, and _.some and add related benchmarks.
...
Former-commit-id: 545195dc7085c1294ad8709f44fddb0c3c6a0545
2012-10-19 00:59:14 -07:00
Kit Cambridge
5f5f1b1e09
Add download progress messages and a comment explaining the Accept header to the post-install script.
...
Former-commit-id: 10ed30f49f3028169610f7e4a10427e55a4c25eb
2012-10-18 23:30:38 -07:00
John-David Dalton
e6f4935c7b
Cleanup package install related files.
...
Former-commit-id: ac905fe660af05077a52b001b295ee557aaacfa8
2012-10-18 23:13:55 -07:00
John-David Dalton
6452e5976b
Merge branch 'master' of github.com:bestiejs/lodash
...
Conflicts:
build/post-install.js
Former-commit-id: 793ebf1f983d4077c7b333c9305958a409e18d95
2012-10-18 22:36:33 -07:00
Kit Cambridge
2383dff317
Avoid including npm as a dependency; parse the npm -g root output directly.
...
Former-commit-id: a6b432de64292ce2af280d0a861f610ceeabce6c
2012-10-18 09:43:53 -07:00
John-David Dalton
de3e5042fb
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: 24cd5b5b280e405b4261511222ba6bf7dfacc783
2012-10-18 08:21:01 -07:00
John-David Dalton
0dcc35152c
Simplify lodash underscore build's _.template.
...
Former-commit-id: d3f98bf310f5ef7c06cacb7716fc0999440d411b
2012-10-18 00:51:26 -07:00
Kit Cambridge
8eecfcbfaf
Manually download Closure Compiler and UglifyJS for Travis.
...
Former-commit-id: 8aa022e2816917ec4bb42c77cdf5d26ed53e1e3a
2012-10-18 00:39:58 -07:00
Kit Cambridge
efa3e60f89
Add npm as a dev dependency.
...
Former-commit-id: 7f7a80492f05afa66925cb6fba1b0000b376807e
2012-10-18 00:32:42 -07:00
John-David Dalton
782df659bc
Fix typo in _.where.
...
Former-commit-id: e4da5a993a26eb3e408c9a2ddd408ee785671088
2012-10-17 23:26:16 -07:00
Kit Cambridge
0aa158824f
Add npm as a dev dependency.
...
Former-commit-id: c72a6e13774bce378dd2ab5982f51ba37c6a7bc0
2012-10-17 22:46:07 -07:00
Kit Cambridge
da7fb44e5d
Add the post-install script.
...
Former-commit-id: cab08838401ab9ccf4f2333a3d353c852f59a91b
2012-10-17 22:11:02 -07:00
Kit Cambridge
4b59ef802e
Move dependency downloading into a post-install script.
...
Former-commit-id: c85d930fe4be787d6583015aa79d922d8909367e
2012-10-17 22:08:14 -07:00
Kit Cambridge
be5789cd56
Automatically download Closure Compiler and UglifyJS if they are not available. Add tar as a dependency.
...
Former-commit-id: baff21528a09bad5beff5eab65d1b7ffe4fc8a40
2012-10-17 21:22:02 -07:00
John-David Dalton
9adf0e5d59
Update .gitignore, .jamignore, .npmignore.
...
Former-commit-id: a01be2b79a51188e3bbd91926c68afcb17476808
2012-10-17 08:48:47 -07:00
John-David Dalton
e2de22470e
Cleanup vendors.
...
Former-commit-id: 9e4f91aa0d498c1b160907f365b82b902e516880
2012-10-17 07:19:57 -07:00
John-David Dalton
3b7ab2e553
Make lib references more generic in perf.js.
...
Former-commit-id: 9984b8ac9f552d5a1051d738b57ff0b69b8d764a
2012-10-15 08:15:29 -07:00
John-David Dalton
8617dedc46
Use the buildPath and otherPath in the logged perf status updates.
...
Former-commit-id: 0f1301e68dca84c0f72459bcfed11b3cc55cb577
2012-10-14 23:32:24 -07:00
John-David Dalton
0b8f1a9a58
Add build dropdown to perf/index.html. [ci skip]
...
Former-commit-id: 669acae55ee53819fe4155aa0020cd40db7d6843
2012-10-14 22:18:53 -07:00
John-David Dalton
16748c0920
Cleanup lodash.js and ensure _.where returns an empty array when passed an empty properties object.
...
Former-commit-id: 34d1f8d967806d3c59895eff3a7d4d32262a46ea
2012-10-14 18:56:39 -07:00
John-David Dalton
01ec585a44
Cleanup _.merge.
...
Former-commit-id: 49c646ff8f199b001cfd8145d7e2076d8d1ceaf0
2012-10-14 15:37:49 -07:00
John-David Dalton
b5f2295f37
Simplify _.bindAll iterator options.
...
Former-commit-id: e9abbcc940f333e053d1ab5c35c7f4ae2d96d381
2012-10-14 14:55:51 -07:00
John-David Dalton
d6ca0199b7
Remove compiling from _.reject and consolidate iterator option objects.
...
Former-commit-id: 10eb78c0c4cdfc35317b9ad263768df60f70db40
2012-10-14 14:04:42 -07:00
John-David Dalton
2257c5e547
Remove arrayLikeClasses variable.
...
Former-commit-id: 6615f8b94da319bf25fffe7275c959293e5075e3
2012-10-14 04:17:23 -07:00
John-David Dalton
b5a3d39799
Improve _.isEqual performance.
...
Former-commit-id: d705b29825eff419ac14806f0a5fcf7c7458c6de
2012-10-14 03:06:25 -07:00
John-David Dalton
a26c3e9d3c
Fix build after shimKeys change.
...
Former-commit-id: 7ca25a08f3ac20e3b8410fbc975c96da2570e0a7
2012-10-14 02:19:57 -07:00
John-David Dalton
98a09532eb
Avoid argument issues in _.merge.
...
Former-commit-id: 2f8a798654e903454050211886b19b3b581a3c88
2012-10-14 01:52:48 -07:00
John-David Dalton
d736789bbc
Remove compiling from _.invert and shimKeys.
...
Former-commit-id: 9fc384680960cf45f49f16e4cd84e3dca2b4cf19
2012-10-14 01:42:44 -07:00
John-David Dalton
82a6cfc03a
Add _.reject benchmark.
...
Former-commit-id: 936a8b8915522abd5a64bbb2c7756a36a4af7c30
2012-10-14 01:40:50 -07:00
John-David Dalton
62e9c7c75a
Add comments to test/test-build.js.
...
Former-commit-id: ae663d4570c3a464fffbf3090494b070279a24a7
2012-10-13 23:39:01 -07:00
John-David Dalton
eb32bd45e7
Rebuild docs and minified builds.
...
Former-commit-id: 556d91b9c58c9f6be2994ec17de3823f49416911
2012-10-13 23:33:16 -07:00
John-David Dalton
4b95f07923
Simplify _.omit and _.pick for the lodash underscore build.
...
Former-commit-id: 9a42c964ce4003bde1b4ce55f0f851141dbc9bb6
2012-10-13 23:32:17 -07:00
John-David Dalton
dea8ad4c49
Optimize _.contains and _.omit.
...
Former-commit-id: f1d7b5699bae6de90d880fe593531f7d3772924e
2012-10-13 23:30:25 -07:00
John-David Dalton
96553b217c
Reduce _.merge.
...
Former-commit-id: 5797e14e589d39e553d7af109d282109e633cd80
2012-10-13 20:58:39 -07:00
John-David Dalton
3f79ed5d91
Reduce _.isEmpty and ensure dependencies are modified correctly for the lodash underscore build.
...
Former-commit-id: 23ff37da17578dfeafbabee4bcae100f4df68ed6
2012-10-13 20:58:08 -07:00
John-David Dalton
1e4283aad3
Remove compiling from _.functions, _.isEmpty, _.pairs, _.values, _.contains, _.find, _.invoke, _.pluck, _.reduce, and _.where.
...
Former-commit-id: 207f20330ede82cb58d4f008fe5164771e97a8b0
2012-10-13 15:12:21 -07:00
John-David Dalton
1dda31a28c
Make remove compiling from _.merge, _.countBy, _.groupBy, _.pick, _.omit, and _.sortBy.
...
Former-commit-id: 52b245e69629e7a9fbe5f0dcbdfafabcd75d9dfc
2012-10-13 00:03:40 -07:00
John-David Dalton
10c87012be
Update vendor/underscore.
...
Former-commit-id: 5ede87579d9b7a8e505da23fc3a4531be40a151b
2012-10-13 00:01:29 -07:00
John-David Dalton
bda00bf512
Add json3.js, remove json2 and jslitmus from vendors.
...
Former-commit-id: d801c48ec81ea2f5c5638910190da461facf98cf
2012-10-12 01:11:58 -07:00
John-David Dalton
c8f871ff2a
Escape template properties for minified precompiled templates and add a lodash template="…" exports="…" build test.
...
Former-commit-id: 866252235232ab52cf21842554c37573de4cf402
2012-10-12 00:25:32 -07:00
John-David Dalton
58dc0b1aef
Remove unnecessary template unit test.
...
Former-commit-id: 42ea5be4168d4db818ec93a8f6c61c51905127c7
2012-10-11 22:14:05 -07:00
John-David Dalton
4cd4d8f31a
Add sourceURL template option. [ closes #90 ]
...
Former-commit-id: 5db79c6b08aa7c8b2925db70d86dde75298da4c4
2012-10-11 22:13:42 -07:00
John-David Dalton
b751fd738d
Tweak _.isPlainObject doc example. [ci skip]
...
Former-commit-id: 5d4916d5c1a2909062cc9f2646a580b630fb4e35
2012-10-10 00:46:52 -07:00
John-David Dalton
f97c6fb94c
Tweak npm global install note in README.md. [ci skip]
...
Former-commit-id: 1105c1cf4c5889278eeb5be4bff9534091904821
2012-10-10 00:28:07 -07:00
John-David Dalton
219138ade6
Bump to v0.8.2.
...
Former-commit-id: edbb9d995a63ec8fd5a3b1a47ccda7b30c353b35
2012-10-10 00:03:39 -07:00
John-David Dalton
9086d189b9
Update vendors.
...
Former-commit-id: e88301bddf23f177a2d14f2c729877eaede022e5
2012-10-09 20:11:57 -07:00
Kit Cambridge
d1178defe0
Add a note about npm link. See #88 .
...
Former-commit-id: 11c4a9bce02e5f143b09d0edff80362e2e824b10
2012-10-09 15:22:26 -07:00
John-David Dalton
691a561a95
Merge pull request #87 from danheberden/typo_fix
...
Fix typo in `_.indexOf` docs.
Former-commit-id: 25305344f272cb875a612e37a93ae252a53e1b4b
2012-10-09 13:56:59 -07:00
Dan Heberden
aaaac93bd0
fix tiny baby super small almost didn't need to worry about fixing typo from isSorted to fromIndex for indexOf method
...
Former-commit-id: 6f2a7b3e11c4830ec47c174f24badca3ef2e6530
2012-10-09 16:53:56 -04:00
John-David Dalton
fd790566b2
Ensure _.throttle clears the timeout when func is called. [ closes #86 ]
...
Former-commit-id: 6f3b777aa247f059d97f965c02323d4ee6ab8464
2012-10-09 02:15:06 -07:00
John-David Dalton
db3b429784
Update _.min, _.max, _.shuffle build dependencies.
...
Former-commit-id: 21c4c99f8ead92b90b46c299fee59098131758b1
2012-10-09 01:43:24 -07:00
John-David Dalton
40ed3278d4
Rebuild minified files and docs.
...
Former-commit-id: b14af8d9fcb9046c2faf4374fe2e6e83c4f4f835
2012-10-09 01:02:14 -07:00
John-David Dalton
d174b13111
Add object iteration unit tests for _.max, _.min, _.shuffle.
...
Former-commit-id: 45129100fbbfa14610cacb055c1fa393ae6ce153
2012-10-09 00:59:55 -07:00
John-David Dalton
1708663b32
Move _.max, _.min, _.shuffle back to "Collections" methods for compat but still optimized for arrays.
...
Former-commit-id: 28cd9298915ad123445400a5d061ac8e9432eb6b
2012-10-09 00:48:02 -07:00
John-David Dalton
6fdce4ad0d
Re-optimize _.max, _.min, and _.sortedIndex.
...
Former-commit-id: 7f449a4fde6777f14a1def0d767f2926bdea07c9
2012-10-09 00:17:10 -07:00
John-David Dalton
fff8d5f07d
Cleanup var names in lodash.js and continue to optimize for gzip.
...
Former-commit-id: 00d76bd7ab8b35d2b45237224662849e42d00bac
2012-10-07 22:26:23 -07:00
John-David Dalton
9c8e1f4706
Reduce _.compact and revert _.random use in _.shuffle.
...
Former-commit-id: 17d153cb09c262830f1497f93c0f3d9b279c8f8a
2012-10-07 19:32:56 -07:00
John-David Dalton
0a1036c78f
Add unit tests to check "Collections" methods return values.
...
Former-commit-id: 6ac6cd97414035f74a102a51e913099e744d9a93
2012-10-07 18:18:20 -07:00
John-David Dalton
0e881a7972
Simplify _.shuffle and iterator options.
...
Former-commit-id: 341fd577d65725d47b26172d25b46dec2ac8e67f
2012-10-07 17:43:38 -07:00
John-David Dalton
839e52ba30
Organize docs by category. [ closes #84 ]
...
Former-commit-id: f4ebda7c32a0ce9c5a86cdb0fd1e689f76557e42
2012-10-07 12:21:01 -07:00
John-David Dalton
8f7d5dcb4d
Reduce lodash file size.
...
Former-commit-id: c6c309cbbc5f93bffb852726e831ba9f90c332a0
2012-10-06 23:39:41 -07:00
John-David Dalton
1104b28bc1
Update README.md to remove fixed Underscore issue.
...
Former-commit-id: 16fc177c33c2f2522fd9080c0974091ef8e97850
2012-10-06 23:38:25 -07:00
John-David Dalton
48521cb1e4
Update DocDown and Underscore.
...
Former-commit-id: 7744ef274a9d8b47975dc9f3e3283bd778bc5403
2012-10-06 22:31:08 -07:00
John-David Dalton
17e113dafb
Update _.map to return an empty array when falsey values are passed.
...
Former-commit-id: 2f091fbeb140cbc0b8f3bd2df7a449a06239be0b
2012-10-06 21:17:50 -07:00
John-David Dalton
c33825a904
Reduce Underscore build and update Underscore version number.
...
Former-commit-id: fd631cd5525fa287c2af493bfe4a93668678977d
2012-10-06 20:58:21 -07:00
John-David Dalton
b07ef98c8f
Update Backbone/Underscore vendor folders.
...
Former-commit-id: 3317d501fe535d91eefab8a5dcb3a88a791e20ac
2012-10-06 20:56:42 -07:00
John-David Dalton
b3d68893df
Reduce deep _.clone array iteration and add _.each dependency.
...
Former-commit-id: 3cb599d294a693974483b892748e6f60186d0c50
2012-10-06 18:15:30 -07:00
John-David Dalton
1329599987
Simplify how deep _.clone handles booleans.
...
Former-commit-id: adf1d03677336131da2f62bd2fb6e2900c9889a4
2012-10-06 17:32:18 -07:00
John-David Dalton
2adf3f364c
Add _.isPlainObject to the list of features in README.md. [ci skip]
...
Former-commit-id: ec81cdc9e7fef775871cc1c4a497e4d17e7716aa
2012-10-06 15:45:48 -07:00
John-David Dalton
436ee34a02
Simplify createIterator.
...
Former-commit-id: 0530a9db49488900843c6312cc0d30b1dc641120
2012-10-06 14:43:34 -07:00
John-David Dalton
4a6e17b214
Reduce lodash builds and cleanup README.md.
...
Former-commit-id: 3c6bbc236a35687c843a8cb27c29f71ed89d0ab0
2012-10-04 23:35:36 -07:00
John-David Dalton
6e9cbccde6
Bump to v0.8.1.
...
Former-commit-id: 1b63f03d4a7ca0cdc66e44cd987fddecaf88f9ce
2012-10-04 01:40:17 -07:00
John-David Dalton
a0cb8ec124
Cleanup lodash.js.
...
Former-commit-id: 7a2443719a96b36ae53b2f7d0fe2a1867d650f02
2012-10-04 00:28:45 -07:00
John-David Dalton
21217dfda3
Reduce createIterator.
...
Former-commit-id: 8c27ca8e4d1f71b2727dd988bc62194510a850dc
2012-10-04 00:02:43 -07:00
John-David Dalton
25ba18e570
Update vendors.
...
Former-commit-id: 94bb6b8541c223d3ef6eb8aad5fb5925f2d3be48
2012-10-03 23:21:51 -07:00
John-David Dalton
a210377f35
Add unit tests for passing falsey values to _.initial and _.rest.
...
Former-commit-id: 9d5d4960c175a3dd90af977b605ce309bc6446d3
2012-10-03 20:12:03 -07:00
John-David Dalton
07b9ca457f
Cleanup build.js regexes.
...
Former-commit-id: 0d23053cd8ae20fa2268ba24b15db72c6cd7a85e
2012-10-03 09:09:40 -07:00
John-David Dalton
5f1372d39c
Rebuild minified files and docs.
...
Former-commit-id: d8d8453fa79ab026be0acd44a1af967bdb0bc4cc
2012-10-03 09:09:20 -07:00
John-David Dalton
01b84c79f0
Revert removing falsey guards.
...
Former-commit-id: b5eeb5d4a0896eb030f20e7e91e54bf101535abc
2012-10-03 09:08:51 -07:00
John-David Dalton
4017443b1e
Allow deep clone if requested via include or plus with the underscore build.
...
Former-commit-id: e86dba41f7265700330e57346a112b578873b390
2012-10-02 21:39:18 -07:00
John-David Dalton
fd2a17d244
Reduce lodash.underscore.min.js.
...
Former-commit-id: a5032bc542e1166fab6acfd7313c305dd8236d36
2012-10-02 01:43:49 -07:00
John-David Dalton
126804f7c3
Cleanup _.difference, _.intersecton, _.without.
...
Former-commit-id: 1ca8edb52a1c403fc2d8a8e1b3fd113ced9ff39e
2012-10-02 01:43:30 -07:00
John-David Dalton
5167bbf59e
Fix _.lateBind doc typo.
...
Former-commit-id: 3284bee699837ab380a3e8fd2853f8bdcf0684b6
2012-10-01 23:33:35 -07:00
John-David Dalton
8bcdfa2793
Add identitydependencies to build dependency map.
...
Former-commit-id: e466c8547888755b9e3d645d555298b21b5a6849
2012-10-01 08:31:23 -07:00
John-David Dalton
2f9cb6a91e
Add more to .jamignore.
...
Former-commit-id: aaa51092bb28995478e4cf8cf1b5ff249880a99c
2012-09-30 23:29:43 -07:00
John-David Dalton
662be14535
Tweak whitespace in README.md and update QUnit-CLIB.
...
Former-commit-id: b8fed819580bf7db926b8a4cfb794aa7666c5f58
2012-09-30 23:06:40 -07:00
John-David Dalton
d6d065cd61
Cleanup settings=.. build option usage.
...
Former-commit-id: 33506d9cfc2101cba8d160169c5d27861f8c7064
2012-09-30 22:52:34 -07:00
John-David Dalton
ac7f045708
Correct bullets in README.md.
...
Former-commit-id: fb75befff853071b7ad5dde3f3a575c707930cc4
2012-09-30 22:47:29 -07:00
John-David Dalton
ffe02ad7bf
Reduce the size of lodash.underscore.min.js.
...
Former-commit-id: fd7d512e104c6325a38a7d0e09015235ca69b1da
2012-09-30 22:36:57 -07:00
John-David Dalton
db1a87d10c
Bump to v0.8.0.
...
Former-commit-id: b5bed986eed052cab3f927a928d92d58044a4798
2012-09-30 21:49:12 -07:00
John-David Dalton
4bae41ffd8
Use a better strict mode detect for tests.js so older versions of Node.js pass.
...
Former-commit-id: fd9f6ea35c71a8183ce0dcf4a6ec6e6afe13c39e
2012-09-30 21:45:50 -07:00
John-David Dalton
be36fb979f
Make .jamignore ignore test-build.js and test/template/.
...
Former-commit-id: cc6e5e744e81cfb92ae46a4991a39b5c925a0727
2012-09-30 21:39:00 -07:00
John-David Dalton
0f66d763e0
No longer create/use the dist/ folder during the build process.
...
Former-commit-id: d8d298d5ce21032542d21c4d4fbc7e0112f6ad65
2012-09-30 15:05:17 -07:00
John-David Dalton
06f4743f51
Add lodash.underscore.min.js.
...
Former-commit-id: 15592a33a6f6979a1d60632a6ade3c341f13d0e7
2012-09-30 02:49:48 -07:00
John-David Dalton
9cc11b8774
Cleanup build files.
...
Former-commit-id: d19939a34688a8a63979f84eb1a5c5f9c926897b
2012-09-30 01:55:26 -07:00
John-David Dalton
de821e55ae
Add template and settings build options unit tests and tweak _.template docs.
...
Former-commit-id: c814799c82e5a1dde60e5eda4dda5cb192d437f9
2012-09-30 01:03:43 -07:00
John-David Dalton
463b5c6e49
Tweak build option internals and add test template files.
...
Former-commit-id: ed5ec6ed7886a066c8c727de19dc0fe6548a276d
2012-09-30 00:57:09 -07:00
John-David Dalton
65ab5fdb34
Ensured failed tests trigger travis fails.
...
Former-commit-id: d513b5b1bae77ab1f4aa9e98ec3622e143048def
2012-09-29 19:54:39 -07:00
John-David Dalton
d2f7a035b3
Add test-build.js to npm test.
...
Former-commit-id: c915ba8401c1c1b11aa69d155cebe2a0a81eb2d1
2012-09-29 17:20:51 -07:00
John-David Dalton
bc0b924283
Reorganize tests.
...
Former-commit-id: 5293cdc1206af20824e8aec86b892afd4badf639
2012-09-29 16:42:13 -07:00
John-David Dalton
56ad6af5b2
Add travis integration.
...
Former-commit-id: 293478e5175ff94dab92bc340034d8d83e3e4773
2012-09-29 16:05:17 -07:00
John-David Dalton
c50bb3a5a9
Remove component.json and add index.js.
...
Former-commit-id: 16718a8ee6c4b6c834fe96feb58404311b82e3a0
2012-09-29 15:31:47 -07:00
John-David Dalton
d993a62263
Use invert to assign htmlUnescapes.
...
Former-commit-id: 20f9f29d622643e2f59bbc4a57fd2456c09ef49e
2012-09-29 14:36:23 -07:00
John-David Dalton
82bc52b909
Reduce underscore build size.
...
Former-commit-id: 207d4ab49063483245dc951d4646413d6d4a1903
2012-09-29 12:21:34 -07:00
John-David Dalton
f31598f916
Update README.md and rebuild minified file.
...
Former-commit-id: 0b37eebda0d1a82d0bb62cf2ba6e5b190e176547
2012-09-29 03:48:15 -07:00
John-David Dalton
6a9efd8ac6
Ensure build tests pass.
...
Former-commit-id: 9b91f0d884fe96dce1df34a6c0b659619276b83e
2012-09-29 03:41:00 -07:00
John-David Dalton
a9dddb6066
Update vendors.
...
Former-commit-id: 31e8de8842ed9ea020f54ca06cdb87b1478e3b08
2012-09-29 03:14:03 -07:00
John-David Dalton
40cf5c99ef
Update reduce repeated code.
...
Former-commit-id: 3412cde47a136dab5c241c67d1c29f2e676c38d1
2012-09-29 03:13:45 -07:00
John-David Dalton
42f58cbbb3
Fix perf.js.
...
Former-commit-id: 4eef40ddbcb851aca3a87813a17dc329f9ecb071
2012-09-29 00:17:27 -07:00
John-David Dalton
fd9c780015
Reduce file size further.
...
Former-commit-id: 009540db12d86f0fb79ccd493b61c4fa2cdd9b1f
2012-09-28 07:58:16 -07:00
John-David Dalton
383b92b207
Update build.js, test-build.js and rebuild docs.
...
Former-commit-id: 385c6b4cb127ad8089622416758021556e413a0a
2012-09-28 02:14:59 -07:00
John-David Dalton
7036ed5e2f
Remove falsey checks and reduce file size.
...
Former-commit-id: 5263a0beaffe2a987eb65fd3631ea4aff8d9f000
2012-09-28 00:46:57 -07:00
John-David Dalton
30666aa111
Update vendor.
...
Former-commit-id: 9f433cc31e3c70dddba332346c7d053539f54ab5
2012-09-27 20:53:49 -07:00
John-David Dalton
9614d68baa
Cleanup test-build.js.
...
Former-commit-id: d6588b8cc7cebe0ce44392269cdda1ebd851f1ae
2012-09-26 23:08:19 -07:00
John-David Dalton
c25fb4c743
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: a8dbad27cb89e403dbdafcc7cc69a397ae1e5bbd
2012-09-26 22:31:18 -07:00
John-David Dalton
09d5222b1f
Allow _.sortedIndex to accept a string value.
...
Former-commit-id: 7ac17a6bb620ad16ecce17718a8110d422d49118
2012-09-26 22:30:15 -07:00
John-David Dalton
426ca78bf7
Update vendors.
...
Former-commit-id: 48e14b4b41c9b26382b09294127e552a794e49be
2012-09-26 20:42:52 -07:00
Kit Cambridge
a77a0945fe
Add tests for the -d and -m options.
...
Former-commit-id: def5bcf323aaed96c037fea3e15c4a5c8c72a977
2012-09-26 09:26:40 -06:00
Kit Cambridge
5311a0f903
Allow the -d option to be used independently.
...
Former-commit-id: cb838b158edb8360d6d7c98ee18f2a7fbb4e9bb4
2012-09-26 08:59:33 -06:00
John-David Dalton
d421656be8
Cleanup build exports options.
...
Former-commit-id: 75a5f57c0c9f71067cf6d55006f59fa0296a82e2
2012-09-25 23:06:30 -07:00
John-David Dalton
04459eaa50
Remove internal skipArgsCheck from _.isPlainObject and add unit tests.
...
Former-commit-id: 213c1e95f61368eb8912850248a97f44664384d8
2012-09-25 09:05:09 -07:00
John-David Dalton
3beda8eea0
Add _ references to precompiled templates.
...
Former-commit-id: 4a6f38ec03790d647de4923262bba8d73378ce14
2012-09-25 02:10:35 -07:00
Mathias Bynens
5e894be06b
Fix typo
...
Former-commit-id: b9fa32da8453a1a928b16bc712a9f2ec53722341
2012-09-24 15:22:55 +03:00
John-David Dalton
bc8f93b596
Remove internal params from built docs.
...
Former-commit-id: 8b0be9d888ef88dae74554101463f4fa8d268dbc
2012-09-24 01:15:46 -07:00
John-David Dalton
2fb93bac99
Use a different private indicator for _.merge now that isPlainObject is exposed.
...
Former-commit-id: 5c75de935eb3e5e9e035bd6520398c7fbd811ea6
2012-09-24 01:06:58 -07:00
John-David Dalton
d0c94c1aef
Cleanup template build option.
...
Former-commit-id: 38b94dad822dd9030a6a71f66e65ff7aec0726cc
2012-09-24 00:03:41 -07:00
John-David Dalton
77242bfb95
Expose _.isPlainObject.
...
Former-commit-id: 884bc87df7773ef3cb5e52725d5a37f07812385a
2012-09-23 21:30:14 -07:00
John-David Dalton
5d2d86bffc
Initial lodash template=… build support.
...
Former-commit-id: 9d13021463380556a997cb53f5ae89eb22a7b98b
2012-09-23 21:29:20 -07:00
John-David Dalton
8492c13e72
Remove DRY modifications for smaller gzip size.
...
Former-commit-id: 69391d792d76c6592e7d48aec44165a8db388f81
2012-09-22 20:50:59 -07:00
John-David Dalton
e4eb5dadda
Modify "underscore" build methods in prep for Underscore.next.
...
Former-commit-id: 22503a046256915aa6667e32f6efb992c6ddbce9
2012-09-22 20:03:43 -07:00
John-David Dalton
8532dc4b75
Refactor reduceRight and modify a _.difference benchmark.
...
Former-commit-id: b70272ac5316fe1bee52b9611a1a5ea4d761dd3c
2012-09-22 16:11:23 -07:00
John-David Dalton
1ca26ce676
Ensure methods accepting a thisArg argument allow null values.
...
Former-commit-id: 368b943687291f0d7ed02304284ac076ef86e02b
2012-09-22 15:39:37 -07:00
John-David Dalton
d8e3e823a7
Removed Underscore's fixed issues from README.md and rebuild docs.
...
Former-commit-id: 08db54926a791ab32b7e003143ae0f70a251068e
2012-09-20 21:13:36 -07:00
John-David Dalton
473dd7660b
Reduce _.reduceRight and update vendors.
...
Former-commit-id: f7250ccb4b8f15052c1f1420947c2ac68963a92c
2012-09-20 21:06:32 -07:00
John-David Dalton
5afeed56ef
Cleanup _.difference and _.union.
...
Former-commit-id: 1fcaab3989caaaacd9fe73de071d8f360f52b715
2012-09-19 22:15:15 -07:00
John-David Dalton
b91b04f652
Update vendors and add _.reduce, _.reduceRight, and _.where benchmarks.
...
Former-commit-id: c1b4bc7f8aaf08c429ae918f5d528401f1a66255
2012-09-19 21:40:39 -07:00
John-David Dalton
25de44a23d
Cleanup _.template.
...
Former-commit-id: dc3fa2d02a9a4a2d4034136d2ce7f03d0b67224a
2012-09-19 01:06:45 -07:00
John-David Dalton
00cfb95971
Update vendors.
...
Former-commit-id: fddaef2be532e30f197f8bdff70dc6ec9bfa3cfc
2012-09-18 23:42:52 -07:00
John-David Dalton
f4ba0e1191
Simplify _.template and remove superfluous caching.
...
Former-commit-id: f9f18a63a77376471e69c95d5046dfe0146b9887
2012-09-18 23:42:26 -07:00
John-David Dalton
6499643769
Make _.random return 0 or 1 when no arguments are passed.
...
Former-commit-id: 7d20f5240d534f0091757f613c664b08e0d45759
2012-09-18 20:29:36 -07:00
John-David Dalton
f85287a444
Add "category" options unit tests to test-build.js.
...
Former-commit-id: 0499317babeb422e88700edd0f1e46c1fa6196fd
2012-09-18 01:22:10 -07:00
John-David Dalton
483bc9ad87
Add unit test to confirm correctly parsing delimiters.
...
Former-commit-id: 71aa7a240d2becb8082e36f9aa4874eb0aed09d3
2012-09-17 23:49:03 -07:00
John-David Dalton
93b89a93c1
Make _.times return an array of the results of each callback execution. [ Closes #73 ]
...
Former-commit-id: 808af6b9eb07bf1fada8221ca659558d82e6eb57
2012-09-17 21:48:26 -07:00
John-David Dalton
10064c046c
Allow build "plus", "minus", and "include" to accept case-sensitive category names.
...
Former-commit-id: f74d4cda73195854b3471ddce0afaab099dcfe77
2012-09-16 18:11:53 -07:00
John-David Dalton
a5aecb9d0e
Add minus and plus commands to build.js.
...
Former-commit-id: fcdd2e829de5a6a29ebc342e694b7986d9a5eade
2012-09-16 13:22:26 -07:00
John-David Dalton
de1e889f1d
Make lodash underscore build smaller and rebuild docs.
...
Former-commit-id: 19405bc4e490588d7a55379974d2d7d81d1cf5f7
2012-09-15 19:24:26 -07:00
John-David Dalton
16f89b40c3
Remove issues resolved by Underscore from README.md.
...
Former-commit-id: 27510827a1e60dd4cf81f5306991e3f63e8cedb5
2012-09-15 08:47:22 -07:00
John-David Dalton
0e387d2cda
Remove custom toArray checks in _.toArray and simplify array-like object checks in "Collections" methods.
...
Former-commit-id: 6b7678de16907f44c1b079a22a6a2e091a638d4b
2012-09-15 08:46:49 -07:00
John-David Dalton
837c15e4f9
Update vendors.
...
Former-commit-id: 1e93a793891e5f4e2c0d3927f3f38b25bd182263
2012-09-15 08:21:44 -07:00
John-David Dalton
ae7e353169
DRY more code in the "underscore" build.
...
Former-commit-id: c1dbc3daccb1efba371c38f20b9a4ff96a7171a4
2012-09-14 01:09:02 -07:00
John-David Dalton
6c1bbd2344
Tweak iteratorTemplate formatting and remove more code from "underscore" builds.
...
Former-commit-id: cbaa8e41a9a60b5828d2c0da7188d483702c55e1
2012-09-13 23:51:52 -07:00
John-David Dalton
27247e8e56
Remove freeExports var when not used via exports build option.
...
Former-commit-id: 66950af3a18b35412fbe1092e19c5d7ef0c9a029
2012-09-13 19:28:56 -07:00
John-David Dalton
08249d78ea
Add RequireJS "shim" test and a build test to ensure the AMD snippet is maintained for r.js.
...
Former-commit-id: 708c07877cfca0022d6d56c16c36d8bae79e4796
2012-09-13 19:11:48 -07:00
John-David Dalton
827091e522
Remove "lazy" bind from README.md until next version bump.
...
Former-commit-id: f132182f32670aa7df7ac418f58db0a1fb0f8547
2012-09-13 02:10:23 -07:00
John-David Dalton
13d901bf8d
Make the IIFE Closure Compiler regexp in post process more restrictive to work better with the "iife" build option.
...
Former-commit-id: 999602451e50850eb82680b9c377d97605be8af4
2012-09-13 01:40:28 -07:00
John-David Dalton
e69bdabc99
Rename makeBound to createBound for naming consistency.
...
Former-commit-id: ec6845badba06231af0b1341b1f1efedb8adbc88
2012-09-13 00:46:47 -07:00
John-David Dalton
e8d19265e4
Cleanup component.json.
...
Former-commit-id: 0761bb592e5c643223848e2cd7fca0efc5b9c725
2012-09-13 00:10:16 -07:00
John-David Dalton
49e3a49dc5
Update docs, minified, build, and vendors.
...
Former-commit-id: 8b1425b8c4a5238a42185dfa974bb3b2468eebea
2012-09-13 00:08:52 -07:00
John-David Dalton
82a7c01898
Simplify "underscore" build of _.clone.
...
Former-commit-id: 32975bb5966f1ded4f007eb76dcf2d4677478e7d
2012-09-13 00:04:53 -07:00
John-David Dalton
c0d7dbf639
Reduce code around _.bind and _.partial, and add _.lateBind.
...
Former-commit-id: 4c962d066ecfa54882cee2216a7310ab34b3b5a3
2012-09-13 00:04:00 -07:00
John-David Dalton
569caa0bf2
Remove custom isEqual checks from _.isEqual and custom clone checks from _.clone and simply _.clone, _.isEqual, and _.merge.
...
Former-commit-id: 45e90ab1494e46e281265f660c87e27f59581308
2012-09-12 22:00:23 -07:00
John-David Dalton
f88ea1ee7d
Re-order test-build unit tests and make the iife test a bit more thorough.
...
Former-commit-id: f798639cfa58241b052d16b9ca6fbf4537482349
2012-09-12 08:40:01 -07:00
John-David Dalton
d5a8fa0b97
Update underscore unit tests.
...
Former-commit-id: ae00a864c7cb3bff9970289917df681ad5e295d9
2012-09-12 08:39:18 -07:00
John-David Dalton
3f8f96edea
Add "mobile" build unit test.
...
Former-commit-id: f067b42618abe6a9f747fea000522de6a9117b3c
2012-09-11 22:30:23 -07:00
John-David Dalton
04fb4aff28
Update underscore.
...
Former-commit-id: 7041883ef258e3dc80d3c3751a5e4beecf0b4767
2012-09-11 20:15:13 -07:00
John-David Dalton
83c6fb089e
Ensure mobile build has properties correctly minified.
...
Former-commit-id: 61da738afbcefc7ecd277190147041d884002af1
2012-09-11 09:15:32 -07:00
John-David Dalton
9d8d17b964
Update cdn link in README.md.
...
Former-commit-id: 5da17daf1a6d1d5c9f6e9ba7875f45bd2d763cda
2012-09-11 07:41:47 -07:00
John-David Dalton
39d4842ff5
Bump to v0.7.0.
...
Former-commit-id: 7c51a310c7c62bfe0ba9a2cdea4e074e633cee70
2012-09-11 02:53:12 -07:00
John-David Dalton
cad8473986
Re-add overwritten _.isEqual unit test.
...
Former-commit-id: 52d4e3bc02a6fd0ac30177c9da82dec60ee6eb81
2012-09-10 23:41:20 -07:00
John-David Dalton
5f085ccb52
Fix typo in _.isEqual.
...
Former-commit-id: 9d5065953c51d12f1308dd8c0c142b6505efe765
2012-09-10 23:04:42 -07:00
John-David Dalton
b406246689
Add "iife=.." command to build.js.
...
Former-commit-id: 85d8c7ea550403663a878f2713ce93ae8c2dbc6a
2012-09-10 22:52:28 -07:00
John-David Dalton
cbe46afdff
Minor lodash.js cleanup.
...
Former-commit-id: 544f2a2690b48b52870b3ab62509221a82ed4173
2012-09-10 21:04:04 -07:00
John-David Dalton
a59d6dc3c7
Add minify.js Underscore unit test.
...
Former-commit-id: 1db7b19709ef953dd1996a082e73a2ba542f29f7
2012-09-10 20:35:27 -07:00
John-David Dalton
2afb2dd5fd
Reduce temporary objects created in _.merge, _.clone, and _.isEqual.
...
Former-commit-id: e6696642505f39eefdf59075ff8a993ab033465a
2012-09-10 20:12:42 -07:00
John-David Dalton
4fc3c969d3
Add component.json for Bower.
...
Former-commit-id: d681c2300b4e79fb168793aed34b82c3021647d1
2012-09-10 00:48:12 -07:00
John-David Dalton
1796ce324b
Cleanup build.js
...
Former-commit-id: 6a4502883d7431f5dcedbf7f7d3bfb871ce1c0f4
2012-09-09 23:30:38 -07:00
John-David Dalton
5e04c7f827
Add "output" and "stdout" build option unit tests.
...
Former-commit-id: 2adcdbff4cd1ef6319e33c69fd5ed3b07b205cfe
2012-09-09 20:33:08 -07:00
John-David Dalton
20fcede440
Add "-o" and "--output" build options.
...
Former-commit-id: 154c0a6b749ff2439c024602fb9ec781e293f511
2012-09-09 17:26:30 -07:00
John-David Dalton
012c1833f2
Added "-c" and "--stdout" options to build.js.
...
Former-commit-id: 388c529ca1836ee7cd65517d2e9f8533e480b8cd
2012-09-09 16:33:57 -07:00
John-David Dalton
32e8e03256
Add build "exports" unit tests.
...
Former-commit-id: afe0fe59933d272bfa597be835011b3c81b28dda
2012-09-09 16:00:11 -07:00
John-David Dalton
dca653cb92
Update minified build and docs.
...
Former-commit-id: a7719898e67aab04d37e775f4794b0be7a4a2e24
2012-09-09 14:13:18 -07:00
John-David Dalton
0805eca979
Remove Object.keys optimization from the "legacy" build iteratorTemplate.
...
Former-commit-id: 5a63b627c4982ca43a46a830722513cab2c7b633
2012-09-09 14:11:46 -07:00
John-David Dalton
17935a78ff
Make previous _.isEqual fix pass Underscore unit tests.
...
Former-commit-id: 2b3563bb628b307ad2e4a2ef00ed5afec2f59506
2012-09-09 14:11:07 -07:00
John-David Dalton
e16918ee32
Add "exports" option to build.js.
...
Former-commit-id: cc1572dbe9d1367f806a44597cbcec8508f51ad6
2012-09-09 13:12:44 -07:00
John-David Dalton
78471b4595
Cleanup test files.
...
Former-commit-id: 3b138bc74c2f4c2c6d374893c0f90a8422a7248b
2012-09-09 11:55:24 -07:00
John-David Dalton
c30bcdd515
Ensure _.isEqual matches values with circular references correctly.
...
Former-commit-id: 07968aeb430f56c32aab22dfda919706da840680
2012-09-09 11:54:32 -07:00
John-David Dalton
ac78c5f4e5
Make minify.js support passing minify an array of command-line arguments.
...
Former-commit-id: fd67d3d6dd8b19c88c74529a33fd50b2fbd0db01
2012-09-08 23:43:36 -07:00
John-David Dalton
57a990ce25
Add "underscore" build test.
...
Former-commit-id: 8050e285fae94c96e7db1c8847ace45ae5cade33
2012-09-08 19:30:58 -07:00
John-David Dalton
24825b42a2
Cleanup and add test-build to run-test.sh.
...
Former-commit-id: 29d198ca03dbd23b864a96ea48348fb22728056a
2012-09-08 14:20:46 -07:00
John-David Dalton
4f7323f7fc
Add test/test-build.js.
...
Former-commit-id: b0c28b814dec71095a927469cbbda766fd9fc701
2012-09-08 14:03:21 -07:00
John-David Dalton
a228be85e2
Cleanup compareAscending.
...
Former-commit-id: c11be9f8211242a8d25a2cd06e20efefa685c3ee
2012-09-07 23:56:28 -07:00
John-David Dalton
fa565bdbdf
Hold off on the version bump until test-build.js is finished.
...
Former-commit-id: a627062b1133cdb5a06a3fd960bbeaddfd0f9a54
2012-09-07 22:00:27 -07:00
John-David Dalton
2dc53223e5
Ensure _.template works with "interpolate" delimiters containing ternary operators. [ closes #68 ]
...
Former-commit-id: 287df2ef5802ea6db743da5f211e480d6b0f85c9
2012-09-07 21:17:00 -07:00
John-David Dalton
958ac72805
Ensure the internal stack argument of _.merge doesn't pave the 4th argument passed to it. [ closes #69 ]
...
Former-commit-id: b33e1cb7795294b9481e2c9c6888d0f37419208d
2012-09-07 21:09:21 -07:00
John-David Dalton
f7297b84e7
Tweak text of build.js help message.
...
Former-commit-id: 755872c9ae5670cc3a33aa158be4478eafacc574
2012-09-06 23:27:00 -07:00
John-David Dalton
9a7d9e7bb8
Ensure _.sortBy is stable for undefined values.
...
Former-commit-id: bf250150d27de050ea7a6fa376aacdc8d1ba7716
2012-09-06 22:35:20 -07:00
John-David Dalton
fa9df75cf7
Rework build.js to work as a module and add a "silent" mode to minify.js.
...
Former-commit-id: cf62532b957d37da77a2d64aa64d2d388e6382ae
2012-09-06 22:19:43 -07:00
John-David Dalton
e3ec76418b
Update Underscore/Backbone vendors.
...
Former-commit-id: beb38126acaebf1045c2676aeda037e35f0b99c8
2012-09-06 20:56:02 -07:00
John-David Dalton
102d6d8c84
Capture the result of the last func call in _.throttle and _.debounce.
...
Former-commit-id: 2e783fad2e86824bf098bdb24ca6911317576f32
2012-09-06 20:49:06 -07:00
John-David Dalton
a742b5f3e2
Rewrite build.js to be used as a module.
...
Former-commit-id: bf6425925e511a327b5297f9b17620a97ff53b67
2012-09-06 20:36:24 -07:00
John-David Dalton
a2a3bb291f
Let build.js handle the "use strict" directive and not minify.js.
...
Former-commit-id: 741eb692b158e22aa688d6dac1b63fc2787cc426
2012-09-06 00:41:18 -07:00
John-David Dalton
b7c0ac7d67
Tweak test/test-ui.js for QUnit v1.10.0.
...
Former-commit-id: 6481cce305fb4d69bba22ba2186a30ee13bb2282
2012-09-06 00:40:26 -07:00
John-David Dalton
13b1fc6b44
Remove an unneeded _.object unit test.
...
Former-commit-id: 2334bda13fbd9bd683b3f650ff47f1a676139319
2012-09-06 00:38:22 -07:00
John-David Dalton
3939fcf6e7
Allow unit tests to run when testing custom builds without noConflict.
...
Former-commit-id: 2aee7eb872144583df1f22743f5d3f7102d14eae
2012-09-05 07:12:35 -07:00
John-David Dalton
13abbb81af
Bump to v0.7.0.
...
Former-commit-id: 4ab5bfe3bba14182ffe24c05792b3b8f194afa0c
2012-09-05 01:12:57 -07:00
John-David Dalton
019f0153c8
Update alias style in docs.
...
Former-commit-id: d7b1eb9999f535c365ce3ea6251a359c7d901769
2012-09-04 23:47:27 -07:00
John-David Dalton
8abc2925e0
Fix invalid doc entry in doc/README.md.
...
Former-commit-id: 64721e5c3417a25b2f34f1f380b0cecc6561fa35
2012-09-04 22:29:06 -07:00
John-David Dalton
996c9a032a
Update docs to include method aliases.
...
Former-commit-id: b93b13a42381ba28b84a3e279d5157673b20fdce
2012-09-04 21:40:29 -07:00
John-David Dalton
22d3794d22
Update vendors.
...
Former-commit-id: ad3284b1e77cfb0b17af99e0ddaf00618e4485b7
2012-09-04 21:37:01 -07:00
John-David Dalton
ba948a38e9
Ensure to escape exports property for Closure Compiler.
...
Former-commit-id: 9b6bd1201e74d9e85fbc340bcabce40039239a59
2012-09-04 15:25:47 -07:00
John-David Dalton
e8a522c4df
Update README to reflect Underscore patches.
...
Former-commit-id: b0222d92b90e190c7c322e409ec877ca473f3594
2012-09-04 11:27:23 -07:00
John-David Dalton
c60f3da32e
Reduce size of "mobile" and "underscore" builds.
...
Former-commit-id: 062dc03e3d3dd7a8e1ceb6a8b4ea155394a9b899
2012-09-03 23:20:18 -07:00
John-David Dalton
0c92d3cbb2
Fix how post-compile.js unescapes properties to avoid extra work in pre-compile.js.
...
Former-commit-id: f604f706af358288877763681243f4816d5cbe9e
2012-09-03 21:40:23 -07:00
John-David Dalton
e4fc8dd6fe
Remove older Opera fixes from the "underscore" build.
...
Former-commit-id: a012ed6957b4d964b5f2dc1a636d7f5f19fbf307
2012-09-03 16:30:55 -07:00
John-David Dalton
1a849e2de0
Update docs and minified build.
...
Former-commit-id: 62f3293c13d5fa08f857ca455506b4762aa65416
2012-09-03 16:07:46 -07:00
John-David Dalton
ffdd79f86b
Adjust how _.template handles compiled syntax errors for compatibility with Underscore.
...
Former-commit-id: ba84c5b468938a1be1a1fd0afd31cb83f563e1ca
2012-09-03 16:05:47 -07:00
John-David Dalton
e87e46b1b6
Remove deep clone from "underscore" build and fix how invalidArgs are detected in build.js.
...
Former-commit-id: 5038d1541fa7d0c062e5a48004a60fb9140778d7
2012-09-03 15:42:02 -07:00
John-David Dalton
3ca81a4ff7
Fix Underscore detection in post-compile.js.
...
Former-commit-id: ad3c5cd28bc9ac0f6c9e5801c3849acd4305c528
2012-09-03 15:40:47 -07:00
John-David Dalton
5477d3c292
Cleanup iteratorTemplate and isPlainObject.
...
Former-commit-id: a96b8716cfd0efbc46daf2307fae8f1ee5969862
2012-09-03 15:36:18 -07:00
John-David Dalton
08300183b3
Cleanup build.js help message.
...
Former-commit-id: 36edcf06e78580835f33872f0c72a233604a4adc
2012-09-03 12:58:46 -07:00
John-David Dalton
095c77f22c
Inform users of invalid arguments passed to build.js.
...
Former-commit-id: 1b15dd2242387c7037678a3348931f5430612a8b
2012-09-03 10:50:25 -07:00
John-David Dalton
09926e63a3
Add 4th screencast link to README.md.
...
Former-commit-id: 07d890b65e7e4ed600173634f04a9783d18bc701
2012-09-02 16:15:56 -07:00
John-David Dalton
87d70f29a1
Make pre-compile.js and post-compile.js support underscore.js.
...
Former-commit-id: 76d040f630faf03bd5a8eb168259814f5662ba50
2012-09-02 16:11:29 -07:00
John-David Dalton
3a7661b111
Make _chain and _wrapped double underscored to further avoid conflicts.
...
Former-commit-id: 27f545d99cc383be05509ac7382e42fc727e0215
2012-09-02 12:57:53 -07:00
John-David Dalton
ec976953cd
Simplify wrapper inference in _.isEqual.
...
Former-commit-id: b4fda683ebee4c3f7dddd0cb87201306c08fa7d5
2012-09-02 12:04:35 -07:00
John-David Dalton
1837562b50
Cleanup README.md, update Backbone, rebuild docs and minified build.
...
Former-commit-id: 8f54e0a4b76cf1a42c11ca37f3e8672a75178d30
2012-09-02 02:44:26 -07:00
John-David Dalton
f3bec4fc37
Ensure optimized isPlainObject works with objects from other documents.
...
Former-commit-id: 2f782b3dfc19e7ea3274132c31cd408ee2387021
2012-09-02 02:35:02 -07:00
John-David Dalton
c2117ef4fd
Add _.result to "backbone" build.
...
Former-commit-id: c04ddcdbfb229440b19b268d51887bf31ae11296
2012-09-01 14:58:35 -07:00
John-David Dalton
910804ecd1
Avoid arguments object in _.random.
...
Former-commit-id: 24e54869ae03c0251f419c922f59f53f01b8fa35
2012-08-31 18:03:10 -07:00
John-David Dalton
ce5ae1dfdd
Simplify _.size.
...
Former-commit-id: a7d3338cbd5784ec6b9b6a25e18acd9507f4b21c
2012-08-31 17:58:34 -07:00
John-David Dalton
2c31411ffb
Optimize _.pairs.
...
Former-commit-id: 1de87609a8635fb8d48bc558fbdabc545da53b4b
2012-08-31 15:45:27 -07:00
John-David Dalton
84d69fa2a1
Update resolved issue count in README.md.
...
Former-commit-id: 41a22ec12d02a1cff5b172022c8260b80c63fe9b
2012-08-31 13:57:23 -07:00
John-David Dalton
2aea296d19
Update minified build and docs.
...
Former-commit-id: aed499a9ffee5fd7c1f29dad13a8c4e756b431d8
2012-08-31 13:53:04 -07:00
John-David Dalton
2b0bffc362
Ensure template delimiters are tokenized correctly. [ closes #64 ]
...
Former-commit-id: 814f3f8a840a70a9b455e5f91da0e21174f08787
2012-08-31 13:50:10 -07:00
John-David Dalton
83356142c1
Update README.md with API changes.
...
Former-commit-id: 4571a2331d433af28ae33813780f8abc9477437e
2012-08-31 13:36:16 -07:00
John-David Dalton
24dcc6947c
Update build.js and pre-compile.js for _.invert, _.pairs, and _.random.
...
Former-commit-id: 0dc281f6e1a07f0a4121f71c37e15a7ca0e18960
2012-08-31 13:35:40 -07:00
John-David Dalton
a7e3136a0b
Add _.random.
...
Former-commit-id: cf720b9187b0b54b43773a9f5f02fb475d786bfa
2012-08-31 13:33:44 -07:00
John-David Dalton
71639cfea7
Cleanup _.times documentation.
...
Former-commit-id: 59ce4b689bb280650d28944664abd6a38f1c43a0
2012-08-31 13:05:12 -07:00
John-David Dalton
8c2d39fb82
Add _.invert and _.pairs.
...
Former-commit-id: b265ed3f148e5e951b8d061107bb376e0b2e651e
2012-08-31 13:02:55 -07:00
John-David Dalton
e060d29337
Rename _.drop and _.zipObject unit tests.
...
Former-commit-id: d68abda2400244b7801eac9ad90de88b2f99a1f4
2012-08-31 12:59:18 -07:00
John-David Dalton
79e9156d2f
Make _.drop an alias of _.rest and rename _.zipObject to _.object.
...
Former-commit-id: 08cb9ec2d5009b9a9f959b2341f8b78f6bbd37a0
2012-08-31 12:57:52 -07:00
John-David Dalton
9100db55b0
Update vendors.
...
Former-commit-id: 88e9746e94e8ec899227b1a925bea4ab4d373fb0
2012-08-31 12:47:55 -07:00
John-David Dalton
141c10f6fe
Ensure noArgsClass references aren't removed for "underscore" builds.
...
Former-commit-id: 697e2d29d5fef32b0b10d775eee7a12d193ff1a9
2012-08-30 00:58:54 -07:00
John-David Dalton
4613ab9dc3
Update cdn links and tested browsers in README.md.
...
Former-commit-id: db952c5d72fa9e4d6ce3280574b9e4e26da8c928
2012-08-29 18:03:03 -07:00
John-David Dalton
061ad41b51
Cleanup link hashes in generated docs and update vendors.
...
Former-commit-id: 278366a7dacea91d965835b24ae7ec046f455110
2012-08-29 08:28:37 -07:00
John-David Dalton
3a0007cd18
Remove pseudo private properties from debug builds.
...
Former-commit-id: 839c2e47e19ba163f0c69d3c115ec9ee262d5d6b
2012-08-29 01:17:28 -07:00
John-David Dalton
0044917943
Ensure Closure Compiler removes isPlainObject when it's no longer needed in build.js.
...
Former-commit-id: 748de0f28f4e0733ef83a77fe2b1f6e40e4f8ce2
2012-08-29 00:34:58 -07:00
John-David Dalton
0337c04278
Bump to v0.6.1.
...
Former-commit-id: 68b59ea3e76d06d60acc81e30770b5899b8ea761
2012-08-29 00:14:40 -07:00
John-David Dalton
4585acf70b
Optimize isPlainObject.
...
Former-commit-id: 37754e27d03929927d8b8653bd7e44ad3ce2b23c
2012-08-29 00:05:02 -07:00
John-David Dalton
2ad9bbae25
Avoid issues in IE with other code containing comments like //@todo xyz.
...
Former-commit-id: 92ec6258539bf48144e9af05d0e326651a5fedda
2012-08-28 23:58:07 -07:00
John-David Dalton
cf075df7d1
Update cdnjs link in README.md.
...
Former-commit-id: 50a52807a505d0d559f9977e3b5c9532fa3f131e
2012-08-28 08:58:47 -07:00
John-David Dalton
11cd9905c4
Bump to v0.6.0.
...
Former-commit-id: 7339c27ba63208f23d94ae4a29dec53a43220bad
2012-08-28 01:47:22 -07:00
John-David Dalton
cf462542e9
Cleanup iteratorTemplate and remove more code from the "underscore" build.
...
Former-commit-id: 3f4c283f0aa205dbcce1940f7222b594284263c4
2012-08-28 00:30:52 -07:00
John-David Dalton
b63f25a1ae
Simplify _.unescape to match the behavior of _.escape.
...
Former-commit-id: ec7f4cf9a6f44b1ba99f467c47d7e04d5596d76e
2012-08-27 07:54:03 -07:00
John-David Dalton
7de69a21c5
Cleanup unescape comments.
...
Former-commit-id: 4c0a66d28ed8b04748e4d97755983ec328e53ca4
2012-08-27 02:54:55 -07:00
John-David Dalton
21783e4ea0
Add unescape to the dependency map and exclude unescape from the "underscore" build.
...
Former-commit-id: 20656e5226207e55713a286c7d7069b73170272f
2012-08-27 02:33:38 -07:00
John-David Dalton
53e5a756d7
Update minified build, docdown, and rebuild docs.
...
Former-commit-id: f198b30ba8963d8b69838ba31d2e3d8085537629
2012-08-27 02:09:04 -07:00
John-David Dalton
8c911a2fd0
Add _.unescape method. [ closes #63 ]
...
Former-commit-id: 10eada385fd0e1157271a2da6fb32de047d6d88a
2012-08-27 02:05:37 -07:00
John-David Dalton
ce440e9f43
Add hasObjectSpliceBug to avoid unnecessary use of the delete operator from the mutator Array function mixin.
...
Former-commit-id: 8e92914f451454323a1ff6ef8ec1886b41e54ced
2012-08-26 12:54:03 -07:00
John-David Dalton
6465f8d8e6
Cleanup docs for _.drop, _.pick, _.countBy, _.groupBy, and _.sortBy.
...
Former-commit-id: 0dc89937d067c996fd28b585f42c1e01e928441b
2012-08-26 11:41:17 -07:00
John-David Dalton
4bdf28059a
Cleanup unit tests, update minified build, and docs.
...
Former-commit-id: 5bca51894bf2fb01732a1ecc5873711d8abf3f9c
2012-08-26 03:09:19 -07:00
John-David Dalton
21010c6540
Add callback and thisArg arguments to _.drop and _.pick. [ closes #62 ]
...
Former-commit-id: 990655e9e849348c287b3d994d2e2dc741f78fbf
2012-08-26 03:06:43 -07:00
John-David Dalton
a5a6cabac6
Cleanup createIterator and _.contains.
...
Former-commit-id: 39d4c33e5af0d9338a1725b5c07332a14f453374
2012-08-26 01:07:36 -07:00
John-David Dalton
f460c77f2c
Ensure _.reduce works with string Objects in IE < 9.
...
Former-commit-id: 0ee3496e52f4c393900f37f03e451b8e4abba206
2012-08-26 01:04:09 -07:00
John-David Dalton
1c69d9213e
Update minified build and rebuild docs.
...
Former-commit-id: e9da1d37b6741caf19c47e8dd81b89df60e8410f
2012-08-25 21:50:52 -07:00
John-David Dalton
c02c2d3b2c
Optimize _.intersection, move largeSize default to largeArraySize, and cleanup _.where.
...
Former-commit-id: 9eaea7922623f1bd69f2b18578468a6fc9ba13fc
2012-08-25 21:50:08 -07:00
John-David Dalton
7adf5e763b
Cleanup benchmarks in perf.js.
...
Former-commit-id: f845855383e01c63d513cea53cec86abb4f4fb65
2012-08-25 20:13:24 -07:00
John-David Dalton
0e4afefc7f
Add more _.omit benchmarks and update Underscore.
...
Former-commit-id: b8de29706b381ebc000a7cbaa19aa0a2a628d6a8
2012-08-25 01:04:33 -07:00
John-David Dalton
c7f290f42e
Cleanup unit tests and update ticket reference in README.md.
...
Former-commit-id: c2433e841c20eb17334d375deabcf0605ed49a3b
2012-08-25 01:00:19 -07:00
John-David Dalton
bb553b8a6a
Update whitespace removal for delete operators in pre-compile.js.
...
Former-commit-id: 8dddeed54f8f13268f777d829ba52363706b9f4a
2012-08-25 00:56:00 -07:00
John-David Dalton
21eda2a1a3
Add _.omit as an alias of _.drop.
...
Former-commit-id: 630b0897bb49161fbc3b51a38c816b4bce548fba
2012-08-24 09:46:44 -07:00
John-David Dalton
48c13c990f
Update vendors.
...
Former-commit-id: f2a09b6501a34b2ae2d8e996b13c9da4fb048535
2012-08-24 08:26:34 -07:00
John-David Dalton
a2665529f6
Optimize method compilation with/without strict mode.
...
Former-commit-id: 05e4d9282116987b53a817b406c82c140a25c761
2012-08-23 01:49:44 -07:00
John-David Dalton
8d35d78eff
Ensure debug builds work against more build options.
...
Former-commit-id: 121b3605026d8f936e2ca0e3a03142cb08e75e66
2012-08-22 09:13:50 -07:00
John-David Dalton
a82a364c22
Update dependencies in build.js.
...
Former-commit-id: 020a52bdd604b55b078637aeb59e2e53483c950d
2012-08-21 21:21:24 -07:00
John-David Dalton
cc150ff9d2
Cleanup test.js and README.md.
...
Former-commit-id: af3372f58ecf8d979d22c88193589857c06ff7c1
2012-08-21 02:31:40 -07:00
John-David Dalton
feeb38293d
Update cdnjs link to v0.5.2 in README.md.
...
Former-commit-id: e519a03ad9016f8aebd2c703f29bb350bcd442f1
2012-08-21 02:13:53 -07:00
John-David Dalton
5b9271ccfe
Add isType benchmarks.
...
Former-commit-id: 875af51200d60eb6105eb36ab090e9f307a15340
2012-08-21 01:59:56 -07:00
John-David Dalton
e60bbc2fb7
Bump to v0.5.2.
...
Former-commit-id: 43998ef8cf3cbdb9205d702d950f9f59febc420b
2012-08-21 01:32:41 -07:00
John-David Dalton
387cc184e6
Keep test count consistent for Node.js.
...
Former-commit-id: ca0452ff4511c946946a2208b44471b1e2c6fc43
2012-08-21 01:31:54 -07:00
John-David Dalton
a830ddcb43
Cleanup perf/index.html.
...
Former-commit-id: 7592ee8ec0c6b2bb85d93d7dc599d814ef5a1eef
2012-08-20 22:46:35 -07:00
John-David Dalton
35fea30191
Cleanup string tests and add string test to _.toArray.
...
Former-commit-id: 3565f7233f1f7662604e3b8e1f07eead62349454
2012-08-20 22:45:57 -07:00
John-David Dalton
24b672b968
Update vendors.
...
Former-commit-id: 4ccda4fafe86514cdb45d191cb743baca9b1baa4
2012-08-20 22:43:43 -07:00
John-David Dalton
de6a3c5ab1
Switch order of performance.now check in perf/index.html and convert benchmarks to strings in perf.js for better compatibility with older browsers.
...
Former-commit-id: d766316c9c162e31dd0471d80b50ecfd1da2c9a8
2012-08-19 23:45:16 -07:00
John-David Dalton
260ff6de3e
Avoid using the nano applet in perf/index.html if it isn't needed.
...
Former-commit-id: 342983337140dd5608848b7f09d24038ea61d1a1
2012-08-19 15:35:38 -07:00
John-David Dalton
7cb37411c9
Ensure _.template won't error when passed falsey values, add _.template documentation, and DRY out tokenizeEvaluate.
...
Former-commit-id: b575de8bf968c2fc2655eadff0a09bcbff1e1753
2012-08-19 13:34:58 -07:00
John-David Dalton
e4e41e5ef8
Cleanup _.template docs and generate less unused code in compiled templates.
...
Former-commit-id: e6703414b83e9286d9ce5e14214375bbbaf9285f
2012-08-19 02:13:43 -07:00
John-David Dalton
985f4aafca
Update minified build and rebuild docs.
...
Former-commit-id: 0c2c5769a94c0591359fcc7d0ae55ccfe975c38b
2012-08-18 21:44:35 -07:00
John-David Dalton
0c25dd44b3
Ensure _.isElement uses strict equality in its duck type check.
...
Former-commit-id: 6348026ebdc219ef1df9926aca1d8df66e472de9
2012-08-18 21:41:29 -07:00
John-David Dalton
285f0bc6dd
Ensure isXYZ methods return boolean values and almost all methods allow falsey arguments.
...
Former-commit-id: a842eaf2fd262bed03df4a71b560b91801b7a75f
2012-08-18 20:52:31 -07:00
John-David Dalton
07a370fd24
Update cdnjs link to v0.5.1 in README.md.
...
Former-commit-id: 3c00694a949b4f30be48a898f1f2a9046b2573d1
2012-08-18 10:02:38 -07:00
John-David Dalton
95f07ea38a
Add stable-sort note to _.sortBy documentation.
...
Former-commit-id: 17b9818baa6ff72ce5762ec8b3cc01bbac8725bb
2012-08-18 03:40:42 -07:00
John-David Dalton
2890b92b21
Tweak to _.bind unit test for Narwhal.
...
Former-commit-id: 5df60a9d1e46b09253151ab39281c5af0c48544f
2012-08-18 03:37:43 -07:00
John-David Dalton
8b80c5d0b5
Bump v0.5.1.
...
Former-commit-id: 09922fa2e936e0b112100690a04d6437131904a8
2012-08-18 02:20:30 -07:00
John-David Dalton
04425786a1
Ensure _.bind correctly appends array arguments to partially applied arguments.
...
Former-commit-id: 4fdb100f83ff9a0eafcba3f5bf91872748205595
2012-08-18 02:11:40 -07:00
John-David Dalton
15b14e12e2
Change to triple-backtick code fences.
...
Former-commit-id: 81d38ed0155734a72d98b2e16425635da907aa01
2012-08-18 00:04:17 -07:00
Mathias Bynens
b328972c4d
README: Switch to the triple backtick syntax for highlighted code blocks
...
Former-commit-id: c4fba0c9cf7e8b0fdfc846260b148ecd327c0a1f
2012-08-17 19:31:03 +02:00
John-David Dalton
da3156047f
Update minified build and rebuild documentation.
...
Former-commit-id: ab353b4c73c47b51144f5a917aeb53682b40552e
2012-08-17 08:17:14 -07:00
John-David Dalton
f9f08ba54f
Optimize isPlainObject use in _.clone.
...
Former-commit-id: 7bb48bc5f9276c730f947b6e75b6fba4588f17c1
2012-08-17 08:16:31 -07:00
John-David Dalton
b43684262f
Cleanup _.template documentation.
...
Former-commit-id: 7b45705bd8a4661dbf824912798ccba15e5ed989
2012-08-17 04:05:50 -07:00
John-David Dalton
2120f78bd7
Fix typos in README.md.
...
Former-commit-id: fb31a291a3afe799d2e9809f17420eda10888250
2012-08-17 02:54:19 -07:00
John-David Dalton
2d896f22d6
Bump to v0.5.0.
...
Former-commit-id: f30f4b99104c94fb52df4c90dcda24b8ac51432c
2012-08-17 02:28:42 -07:00
John-David Dalton
9fa0aebfe9
Add check for V8 bug #2291 .
...
Former-commit-id: 245f156a2ce1ee92c8f8f8f34b9891ba4eff0d23
2012-08-17 02:12:17 -07:00
John-David Dalton
2ddc3af5ff
Fix jQuery/MooTools DOM collection unit tests in IE6.
...
Former-commit-id: b9c3dbcffb28b0088018614e21fbe313b0d53713
2012-08-17 00:25:52 -07:00
John-David Dalton
fd80e096ea
Remove noArgsClass check from isPlainObject.
...
Former-commit-id: bab7a68e8eaa21679b33b2ab70a9f8e47758ebc1
2012-08-17 00:10:03 -07:00
John-David Dalton
fab2d69fce
Ensure _.sortBy performs a stable sort. [ closes #59 ]
...
Former-commit-id: 09c5ff85ef0f1d054579ec4260a7f76d9c0da281
2012-08-16 23:24:59 -07:00
John-David Dalton
83d08e3aba
Avoid false positives for arguments objects in IE < 9 when using isPlainObject.
...
Former-commit-id: 19e5a6efed32f26d0c908771eec40e7fb2ecf265
2012-08-16 22:22:08 -07:00
John-David Dalton
bfea6bcacf
Maintain up-to-date minified underscore-min.js and use in perf tests.
...
Former-commit-id: 6317df872bd6136d81763d27a62a444f6e392537
2012-08-16 21:21:48 -07:00
John-David Dalton
feff34b021
Update vendors.
...
Former-commit-id: 44c2fe9fbfbf50aa64663d46b45d6fd2c778f2b7
2012-08-16 21:20:54 -07:00
John-David Dalton
79fbade92a
Minor unit test cleanup.
...
Former-commit-id: 3243247d9da53f3a12cd19bec822bb43eb7f315e
2012-08-16 21:20:05 -07:00
John-David Dalton
bf508e453e
Remove unused funcClass variable from compiled functions.
...
Former-commit-id: f47b8e412b5151e69a3ab78f03243c461b5ab072
2012-08-16 21:19:47 -07:00
John-David Dalton
47b51c22fa
Ensure build tweaks are applied when new lines break up specific patterns.
...
Former-commit-id: 085a837521750457db9f20f3701984cba24a4f4f
2012-08-14 23:15:04 -07:00
John-David Dalton
ebd16105f2
Detect and remove additional unnecessary brackets from template strings during the build process.
...
Former-commit-id: 0b9786e7d41497fd1627e31401a5e7e0926eea9c
2012-08-14 00:12:27 -07:00
John-David Dalton
01fb1a5775
Optimize _.isFunction.
...
Former-commit-id: 0aaaa6d166c7eea94237388d61a11c6d183cbe1f
2012-08-13 23:11:01 -07:00
John-David Dalton
b8c2a05db9
Add strict comparison note to _.intersection and _.union documentation.
...
Former-commit-id: 47792d96e77fdeb6f00db1e4d30b41a6f1a59dbb
2012-08-13 07:37:26 -07:00
John-David Dalton
4087dc5fe4
Reword unit jQuery/MooTools DOM query collection unit test.
...
Former-commit-id: c80673f799ce6f1449d043eabf76fd6970a70b77
2012-08-13 00:45:38 -07:00
John-David Dalton
408029e6e0
Don't expose _.forIn or _.forOwn if underscore build modifier is present and include doesn't contain forIn or forOwn.
...
Former-commit-id: 6ebd0bc61d3ae6e2d0506fe72dd22ed59c601c70
2012-08-13 00:44:37 -07:00
John-David Dalton
23ff403529
Update vendors.
...
Former-commit-id: b239f365c9d8e012bf20525167e6d1a412ce828e
2012-08-12 22:33:27 -07:00
John-David Dalton
be4f81f584
Remove more unnecessary brackets from template strings during the build process.
...
Former-commit-id: c8e3dfe7d34f9c61fff75512fb4587a987bdf49f
2012-08-12 21:41:41 -07:00
John-David Dalton
361c91e610
Add support in _.isEmpty and _.size for jQuery/MooTools DOM query collections.
...
Former-commit-id: dc834256d09d7a3f2797ba65690961aad00717bf
2012-08-12 21:40:46 -07:00
John-David Dalton
2aa2ea9675
Fix edge issue with Opera 10.53-10.60.
...
Former-commit-id: 60014a8e3855bcbf0e4c6f47461123cacafcf668
2012-08-11 21:47:04 -07:00
John-David Dalton
e084225edf
Cleanup .npmignore and ensure perf.js will work in the package.
...
Former-commit-id: e03213fba34c38af2be9003f5be4837d293198e1
2012-08-11 21:36:14 -07:00
John-David Dalton
9ce342205b
Add Jam package support.
...
Former-commit-id: 399caeea73fc79dd340baa7e34b46179ff2beb86
2012-08-11 21:35:06 -07:00
John-David Dalton
0edf50e00e
Update edge links in README.md to v0.5.0-rc.1 tagged links.
...
Former-commit-id: 1f9fea70c6608d980cc8c8fd7d0a39764cf14fa2
2012-08-09 00:24:53 -07:00
John-David Dalton
1ea19daad9
Clear the func variable in _.once so the function may be garbage collected.
...
Former-commit-id: 521a9d997cb206a5c468b30e5dfa8e096e1a13d5
2012-08-09 00:16:35 -07:00
John-David Dalton
32b302314e
Add doc links to the change log entry in README.md.
...
Former-commit-id: 3c6c79de33331f14af2d5d2c64d1286c67bfb774
2012-08-07 08:20:00 -07:00
John-David Dalton
ee197e02a2
Updated tested environments and resolved issues in README.md.
...
Former-commit-id: 7d8cc17bad215d87c8c11210d58e1927c5766145
2012-08-07 08:04:46 -07:00
John-David Dalton
7cd6ffec2a
Bump to v0.5.0-rc.1.
...
Former-commit-id: f5a29fd34de5aced3287413f40a0a36226465c84
2012-08-07 00:47:15 -07:00
John-David Dalton
0077580838
Fix failing unit tests in various browsers.
...
Former-commit-id: 9b5c6e82e0dfed79c505f41b66030ede81ca9a1c
2012-08-07 00:17:04 -07:00
John-David Dalton
4d85a79fd1
Add note about Chrome extensions to _.template.
...
Former-commit-id: 97b5220ebc3dbbd30b0e52f6c804b449b8d451ca
2012-08-06 08:03:54 -07:00
John-David Dalton
a35139bb61
Fix typo in test-ui.js.
...
Former-commit-id: 95057e80cfac9d7d776170d66f2c2bfdd364944f
2012-08-06 02:02:23 -07:00
John-David Dalton
f72b833724
Ensure _.keys works with arguments objets cross-browser.
...
Former-commit-id: 1238c9efcfc13a420804c26c5edee1e4aa5a4238
2012-08-06 01:51:47 -07:00
John-David Dalton
0e16bac6e2
Rebuild documentation.
...
Former-commit-id: d24c2fb65a54b018da9ad08aa3a67363a31c1122
2012-08-05 23:38:23 -07:00
John-David Dalton
e17564b362
Add unit tests for exiting early from _.forEach, _.forIn, _.forOwn.
...
Former-commit-id: 18d55054989d3b55afce1f4d604cd274eb9289c8
2012-08-05 23:09:05 -07:00
John-David Dalton
90b66eddf5
Add _.keys unit test for arguments objects.
...
Former-commit-id: dd90a9d3dc973a6ea8dce0c10ad511cce82097dd
2012-08-05 22:37:43 -07:00
John-David Dalton
2862a5849f
Document how _.each, _.forIn, and _.forOwn may terminate iteration early by explicitly returning false in the callback.
...
Former-commit-id: e218eae83de880deecf1e45d32ca019efd25b548
2012-08-05 00:29:18 -07:00
John-David Dalton
7e839231ed
Add iteratesOwnLast bug check.
...
Former-commit-id: fcc42a42f08e60acc1252ec06b045cfee17bd020
2012-08-05 00:09:00 -07:00
John-David Dalton
fa56a4bb73
Cleanup build.js and update dependencies for _.clone, _.isEmpty, _.isEqual, _.merge, and _.size.
...
Former-commit-id: df19990609a3dd8432694798149a5eb5bda142c4
2012-08-05 00:02:33 -07:00
John-David Dalton
dff950748c
Fix the build to work with _.merge.
...
Former-commit-id: cb1d9897b97b357197bb6933c65f4afbecea1aea
2012-08-04 17:13:09 -07:00
John-David Dalton
b7374e3f8e
Ensure merge works with sources containing circular references.
...
Former-commit-id: cb3301868299c4e4d32a3d3608199e4269d951ec
2012-08-04 17:12:25 -07:00
John-David Dalton
4244b92b08
Update minified build and rebuild docs.
...
Former-commit-id: f80bacba89ab171aae61d5ce7269e8507117bffa
2012-08-02 00:33:39 -07:00
John-David Dalton
4f688028ad
Update vendors.
...
Former-commit-id: d1dd2ecf337cf8cda71e0da2af0647813b8de24a
2012-08-02 00:32:15 -07:00
John-David Dalton
5a9a18501d
Add _.merge.
...
Former-commit-id: e393655b1fa41c8eb6ae1b925f456aa05231078a
2012-08-02 00:28:19 -07:00
John-David Dalton
896b8f7cf1
Remove noNodeClass from "mobile" and "csp" builds.
...
Former-commit-id: 0773f7b1c1ea637d0d519a3015d1534863a9be11
2012-07-29 23:54:52 -07:00
John-David Dalton
95bd1b014f
Rework the noNodeClass inference to detect the JScript quirk too.
...
Former-commit-id: 3a6b73509490d7e87d2322fe1c09890f5f6b57ea
2012-07-29 23:48:07 -07:00
John-David Dalton
dbdf8642bb
Rebuild documentation and update the minified build.
...
Former-commit-id: c4d4281f16250f50ea4d5337a53acceedd2ce660
2012-07-29 14:18:05 -07:00
John-David Dalton
c3cd9007d2
Add unit tests for _.where.
...
Former-commit-id: 5247bba20d7aa772867e29def99221faea376db1
2012-07-29 14:17:34 -07:00
John-David Dalton
8079fb5bc5
Reorganize and cleanup code for _.where.
...
Former-commit-id: 769dfafc1701c5ebc2d351abeb729ca6fcfa12e9
2012-07-29 13:49:23 -07:00
John-David Dalton
80d0b5d4ed
Add _.where. [ closes #22 ].
...
Former-commit-id: dec7a9d0df4158a395ec84fb9e774ed20205d421
2012-07-29 13:48:21 -07:00
John-David Dalton
86bd847bf9
Ensure _.isEqual works correctly for objects from another document and add _.clone benchmark.
...
Former-commit-id: b1ef745ec6c24e8ea0c8fae304ead80c60dfd5aa
2012-07-29 00:58:23 -07:00
John-David Dalton
943004844a
Ensure the callback of _.filter can't modify the resulting value.
...
Former-commit-id: 6652dc5926390e8418b524c7ffd2347c2fa65c82
2012-07-26 23:24:17 -07:00
John-David Dalton
4ff12e0426
Fix recent typo in isEqual.
...
Former-commit-id: 84cdf90de59c8184a0ac1f78704f61dcc88c91f1
2012-07-25 01:35:56 -07:00
John-David Dalton
0d7bdb6fa8
Make _.range coerce arguments to numbers.
...
Former-commit-id: 5408800fef0bc8a418c298a112049232b6d85e78
2012-07-25 01:32:28 -07:00
John-David Dalton
6d488b6a81
Update minified build and rebuild documentation.
...
Former-commit-id: 5f0ea311b51723c225774d735f67fc58f55a4d6e
2012-07-24 02:15:20 -07:00
John-David Dalton
f1d0263ffa
Add csp Content Security Policy build.
...
Former-commit-id: f922046de5150c098eb7f6d3b6901552117631e7
2012-07-24 02:13:31 -07:00
John-David Dalton
24035caadb
Keep objects in the stack array of _.isEqual in case a cyclical object is used in a sibling property.
...
Former-commit-id: 33ffcec837322f4d479f64f9ec6b14184bf5f7a2
2012-07-24 02:13:07 -07:00
John-David Dalton
ed89a3e0f8
Check for custom isEqual methods in _.isEqual before other comparisons and add cross-browser support for arguments objects.
...
Former-commit-id: 56e40f670309aeb0dcda7868c8aa84b5909db1f1
2012-07-24 01:45:34 -07:00
John-David Dalton
7088ab89f1
Add deep clone support via the deep argument to _.clone.
...
Former-commit-id: d4fad45364489efb957d29e201846e8c1875b9ed
2012-07-24 01:41:38 -07:00
John-David Dalton
d4688bd76b
Adjust _.wrap docs and rebuild/update the minified build/docs.
...
Former-commit-id: b33c4489bde49c98e7e161d0f831e07388a9da22
2012-07-20 03:22:13 -04:00
John-David Dalton
befe0fccaf
Cleanup _.isEqual comments and ensure _.isEmpty/_.size detect arguments objects correctly.
...
Former-commit-id: 75b044d27b990d55393bf27234aad6ce369f6abe
2012-07-20 02:06:13 -04:00
John-David Dalton
a192410498
Remove Narwhal link from README.md.
...
Former-commit-id: b8bd53c9a19ef18480db14cfa82545aa872416b1
2012-07-19 09:15:04 -04:00
John-David Dalton
d43ede3a11
Update vendor/underscore and backbone.
...
Former-commit-id: 614926653b0b1669f8a5533666adb0aecbd46c03
2012-07-19 01:32:47 -04:00
John-David Dalton
9848ffb77f
Add _.countBy and related unit tests, benchmarks, and documentation.
...
Former-commit-id: 915eaf414883a1dc344a558b08c7a1337ab5a225
2012-07-19 01:29:51 -04:00
John-David Dalton
7487497d1f
Update minified build and rebuild documentation.
...
Former-commit-id: e674d7a30c1e5745b0acf90e38aa5757b15a3423
2012-07-18 04:52:13 -04:00
John-David Dalton
be11c848f4
Add "underscore" build.
...
Former-commit-id: 44e9f4543631cbf342ae7571cf540214623352db
2012-07-18 04:51:08 -04:00
John-David Dalton
9836b274b9
Add _.drop, unit tests, and cleanup documentation for _.extend, _.defaults, and _.pick.
...
Former-commit-id: a45b0c45d52fdbe5f71984412d631f3dfe87965b
2012-07-18 03:55:16 -04:00
John-David Dalton
a96d14566f
Add Underscore ticket reference to Fix cross-browser object iteration bugs bullet in README.md.
...
Former-commit-id: 9814daf6b81f1c60b3c6681c10c1fc7b94ac61b8
2012-07-18 02:15:16 -04:00
John-David Dalton
1c8cd8c168
Ensure reEvaluateDelimiter is assigned an initial value if evaluateDelimiter is undefined by default. [ closes #52 ]
...
Former-commit-id: 6cefeeca164901e611009ce1413e5080027592c9
2012-07-18 01:53:15 -04:00
John-David Dalton
5f5806a98e
Update CDN link and rebuild documentation.
...
Former-commit-id: 32210baffaed31b7fb4daed58a0c0a4f22daf4f0
2012-07-17 01:41:21 -04:00
John-David Dalton
624b045ac0
Add unit tests and code comments for the conditional compilation patch.
...
Former-commit-id: 557aa43dc7c8db738452a9f3afb8ff2aadf8061a
2012-07-17 01:39:51 -04:00
Jay Phelps
0f8bae950e
Ensure running in IE if concated with other files that enable conditional compilation /*@cc_on @/`.
...
Former-commit-id: cf2d9c01ce92b8b85149116d48145bc4342471a4
2012-07-16 20:07:55 -04:00
John-David Dalton
fcede42903
Add Unit testing video link to README and minor cleanup to build.js help text.
...
Former-commit-id: 504b69acede1bb4759ba942d01dfd0b899715f00
2012-07-16 18:28:34 -04:00
John-David Dalton
5defe7d975
Bump to v0.4.2.
...
Former-commit-id: 48638d63970b9d4300661620b881ea34854d24d2
2012-07-16 14:34:48 -04:00
John-David Dalton
7e79903fe8
Update tests to work around QUnit 1.9.0 bug in Narwhal/older-Firefox and add platform.js to test/index.html.
...
Former-commit-id: eed8246c795735558ba9f499b86f08ed3970ccaf
2012-07-16 13:58:36 -04:00
John-David Dalton
a2fa52504c
Ensure stringClass isn't stripped out when needed for certain builds and update dependencies for arrayClass, funcClass, objectTypes, and reNative.
...
Former-commit-id: 334973dcab4660733e1d081efe3602a167c452d9
2012-07-15 07:01:44 -04:00
John-David Dalton
2629f85e73
Update minified build and rebuild documentation.
...
Former-commit-id: 5b434ca8c22a44d1603dcc1e92bf4caea6fe00a1
2012-07-15 03:52:22 -04:00
John-David Dalton
8577816234
Add optimizations for large arrays to _.difference, _.intersection, and _.without.
...
Former-commit-id: 26d55a6a3340e77b5269b2003d20def3fe77bca9
2012-07-15 03:51:28 -04:00
John-David Dalton
e58d47a3b2
Add "strict" build.
...
Former-commit-id: fcdd8d36c9e0c6d698059541b97915ae1b28650e
2012-07-14 08:59:50 -04:00
John-David Dalton
c9c83ee7e6
Add _.invoke benchmark to perf.js and a link to the compatibility changes wiki entry in README.md.
...
Former-commit-id: 51296709ea8d9dd6e951530b9874b90af3c764a2
2012-07-14 06:21:59 -04:00
John-David Dalton
139693dce6
Optimize benchmark setups, cleanup perf/index.html, and add platform.js.
...
Former-commit-id: 228b7b6fd230638f9ec8c79eafa56506fc84b79a
2012-07-14 04:51:50 -04:00
John-David Dalton
f98193d822
Poll until Firebug-lite is loaded.
...
Former-commit-id: c568ed963fc5716c2c84d63aba45a8ef258c1e7b
2012-07-13 14:41:21 -04:00
John-David Dalton
8052f1ac9d
Revert unstable Closure Compiler.
...
Former-commit-id: 81716f0c269ac8a5befbf584c0dc964777cc1e1a
2012-07-13 04:33:50 -04:00
John-David Dalton
4f78a06993
Add _.isEqual benchmarks.
...
Former-commit-id: 5b3ee06ea3f31f10e8fac96da8766cc1c4c2d3bb
2012-07-13 04:17:38 -04:00
John-David Dalton
6c4b4b392b
Avoid expensive test setup in perf.js.
...
Former-commit-id: f1c1ed41cb86c83aba2c3f7da1dedf6a280221ad
2012-07-12 18:19:23 -04:00
John-David Dalton
268fe34238
Update Closure Compiler.
...
Former-commit-id: bfdbe43546f3861cbeaaa99644af68e95f2175d5
2012-07-12 16:54:17 -04:00
John-David Dalton
cc620205d6
Control "use strict" directive use in builds.
...
Former-commit-id: 66a9bdee5cc61710d7d42d685feba616ec855322
2012-07-12 16:25:30 -04:00
John-David Dalton
f0d7c97b7b
Update test-ui.js to better integrate with QUnit 1.9.0.
...
Former-commit-id: 7e6083ebb54fde0ebaa9f4f4551bb190e602a370
2012-07-12 15:48:52 -04:00
John-David Dalton
660a6e9e4c
Update minified build and rebuild documentation.
...
Former-commit-id: 6e747961d3d756d016a27b530bf961841a93bd00
2012-07-12 15:27:25 -04:00
John-David Dalton
3386c2a7a5
Avoid enforcing strict mode in _.defaults, _.extend, and _.bindAll and add benchmarks for _.bindAll and _.functions. [ closes #45 ]
...
Former-commit-id: 1bb0b5155d3ae46052b4a06cb538dff307e8ec5e
2012-07-12 15:25:18 -04:00
John-David Dalton
9530efb4d4
Update vendor folder.
...
Former-commit-id: 363508c8d79afa1ec8c1aba48b5be58a8a572367
2012-07-12 13:32:48 -04:00
John-David Dalton
4293515b3d
Add help and version options to build.js.
...
Former-commit-id: 95a9fdaa7a00550922e71ce01a3f742b845d082c
2012-07-12 13:31:42 -04:00
John-David Dalton
61105e0679
Cleanup inline documentation.
...
Former-commit-id: 1fa95d45c2c3d1fe50f5827f4743aad3c8b75f95
2012-07-12 03:27:15 -04:00
John-David Dalton
79a289c7e2
Update CDN copy link.
...
Former-commit-id: 4d0d26292eef227f343f6b482856482f8f554a43
2012-07-12 02:06:55 -04:00
John-David Dalton
46781e7614
Bump to v0.4.1.
...
Former-commit-id: ef73c95edc22d59412affba898d9820251c06b5b
2012-07-12 00:47:24 -04:00
John-David Dalton
1f3546a9f6
Cleanup pre-compile.js and build.js removing more unused vars missed by minifiers.
...
Former-commit-id: 198715b39ced1a33bd55109099af462ae96a7188
2012-07-11 23:37:12 -04:00
John-David Dalton
0dc88bb412
Fix template regressions. [ Closes #44 ]
...
Former-commit-id: 15e98d86c290fea74780822b49b5d71e54064e01
2012-07-11 22:46:16 -04:00
John-David Dalton
971a26c123
Remove noArraySliceOnStrings from the mobile build.
...
Former-commit-id: 943f907672f211be4f3d1c2e8fe8d5769a0a569e
2012-07-11 12:48:37 -04:00
John-David Dalton
0976a3b721
Bump version to 0.4.0.
...
Former-commit-id: e3606a629e44711ad9174ac7c6690f2a53f088b9
2012-07-11 11:59:04 -04:00
John-David Dalton
d496361555
Fix failing unit test in Opera < 10.52 and add _.toArray benchmarks.
...
Former-commit-id: 0ed6d5c52b2486be4ccc212da7bbc7cb6d67cf7f
2012-07-11 11:29:44 -04:00
John-David Dalton
60ed65a73a
Add utf8 encoding to the generated minified file in minify.js.
...
Former-commit-id: 2765e28a177ae2703d3b1a6328a35cf5c92fa6ef
2012-07-11 05:54:19 -04:00
John-David Dalton
d1407b3bd0
Add unneeded vendor folders to .npmignore.
...
Former-commit-id: 7be56b8081be64d41cc66914dce577695d9d0747
2012-07-11 05:40:25 -04:00
John-David Dalton
5ca2da76df
Make build.js work as a npm executable.
...
Former-commit-id: fff327957854aa85a5abfe80994b59f3d0d24370
2012-07-11 05:39:30 -04:00
John-David Dalton
2ac887ff74
Make compiled templates more debuggable.
...
Former-commit-id: aba1aa3efcea6695632aae0eb61148aa3174debd
2012-07-11 01:52:50 -04:00
John-David Dalton
cbdc9c0be1
Make _.contains work with strings similar ES6 draft String#contains.
...
Former-commit-id: 3cfffdcddec3e1e8175da95043ec86ac3c6a85fe
2012-07-11 01:11:25 -04:00
John-David Dalton
b9bade8d5a
Remove unused UglifyJS file.
...
Former-commit-id: cfefdb6796583cc55a16ce02533541e6395e4356
2012-07-10 23:22:01 -04:00
John-David Dalton
eb43786641
Cleanup unit tests.
...
Former-commit-id: 460ffc3bd38c98dd86fc8c74d4720eed5d50433d
2012-07-10 22:04:40 -04:00
John-David Dalton
0515db3d7c
Add more false values unit tests for _.size and "Arrays"/"Collections" methods.
...
Former-commit-id: 475941321404ceec4eabb56fb9ee10855a653e12
2012-07-10 21:41:38 -04:00
John-David Dalton
db257778c0
Update vendor folder.
...
Former-commit-id: dde7c53eee254e2f50608e65540893764ab8d9cb
2012-07-10 18:14:15 -04:00
John-David Dalton
3b37d7489f
Add legacy build info to README.md and rebuild minified file and documentation.
...
Former-commit-id: 83560976f173a3c797128b08fb184cc7c1e77319
2012-07-10 01:27:07 -04:00
John-David Dalton
329c7e8e05
Add custom-debug build to unit test runners and add unit tests for passing strings to "Collections" methods.
...
Former-commit-id: cb6c66d01a9f30908a27e689f8ffba5fa9f04299
2012-07-10 01:06:06 -04:00
John-David Dalton
fad9b4fa72
Add support for strings in "Collections" methods.
...
Former-commit-id: 1abb252101d20c9a01291f4cef19db8a7eeda743
2012-07-10 01:05:22 -04:00
John-David Dalton
c1a81279ed
Rename test/ui.js to test/test-ui.js and add to .npmignore. [ closes #40 ]
...
Former-commit-id: 80165ec342e8b833a28bbe66f59e074c8f4f5185
2012-07-09 07:54:35 -04:00
John-David Dalton
8bb35a17d2
Allow different builds to be tested more easily with a dropdown menu.
...
Former-commit-id: a692bda9708523aa0443acb35dd8fcc5a342ef3f
2012-07-09 03:56:43 -04:00
John-David Dalton
36415054ea
Update minified build and documentation.
...
Former-commit-id: fc680301b9ae378139e5174e48eb8e4708fddba0
2012-07-08 18:10:10 -04:00
John-David Dalton
3e84cbae69
Add removeKeysOptimization function to build.js.
...
Former-commit-id: ce13e7b7a1f12199cdddcccbf0b7e0d98d6438ec
2012-07-08 18:08:41 -04:00
John-David Dalton
f5f2bf7f46
Cleanup iteratorTemplate and optimize methods that use mapIteratorOptions.
...
Former-commit-id: a0f876250a1c7875745e9080bf75546e16fbf6e7
2012-07-08 10:05:04 -04:00
John-David Dalton
acb6656958
Update minified build and documentation.
...
Former-commit-id: 19462dc946eca093f4265620b8e063b8c162c27d
2012-07-08 03:40:51 -04:00
John-David Dalton
9d70d7c27e
Fix _.sortBy in the mobile build attempt two.
...
Former-commit-id: 8f54b16a901acc4ce91f071c5b36c632334f7dde
2012-07-08 03:39:38 -04:00
John-David Dalton
648a6afb25
Add object iteration benchmarks for _.filter, _.find, _.groupBy, and _.map to perf.js.
...
Former-commit-id: dc30e2c0e4f88b2a0164f02bf3bf92fd40a87012
2012-07-08 03:31:40 -04:00
John-David Dalton
57ae1925b1
Fix _.sortBy in the mobile build.
...
Former-commit-id: 0af3778e89e61effbe60347d6f0bcb33d8c37a2e
2012-07-08 03:30:16 -04:00
John-David Dalton
d49318582f
Adjust how "mobile" build is created and add first pass at "legacy" build.
...
Former-commit-id: 740cc40c21d33353f34796ae6da3bc8ce015ab6c
2012-07-08 03:28:18 -04:00
John-David Dalton
83e3f830e6
Rename useNativeBind and useNativeKeys to isBindFast and isKeysFast.
...
Former-commit-id: 9f001b030dc49146b177678443406720c436ac0b
2012-07-08 02:47:01 -04:00
John-David Dalton
04d4353c0f
Optimize object iteration using Object.keys where faster than for-in loops.
...
Former-commit-id: 8826f75cf6eaf4233758684e3aae2ccdc3c9f262
2012-07-08 02:04:57 -04:00
John-David Dalton
6d217fc097
Add propertyIsEnumerable check to _.keys.
...
Former-commit-id: 1dcd532d29b3e99ce54a18f4489c766652d56d83
2012-07-06 14:14:44 -04:00
John-David Dalton
9d7136c63c
Add more checks to the reComplexDelimiter regexp.
...
Former-commit-id: 87fba2813619882d388261a1226e75503ec9b8d0
2012-07-05 15:04:09 -04:00
John-David Dalton
51a679d60a
Add _.template unit test to ensure complex "interpolate" delimiters work.
...
Former-commit-id: bdfdbf00b1a1838e104919214012a9cfb39dda19
2012-07-05 13:19:45 -04:00
John-David Dalton
7d4d28614a
Remove more unnecessary code from custom builds.
...
Former-commit-id: 7df2ebc805072456b9f0565a0a33fc1bcf2a4049
2012-07-05 11:51:40 -04:00
John-David Dalton
c75cfaf692
Update minified build and documentation.
...
Former-commit-id: 401c87b9755301440d2c86f7bfe618cc68db7e1e
2012-07-05 11:29:28 -04:00
John-David Dalton
fe6aa8a6fc
Further optimize _.template by controlling how the with-statement is inserted.
...
Former-commit-id: a62331e771302f9390d5aca04f878b839fe11b69
2012-07-05 11:28:41 -04:00
John-David Dalton
a5fe1eb5fb
Optimize how with-statements are inserted into compiled templates.
...
Former-commit-id: aabb0b1f8c6e910532464b7a007767801c00a640
2012-07-04 20:07:25 -04:00
John-David Dalton
5afd37c92c
Update package.json and .npmignore to allow build.js.
...
Former-commit-id: 782a448163baa27275ca87da209db53441bdcb08
2012-07-04 20:06:35 -04:00
John-David Dalton
293d0409c6
Remove Cloning this repo from the README.md.
...
Former-commit-id: 4f95f8b9a6781b5b6207a95082415f97e4d4236b
2012-07-03 12:06:14 -04:00
John-David Dalton
4352f18dd3
Cleanup perf.js.
...
Former-commit-id: 53285a24dcb27857a05b07aa7a6a8840026f8c42
2012-07-02 17:59:09 -04:00
John-David Dalton
0ae7fe9df5
Add non-submodule vendor directory.
...
Former-commit-id: 392cdade55487e774e959013d8d25ae0b1dfe93b
2012-07-02 15:35:36 -04:00
John-David Dalton
5048f0422d
Delete vendor directory.
...
Former-commit-id: 3d866435290966ec2f0d00561dcd99d0dfad29e0
2012-07-02 15:31:27 -04:00
John-David Dalton
c46a36f8ed
Remove submodules and cleanup repo.
...
Former-commit-id: f3950601f2001ceb4f36db2a7f2efa28acc8472d
2012-07-02 15:22:48 -04:00
John-David Dalton
90e2bd0372
Correct variable declaration order.
...
Former-commit-id: 5f5a36057b065799dcc05b0054a2c88f00fad8c0
2012-07-02 03:43:01 -04:00
John-David Dalton
10fbc8a04b
Update minified build and documentation.
...
Former-commit-id: 03b6f5fdf71ab1dab48f3fb06d60b6ec8a8e494c
2012-07-02 03:01:03 -04:00
John-David Dalton
fb818f3775
Cleanup lodash.js.
...
Former-commit-id: a1b7dc187dbd562b62d3446ce731674e0bb539d9
2012-07-02 03:00:01 -04:00
John-David Dalton
434e23c209
Add _.template benchmarks.
...
Former-commit-id: 97c5a90825d6a9a0b876d8c9f90e621f00389766
2012-07-02 02:59:33 -04:00
John-David Dalton
fe53bd6475
Fix build for _.bind.
...
Former-commit-id: 59ef841bca271bed05555c4b40e32b85ee1a4d37
2012-07-02 00:26:16 -04:00
John-David Dalton
268ce91c65
Add _.bind and _.size benchmarks.
...
Former-commit-id: bb3517e9517db81de56e3794abc256cd2dac59b5
2012-07-02 00:07:55 -04:00
John-David Dalton
3b4074bfc7
Optimize _.template when no evaluate delimiters are used and optimize _.bind when partially applied in V8.
...
Former-commit-id: 25489d41ba3cac7ac3f1414e09f1971a11a779be
2012-07-02 00:07:22 -04:00
John-David Dalton
6af4652161
Optimize inlining the iteratorTemplate for builds.
...
Former-commit-id: 8b7ac4622e51dbe5c0364f3c6781aa474dcfa96e
2012-06-30 03:06:21 -04:00
John-David Dalton
3717d30188
Update Backbone and Underscore submodules.
...
Former-commit-id: 0cdf988c89269ff95eb0d7fbd0bc51cbe95d3524
2012-06-29 20:41:51 -04:00
John-David Dalton
4cf2e83418
Add _.zipObject.
...
Former-commit-id: 0fe17adc359fbc608025dced32f6dd509d019413
2012-06-29 20:41:12 -04:00
John-David Dalton
1228639103
Cleanup build.js.
...
Former-commit-id: 01f5488ddba9f51344561c8df493d4f1bc6b0ef9
2012-06-29 19:33:36 -04:00
John-David Dalton
e12d67de94
Update minified build and documentation.
...
Former-commit-id: f4c5987a37d5c22f9705495e3a49a497f009d01c
2012-06-29 19:09:13 -04:00
John-David Dalton
10bcb37ca5
Inline more functionality into _.sortBy.
...
Former-commit-id: 6549e86881b7a93d96854a9ac1b04f0f5a5db0f1
2012-06-29 19:07:05 -04:00
John-David Dalton
e973598bff
DRY out isType methods and simplify templates during the build process.
...
Former-commit-id: cd982282a5de63fddc36d1dc4759c8982e1c5ad4
2012-06-29 19:05:30 -04:00
John-David Dalton
3a5129694d
Update documentation and minified build.
...
Former-commit-id: 193568c6f99736971ef93f9c4d63bc72195b8b2b
2012-06-29 04:03:02 -04:00
John-David Dalton
a1e0fbea8b
Add issue reference to README.md.
...
Former-commit-id: 09ed4e386b55f657d8710f40c14fb3b283d66b7c
2012-06-29 04:01:58 -04:00
John-David Dalton
0bf374454e
Add scripts entry to package.json.
...
Former-commit-id: 9ab2b915ea8aa6c3b8c28b5d14eaa32613db7ed0
2012-06-29 04:00:35 -04:00
John-David Dalton
5e592fbf29
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: a4de2b320b871d2bfd689890fc526605215091bf
2012-06-29 03:58:54 -04:00
John-David Dalton
ad4101bc99
Optimize _.sortBy and remove the _.map dependency from _.sortBy.
...
Former-commit-id: f6a133f0d27e7a00cb54e2e8478066dcfbe05659
2012-06-29 03:11:31 -04:00
John-David Dalton
2d057d92cf
Merge pull request #38 from davidmurdoch/00d1cc9bf84355f35268d24201e02feaec6a00b1 [formerly d387147685f95cf88a437e678c873181cbcb907f]
...
Use `null` when comparing `null`/`undefined`.
Former-commit-id: 16c513648279e37a72eb433bd9b5fbe840854376
2012-06-28 22:21:18 -07:00
David Murdoch
00d1cc9bf8
Use null when comparing null/undefined
...
for non-strict equals. Saves 2 gzipped bytes.
Former-commit-id: d387147685f95cf88a437e678c873181cbcb907f
2012-06-28 09:56:10 -04:00
David Murdoch
2c1ec5fe75
Save 2 gzipped bytes by flipping args in math.max
...
Also, remove some stray whitespace.
Former-commit-id: 98b4711bc7d978ef66a693593d6be108f6bcfd8d
2012-06-28 09:45:14 -04:00
John-David Dalton
81b28d005d
Remove arguments object from _.range.
...
Former-commit-id: d3da531e33bcd00a00ff80986f56196ac1b6f2c5
2012-06-27 13:51:46 -04:00
John-David Dalton
6a90616b99
Cleanup README.md.
...
Former-commit-id: 1a07361430f1d20382beb277db17e94967fd791d
2012-06-26 04:08:11 -04:00
John-David Dalton
d5be43695a
Merge pull request #35 from tomByrer/master
...
Add CDN and jsPerf links to README.md.
Former-commit-id: b2ba93fb493536060c9abb13f406db9fd84d0ea4
2012-06-26 00:31:43 -07:00
John-David Dalton
0a93b81ae7
Update minified build and documentation.
...
Former-commit-id: 3b2d6cbd0c91933043c64b6f15a4c990a5c400c5
2012-06-26 03:28:08 -04:00
John-David Dalton
65f8da1654
Make _.size work consistently cross-browser with arguments objects and avoid erroring when falsey values are passed.
...
Former-commit-id: 76dc852a4e1fd84218f9c57f44c93e483a3680d9
2012-06-26 03:23:53 -04:00
John-David Dalton
911014db95
Avoid compiling unnecessary _.template code.
...
Former-commit-id: 74006fd2df2b5d2ba8a222baf21574f729f34bcb
2012-06-26 02:32:43 -04:00
John-David Dalton
313ee13f18
Move _.groupBy and _.sortBy back to the "Collections" category. [ closes #34 ]
...
Former-commit-id: ce0f7f906758ce13cc2ea927520ac401e6bba9f6
2012-06-26 02:18:44 -04:00
tomByrer
addad04c44
Update master
...
Former-commit-id: c61735bdbf4dbad6dfd15a03660901fca9043327
2012-06-19 20:34:28 -06:00
tomByrer
e3789e5b64
merged tests with Dive in section
...
Former-commit-id: 1b32a93390d9b806bd66a298d558e68588ba7574
2012-06-19 20:32:49 -06:00
tomByrer
410315ce35
+ CDN usage link
...
+ testing links
Former-commit-id: 79740ec7b2ac8c088545ca585ab5d3d94c804e2a
2012-06-19 20:23:58 -06:00
tomByrer
90998da308
+ cdn js' hosting
...
Former-commit-id: 4276796f0fa31602060860da9c45c43dce34e8c4
2012-06-19 19:53:50 -06:00
John-David Dalton
6fa5b13e10
Add comment explaining a V8 optimization.
...
Former-commit-id: 733f0985509467291287e1e0a95fcd22114cdbcf
2012-06-19 11:42:27 +02:00
John-David Dalton
93067c2d52
Update documentation and minified build.
...
Former-commit-id: 156cdcff42eb4fef4a982e5b3016030246ba9f63
2012-06-19 10:56:05 +02:00
John-David Dalton
b2079b7007
Leverage _.indexOf's fromIndex in _.difference and _.without.
...
Former-commit-id: 0fd092d2ee109b99a50791899e7f2d690b3852af
2012-06-19 10:54:23 +02:00
John-David Dalton
b643dd074c
Clarify benchmark descriptions.
...
Former-commit-id: 79c71d7d2c034ebe31f20f5d10251a8ba175cfd8
2012-06-16 20:35:55 -04:00
John-David Dalton
a3932c75e1
Move screencast links to Vimeo.
...
Former-commit-id: d9f48294d88ff50889c0859b3c1956d0e49a3bd4
2012-06-16 09:34:36 -04:00
John-David Dalton
1cd3b9ec47
Add 3rd screencast link to README.md.
...
Former-commit-id: c714180beab13c911f9d1676cb65117186a9524a
2012-06-15 17:21:45 -04:00
John-David Dalton
0c77f42080
Fix documentation typo, s/uiq/uniq. [ closes #32 ] [cheeaun]
...
Former-commit-id: 343ff0d9a7238ab7eec6d5cc75b5c7dff3de1925
2012-06-15 09:12:03 -04:00
John-David Dalton
cea122db38
Update submodules.
...
Former-commit-id: 53394993a20cacf965de52e382ff72399d2b89ad
2012-06-15 00:12:06 -04:00
John-David Dalton
966f9fcd07
Update unit test link in README.md.
...
Former-commit-id: 0c11e69795cd0a28f0b370c40b7a6197fe712d0a
2012-06-14 15:30:37 -04:00
John-David Dalton
6ce9df8504
Bump to v0.3.2.
...
Former-commit-id: ff3cac0ce890b46a45c8738d559f68ac63b80caf
2012-06-14 15:19:09 -04:00
John-David Dalton
2a0b223896
Simplify dependencies in build.js.
...
Former-commit-id: 2d154d1dfb4d639aa32c5e9aeaeea6942965aee7
2012-06-14 02:17:09 -04:00
John-David Dalton
c2db180829
Tweak _.sortedIndex for Chrome optimizations.
...
Former-commit-id: d1d9f1bd1ecfd3bcde98aa51423e05e128f6ffd4
2012-06-14 01:06:08 -04:00
John-David Dalton
3223e4ffa5
Update documentation and minified build.
...
Former-commit-id: 5472dccceb33c3575c538190472dde0e82bcfcde
2012-06-14 00:29:14 -04:00
John-David Dalton
24c9b6e211
Move _.pluck and _.invoke back to the "Collections" category and optimize _.sortedIndex when a callback is passed.
...
Former-commit-id: d16763e7d35660d8ba9ea976c8b2a4dc20f1211f
2012-06-14 00:28:36 -04:00
John-David Dalton
e5555dd26a
Move _.tap to the "Chaining" category, and deprecate _(…).chain, _.isNull, _.isUndefined, _.result, and _.size.
...
Former-commit-id: 64ee67758b8730fd70cbb28af4230bb336b91214
2012-06-13 15:26:46 -04:00
John-David Dalton
ee2d0ddf8a
Ensure custom builds generate lodash.custom files.
...
Former-commit-id: c89ee640688f6f598bb2d3834f714f0edc4ce7a4
2012-06-13 15:15:20 -04:00
John-David Dalton
aef130b396
Update submodules.
...
Former-commit-id: 801d3c7413cb5906b4a517639098a6a32d015cba
2012-06-13 00:21:03 -04:00
John-David Dalton
fbdadec5e5
Add _.throttle unit test for recursive calls.
...
Former-commit-id: 7208516b56905c83df73aef6b02cee0101602349
2012-06-12 23:53:03 -04:00
John-David Dalton
a068339079
Indicate slow paths in perf.js.
...
Former-commit-id: 561e4f0957934b25422f7f515678705be4af726f
2012-06-12 23:44:21 -04:00
John-David Dalton
3f07d3ec55
Remove the useSourceURL variable from the minified build.
...
Former-commit-id: c0f02e7e87c533220a99ebe99c9ee08516fb9deb
2012-06-12 20:15:52 -04:00
John-David Dalton
62e7da9d8a
Update docs and minified build.
...
Former-commit-id: d0673323dc850f4e7936f00374905cd29c5d6e24
2012-06-12 19:29:01 -04:00
John-David Dalton
b60d43e5f6
Ensure sourceURL support doesn't cause errors in Adobe's JS engine.
...
Former-commit-id: 2ad1214e6a58832c732499b272ebfc434953213b
2012-06-12 19:28:47 -04:00
John-David Dalton
a5873a3158
Add comments, documentation, and update the minified build.
...
Former-commit-id: c65665063f254b1ba9dab9c6948fedf29f1e795f
2012-06-11 22:49:24 -04:00
John-David Dalton
3a698eb0ed
Make _.escape match _.template's escape delimiter results for null and undefined values.
...
Former-commit-id: b6717c6debf3bc308cf12b778916f5a46dbb954d
2012-06-11 22:37:54 -04:00
John-David Dalton
1e2ef542e4
Bump to v0.3.1.
...
Former-commit-id: 2e1e3b7e47b1f98d2ca20a89a4570a0b958d4323
2012-06-11 00:09:29 -04:00
John-David Dalton
94e8af4d93
Update submodules.
...
Former-commit-id: 0658ae9b9e49c468f839738f34c9f6361b90897e
2012-06-10 23:58:43 -04:00
John-David Dalton
250a0ab5eb
Add _.shuffle benchmark.
...
Former-commit-id: 13a0a7392108571d4ebced5e6e6ff66048091983
2012-06-10 13:46:45 -04:00
John-David Dalton
2da05d88a0
Add another code example to _.invoke documentation.
...
Former-commit-id: 0bea74a470771ebc5cf2110243b38db3698cde52
2012-06-10 12:59:42 -04:00
John-David Dalton
7faa849a89
Cleanup README.md.
...
Former-commit-id: 1cc58476c5737624b97801aabc0dc7368c43c0d3
2012-06-09 03:23:39 -04:00
John-David Dalton
c5bceb8fc8
Update documentation and minified build.
...
Former-commit-id: edc6264f5721cbdb080c4f7772263848c125b3e2
2012-06-09 03:11:36 -04:00
John-David Dalton
1e94b93ce6
Add Backbone build and correct dependencies for _.bindAll, _.mixin, and _.sortBy.
...
Former-commit-id: 3d4413d6ab3b41471be6336d138a4b4bfa97fde7
2012-06-09 03:10:57 -04:00
John-David Dalton
3f7bccf2e6
Update Backbone and Underscore submodules.
...
Former-commit-id: 6f938216d0bb26347ce7fd42169f926e2ae04e0e
2012-06-09 00:31:03 -04:00
John-David Dalton
181b869109
Remove _.map and _.pluck dependency from _.sortBy and simplify method wrappers.
...
Former-commit-id: 915af96abd41e8da7bba88cd57eb703f8129107f
2012-06-09 00:29:51 -04:00
John-David Dalton
2332245be1
Update minified build and documentation.
...
Former-commit-id: 6790d25b2164f0df2dcce63d5a5780343f3b5e63
2012-06-07 12:44:53 -04:00
John-David Dalton
3c6999f3a4
Ensure all "Arrays" category methods allow a falsey array argument. [ closes #23 , #24 ]
...
Former-commit-id: 66d09d3c8f3c045daf310c46581afa085daa57de
2012-06-07 12:42:33 -04:00
John-David Dalton
5f2f15b976
Remove _.isArguments fallback from mobile build.
...
Former-commit-id: d98ac9953e9b403e17bdcef099caafe09873980f
2012-06-07 03:27:01 -04:00
John-David Dalton
47dfb5b6b7
Fix typo in _.values benchmark and tweak how percents are displayed in perf.js.
...
Former-commit-id: 49be4600561e55e134d3152b00c765e305af98b5
2012-06-07 00:07:33 -04:00
John-David Dalton
c410c1293e
Update minified build and documentation.
...
Former-commit-id: e489b826c65d908b934e13d032ed866d68edd576
2012-06-06 23:48:41 -04:00
John-David Dalton
ca1c732f31
Move _.values to Objects category.
...
Former-commit-id: e85229b53a7697c11f76eae02aef8a4fce3aec3a
2012-06-06 23:45:30 -04:00
John-David Dalton
5e8c373bf4
Move _.pluck to the Arrays category.
...
Former-commit-id: a3ba36c1c320c8685c25fcb0bbe16ba2baeb6731
2012-06-06 23:11:25 -04:00
John-David Dalton
51a459fe48
Simplify function checks and cleanup documentation.
...
Former-commit-id: 460f34725e212ced27831b9aad1e9e7e2fc02cf1
2012-06-06 15:56:40 -04:00
John-David Dalton
03c07abbc3
Update README.md.
...
Former-commit-id: 64ce8f122be084fd93fd711a6ca207fc4ae6b870
2012-06-06 15:05:52 -04:00
John-David Dalton
5eabe1a172
Add sourceURL support to _.template.
...
Former-commit-id: 31d40d57f903098fe1678777aa7921e72d1dca9e
2012-06-06 15:05:41 -04:00
John-David Dalton
5b6ea7afb2
Bump to v0.3.0.
...
Former-commit-id: 2b713b3d926e3dbba80eab6e1e14d080f169bf39
2012-06-06 00:52:57 -04:00
John-David Dalton
7c1c5e70ca
Update Backbone and RequireJS submodules.
...
Former-commit-id: 145455767d22eb1b03a751024e69826e2387fd04
2012-06-06 00:50:31 -04:00
John-David Dalton
d475f8f965
Fix documentation typo.
...
Former-commit-id: 85e89c893d358d196a3f0f04b95acb10bbca2771
2012-06-05 01:44:50 -04:00
John-David Dalton
fd239076dd
Fix minified build for _.forIn.
...
Former-commit-id: 1d5d41fe63a10ccae8fcf4a91e7e77526a7c0d9c
2012-06-05 01:07:46 -04:00
John-David Dalton
5f786bbe47
Add category build option.
...
Former-commit-id: 4adea9367949985a1218cff58ff856184fd11db7
2012-06-05 00:41:20 -04:00
John-David Dalton
f66dc6bed8
Fix typo in iteratorTemplate.
...
Former-commit-id: b787391db088e672c55ca56ca246147557b3694f
2012-06-04 22:49:33 -04:00
John-David Dalton
52c36ac445
Fix documentation typo.
...
Former-commit-id: defc89d6a8267a4a6626ca6ac7345db1d55cb9b6
2012-06-04 16:54:47 -04:00
John-David Dalton
8f6a78cba5
Update documentation and package.json.
...
Former-commit-id: 4ab7d954b7abc5f73269eb7c74a39b02fa04970d
2012-06-04 16:38:37 -04:00
John-David Dalton
7053e9113f
Add unit test for _.sortedIndex to ensure it supports arrays with high length values.
...
Former-commit-id: 8956495dfa40c75dcb3c0585e78913607bf92e99
2012-06-04 16:18:23 -04:00
John-David Dalton
89f9ab9940
Bump to v0.3.0-pre.
...
Former-commit-id: 1e7958b4b1cdffd962a51edf3e3695cea960d8c9
2012-06-04 15:44:54 -04:00
John-David Dalton
240bc40b39
Ensure collection methods treat array-like objects with invalid length properties as regular objects.
...
Former-commit-id: dd8b382635bc30dc6e417cd9b47c36abfdf5ddcb
2012-06-04 15:36:27 -04:00
John-David Dalton
74649b5f28
Add _.forOwn and _.forIn.
...
Former-commit-id: f4e94a0fd15318063eec16c464435b07f419fa6a
2012-06-04 14:45:06 -04:00
John-David Dalton
b484d4b2dc
Update minified build and documentation.
...
Former-commit-id: 592319b69487858794529d789383af1b38d55632
2012-06-04 02:23:16 -04:00
John-David Dalton
da1124dd37
Switch to an htmlEscapes object for use in _.escape.
...
Former-commit-id: bc449b5d6868c846d599840e5c0d90d0314fe4b8
2012-06-04 02:12:41 -04:00
John-David Dalton
210485d0be
Update Benchmark.js and UglifyJS submodules.
...
Former-commit-id: 78611de2f992dc4d6cc4d336bfb761b98b22ce79
2012-06-04 00:08:26 -04:00
John-David Dalton
d9aee5ae60
Update minified build, documentation, and Backbone submodule.
...
Former-commit-id: cca2cf2f55e2750486d1d32b8da26fbc5576a65b
2012-06-03 21:58:35 -04:00
John-David Dalton
9ac64623fc
Added thisArg argument to _.sortedIndex and _.uniq, benchmarks, unit tests, and adjusted related dependencies in build.js.
...
Former-commit-id: a97aa769d760c7cc4d0df6307cebc860345a0da0
2012-06-03 21:56:36 -04:00
John-David Dalton
6ea4226680
Remove unneeded Closure Compiler export around the template string _.escape(__t) in pre-compile.js.
...
Former-commit-id: 812bd220cd3baca30a100f07e1d47cd6745a3602
2012-06-03 20:36:31 -04:00
John-David Dalton
c1416bba39
Cleanup console messages in perf.js.
...
Former-commit-id: b3e669d46f21d39f96873167557b4ede80458beb
2012-06-03 20:35:22 -04:00
John-David Dalton
ddb3ab3238
Tweak indexOf isSorted benchmark.
...
Former-commit-id: 0183b35929a2c1f7113747a67f55abbc797fab8c
2012-06-03 01:06:12 -04:00
John-David Dalton
5e7c9698c7
Use typeof == 'number' more, and default callback values to docs.
...
Former-commit-id: 02786903a510d0cc837eeeb7e9f42db2ecd634a4
2012-06-03 01:05:40 -04:00
John-David Dalton
4c66b95516
Make Firebug Lite console fullscreen in more browsers.
...
Former-commit-id: a42e7d187a582a1caea721860cf3ed4bd0f94368
2012-06-01 07:41:29 -06:00
John-David Dalton
2d03060a0d
Make previous build.js regexp simplification non-greedy.
...
Former-commit-id: e58cfb5e5143e12721bb08445dfd4a6fec119cd1
2012-05-31 23:18:44 -06:00
John-David Dalton
3313b0aa42
Update minified build and docs.
...
Former-commit-id: 3c0463d77c9091c1e66c7d68240de8b7ab2e499f
2012-05-31 22:54:50 -06:00
John-David Dalton
5d2928d2b3
Simplify regexps in build.js.
...
Former-commit-id: 7640f90b6aeca0438579c15c9eef270904c2c523
2012-05-31 22:54:37 -06:00
John-David Dalton
f6e2ae41d6
Add more benchmarks.
...
Former-commit-id: bddb4a26073ecd5aaf622f9726be940b6340cc07
2012-05-31 22:11:07 -06:00
John-David Dalton
7ccb038b6d
Add _.isEmpty unit test.
...
Former-commit-id: 066961a929da280421083d3f9d66b838d3d29dfd
2012-05-31 17:40:47 -06:00
John-David Dalton
7d62bbf74f
Optimize _.times.
...
Former-commit-id: beae48853d0e9be1c3016c11bee86a272964dfa2
2012-05-31 17:37:01 -06:00
John-David Dalton
3d8cc32302
Add fromIndex to _.indexOf and _.lastIndexOf. [ closes #20 ]
...
Former-commit-id: 3ab67c318a5a7fc2e521a9a2573b694e6920b14d
2012-05-31 17:26:45 -06:00
John-David Dalton
861eea5148
Fix "prototype" iteration bug with _.keys.
...
Former-commit-id: 1e072b2639e21a5c0a920db0ac27693ade34b009
2012-05-31 10:29:33 -05:00
John-David Dalton
b432721fe5
Optimize this binding in iterator methods and remove _.bind as a dependency for several methods.
...
Former-commit-id: 60af002cd80758fea81fbff9c2b20b1ccf3ccffd
2012-05-31 10:21:38 -05:00
John-David Dalton
f13a0cc7e0
Format numbers and scroll down results panel in perf.js.
...
Former-commit-id: 9f80b5534e3b46be7ad9c84ebb7e9ed5afdc35b8
2012-05-30 09:19:58 -04:00
John-David Dalton
1f7e37a1a3
Change performance link in README.md to lodash.com benchmarks.
...
Former-commit-id: 5c851961fd1b8e46599c28967d782551722a03d4
2012-05-30 04:03:14 -04:00
John-David Dalton
548e9cac26
Update documentation.
...
Former-commit-id: 6d1aa50111b34e0548f96a55fe3dcca0b7e91b5e
2012-05-30 03:52:59 -04:00
John-David Dalton
0d2a1641c9
Add percent faster than to pref.js results and link to benchmarks in README.md.
...
Former-commit-id: 1c5fb820fe070599aba780f1765538d408105af3
2012-05-30 03:51:44 -04:00
John-David Dalton
a67281f8e7
Cleanup README.md.
...
Former-commit-id: b0d0a22ff427b6a5754e2850e2a420e764a1eb39
2012-05-30 01:48:28 -04:00
John-David Dalton
281475e6ef
Bump to v0.2.2.
...
Former-commit-id: c4516d1e2dd2ab4359233121a7f86c356425cebf
2012-05-30 00:21:06 -04:00
John-David Dalton
a5712fc873
Cleanup build.js and fix regression in minified build. [ closes #19 ]
...
Former-commit-id: 3b455cb277fa8c3fc70efca7b54c6746cde2ea6b
2012-05-29 15:52:02 -04:00
John-David Dalton
205ded45e2
Update submodules, minified build, and documentation.
...
Former-commit-id: 526a3d4e7b68da2072163a656566ff777b591b2d
2012-05-29 10:18:32 -04:00
John-David Dalton
8ef039b9db
Update unit test with _.templateSettings.variable change.
...
Former-commit-id: e29718c70b0b0bcfeaf54909a32366d12663984d
2012-05-29 10:17:55 -04:00
John-David Dalton
3d2428b278
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: a2b22208dc08b404bd1fbdde9f1d05253c0fc047
2012-05-29 10:14:54 -04:00
John-David Dalton
35d5704e3f
Change the default value of _.templateSettings.variable to obj for Underscore.js compatibility. [ closes #16 ]
...
Former-commit-id: da91e5c881e6b3f9e2108cc231e57c023884b251
2012-05-29 10:14:40 -04:00
Mathias Bynens
c1860d30d6
Optimize escape() by not needlessly escaping the / character
...
Ref. #18 .
Former-commit-id: 82a29019daa15c83cb2159685ca5d575265cd902
2012-05-29 16:11:08 +02:00
Mathias Bynens
e0fba5cb51
Fix typo in build script
...
Former-commit-id: 1f5327ea167ba88c00c6fcff5bbad3d64be6049b
2012-05-29 14:40:03 +03:00
John-David Dalton
570ba189ed
Update docs and minified build.
...
Former-commit-id: d07b191ef424d6dce31e690e4af5293eb1525313
2012-05-26 03:40:27 -04:00
John-David Dalton
e335e0fd72
Add mobile build support. [ closes #14 ]
...
Former-commit-id: a73e3ea444f04027e28beeb9d007a19c169c4fa9
2012-05-26 03:40:06 -04:00
John-David Dalton
74a2d8dcb1
Update Backbone and Underscore submodules.
...
Former-commit-id: 13de1bae42bbbae7ca138bc5d26b83fd66367343
2012-05-26 00:12:43 -04:00
John-David Dalton
43ea0c9072
Reword unit test and add entry to README.md.
...
Former-commit-id: e5d68317bb8f2688c256de096c58e1b49014a68c
2012-05-26 00:09:41 -04:00
John-David Dalton
dde3eb2e36
Update _.find dependencies.
...
Former-commit-id: 88e6c8dec2cf62d348bc570c0f3f9bfa23a9dc5c
2012-05-26 00:09:11 -04:00
John-David Dalton
2008bf90af
Tweak _.find to avoid using _.identity and add benchmark.
...
Former-commit-id: a881f90d00828ed6af5b2b0bc80c9ae6e2cb2da8
2012-05-26 00:07:50 -04:00
John-David Dalton
06ffa93bd0
Update minified build and docs.
...
Former-commit-id: f9c076e5254c563c714bccf7cd5d65b6716cd427
2012-05-25 15:46:29 -04:00
John-David Dalton
5da03cac79
Add pseudo private property in preparation for mobile builds.
...
Former-commit-id: d5812d968b7694c9778f1be7efa8d05f95789ec8
2012-05-25 15:16:39 -04:00
John-David Dalton
8a5eb89aa8
Ensure _.find returns undefinedwhen a value cannot be found. [ closes #15 ]
...
Former-commit-id: e6dc89f98a1df81e1b1d67c5e8f5725e4df3bc5a
2012-05-25 15:15:16 -04:00
John-David Dalton
f81ede2fd6
Update changelog with intersect removal.
...
Former-commit-id: 5902c720c1403b856ac213e293619c31ea6834f5
2012-05-24 18:02:35 -04:00
John-David Dalton
6f7df67ded
Cleanup README.md.
...
Former-commit-id: 6ad747a8ae56f32fd558bd141af6fe95847569ad
2012-05-24 17:50:20 -04:00
John-David Dalton
bb9ad69219
Bump to v0.2.1.
...
Former-commit-id: d433d39ac7269479f1b9ac3803e62c5021f41e11
2012-05-24 17:08:26 -04:00
John-David Dalton
8f7667a524
Simplify _.max, _.min, and _.bind.
...
Former-commit-id: 1da0b013d0c47748d757e90248eebe9ed51918ae
2012-05-24 10:02:32 -04:00
John-David Dalton
86e125a6f3
Update minified build and docs.
...
Former-commit-id: 8c96c3812064f93d404e6d6dda68ab7a865d4228
2012-05-24 02:24:40 -04:00
John-David Dalton
8b3ba13ff0
Cleanup perf.js.
...
Former-commit-id: 8799b7d384cc48bc1c8ea3289aa12e021be2b97b
2012-05-24 02:23:55 -04:00
John-David Dalton
82f062caf2
Sync with Underscore.
...
Former-commit-id: 2e3aacd53fef6d22d830dbc2d6c220808aea8739
2012-05-24 02:06:10 -04:00
John-David Dalton
67303eb9fb
Update Backbone and Underscore submodules.
...
Former-commit-id: 43178330e273531286982e34acf96dadf9586f03
2012-05-24 01:43:54 -04:00
John-David Dalton
af3ded68c4
Cleanup _.bind.
...
Former-commit-id: d974cdfa52c3f6c175e57f0970380bcc9276c35d
2012-05-24 01:40:24 -04:00
John-David Dalton
b94eb44e18
Update minified build and docs.
...
Former-commit-id: 525d891914a86b1f7167c9dd82b9deaaad453058
2012-05-24 01:30:48 -04:00
John-David Dalton
c62b24b024
Make _.bind follow ES5 spec so it will work with a common Backbone pattern. [ closes #11 ]
...
Former-commit-id: 8d5e399ca9727a32604601f81fffd9134104c8f4
2012-05-24 01:25:08 -04:00
John-David Dalton
baa37450cc
Tweak export order for r.js.
...
Former-commit-id: 81f8f3feae9228e99978710c0193a9d26bb9b519
2012-05-23 17:06:21 -04:00
John-David Dalton
231fd46cd2
Ensure applet is hidden in perf/index.html.
...
Former-commit-id: ee23b966eca9148bbecd8d0826d954e755d232fe
2012-05-23 17:00:49 -04:00
John-David Dalton
b2728d9902
Update docs.
...
Former-commit-id: 462a64eeb8f8afb0951d8449f0f7b766abbcf5cc
2012-05-23 14:52:15 -04:00
John-David Dalton
451a33f526
Add _.difference, _.pick, and _.union benchmarks.
...
Former-commit-id: 1dd1e577520dfc1a69876eeccadce871f1f05916
2012-05-23 14:30:45 -04:00
John-David Dalton
3670bce918
Add _.flatten test to ensure consistent behavior with sparse arrays.
...
Former-commit-id: 5505f4d0542596e4c6469aa038fa1bfecaa79800
2012-05-23 14:28:51 -04:00
John-David Dalton
afb041b23c
Update docs and minified build.
...
Former-commit-id: 8ece30dc91c7cd9fe9f936fdf09e6d673566eaef
2012-05-23 02:20:25 -04:00
John-David Dalton
5315058e2d
Simplify _.flatten and add benchmarks.
...
Former-commit-id: f541328bf680a75abea68bce813820def375f4a0
2012-05-23 02:19:35 -04:00
John-David Dalton
26d9cc972e
Add unit test to test to ensure _.groupBy only adds elements to own, not inherited, properties of the result object.
...
Former-commit-id: 61dcdd0f6172db66d62e97873c1bc3053e339342
2012-05-23 01:25:34 -04:00
John-David Dalton
52ae87812e
Update docs and minified build.
...
Former-commit-id: f019b90d5e866bf2a6da1c003001d0e9345bb0b1
2012-05-23 01:01:35 -04:00
John-David Dalton
f8af24b383
Remove unneeded variable references.
...
Former-commit-id: ab2f5f4408db25dc63b5d85b4adf156f9f978711
2012-05-23 00:52:39 -04:00
John-David Dalton
b38947146e
Move _.groupBy and _.size to the "Objects" category and shuffle method order to avoid extra private variables.
...
Former-commit-id: 8dc89136a3bf2ed94f594f5c1c1f97a0dd7291c4
2012-05-23 00:43:23 -04:00
John-David Dalton
5c48abff4b
Add links to relevant sections in the description.
...
Former-commit-id: da9e65fadae73792cfb2ec885318bc073d4468c3
2012-05-22 13:10:43 -04:00
John-David Dalton
3994c7fc2b
Update docdown submodule and README.md.
...
Former-commit-id: 745eccb03a7eed1f3f2ef696002c57d6fcc44d25
2012-05-22 13:01:14 -04:00
John-David Dalton
859f2b2f3b
Cleanup README.md.
...
Former-commit-id: 378c558d55f267b0469be8622881b1501c4907fc
2012-05-22 00:11:41 -04:00
John-David Dalton
f5040a7bec
Cleanup .npmignore, and .gitignore.
...
Former-commit-id: 2309e25274dcceca8e05c2c570594d9adbe1c669
2012-05-22 00:11:27 -04:00
John-David Dalton
a604494aa9
Bump to v0.2.0.
...
Former-commit-id: 4b5cfd178edce968244a1fcad8c7b74e336e0f08
2012-05-21 15:55:52 -04:00
John-David Dalton
eaaef83ace
Update README.md for version bump.
...
Former-commit-id: dceae7cfcfade966145032cbf1d787e309e529c2
2012-05-21 15:34:09 -04:00
John-David Dalton
9cf1424d8f
Cleanup JSDoc comments.
...
Former-commit-id: ce8e7885528c1a7097cf6b73a713c960a20f85f6
2012-05-21 15:33:45 -04:00
John-David Dalton
cb74e45b89
Cleanup docs.
...
Former-commit-id: 346b2f7c55e3d0eb3b86f19c05fa9964f998b483
2012-05-21 12:26:53 -04:00
John-David Dalton
1da0498f74
Cleanup the README.md.
...
Former-commit-id: a01247eeb5c4602a3c209ed15753cbf2af32fdbf
2012-05-21 12:09:11 -04:00
John-David Dalton
754b1de597
Cleanup and prep for v0.2.0.
...
Former-commit-id: 27fb5b6ce649bedae9ba8127278322a037075e41
2012-05-21 11:32:43 -04:00
John-David Dalton
7e39941ad3
Reverse order of environments in run-perf.sh.
...
Former-commit-id: 8ee0ed5dd569c4e7dd32badd7aabe2e29b579b60
2012-05-21 10:05:08 -04:00
John-David Dalton
79a27b18ce
Fix regression on adding the copyright comment header to minified builds.
...
Former-commit-id: b3ec50141716e9132ea629de3a14c22f718d25ab
2012-05-21 09:59:06 -04:00
John-David Dalton
194551fdbf
Make build.js less picky about comma separated method names.
...
Former-commit-id: 8624cfaad62ddd4921baaea1ece20730ced680bf
2012-05-20 23:40:18 -04:00
John-David Dalton
5a82c8f89b
Update minified build and docs.
...
Former-commit-id: 3aa2cb29b041c4031dd196d06c1914b42e4773c2
2012-05-20 23:18:09 -04:00
John-David Dalton
2e540368eb
Fix _.extend regression in IE < 9.
...
Former-commit-id: 65632fbbf3aaba0d9cd8578300f8025e311faff0
2012-05-20 23:11:04 -04:00
John-David Dalton
d5966ae5db
Update minified build and docs.
...
Former-commit-id: 4ad3460c6b1a518c5299a8d11fbd322705b3a963
2012-05-20 20:39:41 -04:00
John-David Dalton
97f4dfc089
Add comment explaining JavaScript engine's arguments.length limit and add shim file to underscore.html.
...
Former-commit-id: ace6dae609cab05b86ddc60a7f8c980447da2bdc
2012-05-20 20:38:32 -04:00
John-David Dalton
b03c2b3b8f
Make custom build regexp less picky and fix typo in build.js.
...
Former-commit-id: 6be9d35758f5a3f82ff1a01d02d8a3f17e0d9a97
2012-05-20 20:37:13 -04:00
John-David Dalton
9a81df6d77
Hide unused element in backbone.html and make perf tests use the minified versions of each lib.
...
Former-commit-id: 45cfd91d41dc454399be35004ed8bcf5d6293554
2012-05-20 19:12:22 -04:00
John-David Dalton
a9d55121bb
Fix regression in CLI test runner for Narwhal, Rhino, and RingoJS.
...
Former-commit-id: e58807535bc42f1922b4484caeb336d7a9da5aaf
2012-05-20 19:11:36 -04:00
John-David Dalton
88327aeba2
Use nano.jar in perf/index.html.
...
Former-commit-id: a5a3d79dd2c940dd654d2c91cf80665d72b22080
2012-05-20 05:26:39 -04:00
John-David Dalton
8e2d972281
Make indistinguishable results in perf.js the same score.
...
Former-commit-id: 550c42ba8d07bde5fe1cf57d5bd27df7bc42dd12
2012-05-20 04:46:18 -04:00
John-David Dalton
7b44ef1664
Cleanup pref.'s style and add comment.
...
Former-commit-id: ab01044b50ef4a6d447e3e937c31cf5747b3113b
2012-05-20 04:32:57 -04:00
John-David Dalton
5204fac055
Rename /benchmark to /perf.
...
Former-commit-id: 3688f3aeaf1e7d290d863cdba0d2277afcffa2e8
2012-05-20 04:25:19 -04:00
John-David Dalton
c2a1f50dc0
Cleanup benchmark/benchmark.js, add firebug-lite, and add support for Narwhal, Rhino, and Ringo.
...
Former-commit-id: e08ede5bee3fdfbeb648b855dfb3082e66e68c0b
2012-05-20 04:14:56 -04:00
John-David Dalton
c8f3b128cb
Merge pull request #9 from sindresorhus/benchmark
...
Add Node.js benchmarks. [fixes #8 ]
Former-commit-id: 28c7f83738da1f34dfdf5c2f1998834d6c802d0f
2012-05-19 21:11:09 -07:00
John-David Dalton
b32ed95597
Update Benchmark.js submodule.
...
Former-commit-id: 884ce35aa3e829109be55f96fa796a2af37d97a4
2012-05-20 00:09:04 -04:00
John-David Dalton
57da1d3062
Update docs and builds.
...
Former-commit-id: 5cc75c2294af4022855c18a9f1e6d82a2e50c244
2012-05-19 23:56:29 -04:00
John-David Dalton
6dfe18fe18
Add custom build options to build.js.
...
Former-commit-id: 4df20584d5c8852caf0f123d618dbf61f18c220c
2012-05-19 23:54:07 -04:00
John-David Dalton
1dd9ee2397
Switch to non-deprecated fs.existsSync.
...
Former-commit-id: 616863cf7e7edfdf919750773a12e8cd2a42ddf1
2012-05-19 23:53:35 -04:00
John-David Dalton
d31471c6a1
Correct the minified AMD signature for AMD build optimizers and unescape whitelisted properties from Uglified source.
...
Former-commit-id: 93ccbb77d376b39a1b5dd38cbe74f9b4d4382e3f
2012-05-19 23:53:00 -04:00
John-David Dalton
930f04951f
Add more properties to the pre-compile whitelist and cleanup regexps.
...
Former-commit-id: c2d557b7bfd882b3a3b1f75011c6f32de8058350
2012-05-19 23:51:40 -04:00
John-David Dalton
8846835ab8
Remove extend as a core dependency, and avoid uncatchable error in Java environments, and ensure templates are inlineable.
...
Former-commit-id: d7a4de60cf264893d9db68b97940744c6dd3cc3a
2012-05-19 23:50:47 -04:00
John-David Dalton
b080cc4d23
Update submodules and unit test setup.
...
Former-commit-id: 705059ee5d27e828cd216ecdd164c4c9bceae26c
2012-05-19 23:48:40 -04:00
Sindre Sorhus
c910a95ee4
Add Node.js benchmark. Fixes #8
...
Former-commit-id: b60a09b6f0ed1d0880fb83f519c3755fa14cd625
2012-05-15 21:43:48 +02:00
John-David Dalton
4601129fc7
Cleanup and comment lodash.js.
...
Former-commit-id: 468f9e107959c6d637a4acd0dea0cf8f4eb921c2
2012-05-15 11:52:22 -04:00
John-David Dalton
9c79259e9c
Add JScript [[DontEnum]] _.size unit test.
...
Former-commit-id: 734b1943bb7c5f9111f170afccdf0b169fb2cca7
2012-05-15 11:26:56 -04:00
John-David Dalton
bdca0cf668
Update docdown/benchmark.js submodules.
...
Former-commit-id: 5945b39eb0fcde967c6747ba2c36e94072580805
2012-05-15 11:20:30 -04:00
John-David Dalton
628ad0fcb2
Add comment to _.escape.
...
Former-commit-id: bee148c238552d3cdb6bba3a3511f3d0c5484850
2012-05-15 02:16:50 -04:00
John-David Dalton
793332beb8
Further simplify _.forEach.
...
Former-commit-id: 0d6363219836706c411473187dbf6b5516f8574a
2012-05-15 01:58:31 -04:00
John-David Dalton
4e9688cc18
Cleanup build scripts.
...
Former-commit-id: 7b3bd75f3482297baacc60479579ff74c56e8966
2012-05-15 01:58:31 -04:00
John-David Dalton
ef9a6a0027
Update submodules and add Backbone.js tests.
...
Former-commit-id: ed8bf8bbaa9ecb268252c5d5b47de85282fb0ff4
2012-05-15 01:58:30 -04:00
John-David Dalton
9e9222c65d
Change reported minified size from KB to bytes.
...
Former-commit-id: 35276bfeda03ca7158f19b265cc5d0863dd9286f
2012-05-15 01:58:30 -04:00
John-David Dalton
9ef0d9084f
Optimize _.forEach, cleanup _.after and _.isArguments.
...
Former-commit-id: 3e3e9539ee6429a72f74f184f45f9c4c52bb621a
2012-05-14 18:48:53 -04:00
John-David Dalton
36df8f7828
Add custom build include and exclude options to build.js.
...
Former-commit-id: 5d61f47840e51937506d94f65bb55b4f97fe9f19
2012-05-14 18:47:11 -04:00
John-David Dalton
8ee1cc8d27
Minor cleanup in post-compile.js.
...
Former-commit-id: 94ec69e163de2874385e0a2abaa7ef62c075005e
2012-05-14 18:43:57 -04:00
John-David Dalton
e4e2658a3b
Make pre-compile.js avoid erroring when lodash functions are missing.
...
Former-commit-id: 61f56f206225e1bb0232faea5624d541bc905aa0
2012-05-14 18:43:32 -04:00
John-David Dalton
ae8e7ae992
Rename Minify to minify.
...
Former-commit-id: 595b9dbeab4f2822626c74a18379262a8d583cfd
2012-05-14 18:38:42 -04:00
John-David Dalton
e0c936ba03
Update minified build and docs.
...
Former-commit-id: 37fc52f39bcdfdadb1cdbd49d9f8b2a70a134d5f
2012-05-13 17:53:42 -04:00
John-David Dalton
0297e31893
Simplify createIterator.
...
Former-commit-id: 3058b25bf7677a45261b640bd6ff6e1af1849c2c
2012-05-13 17:53:10 -04:00
John-David Dalton
5b975adc8e
Cleanup build files.
...
Former-commit-id: eac9437648d2bb7260dba5eacfc7076867975134
2012-05-13 17:52:44 -04:00
John-David Dalton
12fc6b3a67
Update the build process.
...
Former-commit-id: bc80960e1608982354366a37813785c277868d52
2012-05-13 17:21:22 -04:00
John-David Dalton
cb4cc61c5b
Update submodules.
...
Former-commit-id: 51c59d57252147d4af8049eeb5fa1325e747ab4d
2012-05-12 19:05:29 -04:00
John-David Dalton
9f4404628b
Rename combine to hybrid.
...
Former-commit-id: 39180b07379581db688ddb066807dba1928cb27c
2012-05-12 01:41:51 -04:00
John-David Dalton
5441f6b55b
Refresh docs and minified build.
...
Former-commit-id: e853a3363a8824eebbea69e0f16bfdb645619600
2012-05-12 01:12:53 -04:00
John-David Dalton
258fc518a6
Add _.isEmpty JScript [[DontEnum]] bug test.
...
Former-commit-id: 3815abeb1d802bd6fc2aada64f7a105aa77a6467
2012-05-12 01:11:54 -04:00
John-David Dalton
6a06bf5efa
Optimize _.isObject. [ninjainvisible]
...
Former-commit-id: aa139d3eac1c9913ba6dc85c63145a121ab40cba
2012-05-12 01:11:25 -04:00
John-David Dalton
ff93f7cbb5
Add a default _.templateSettings.variable value.
...
Former-commit-id: 504aff143cd1dabdb7e8cd089ed3ed1bf9d8f896
2012-05-12 00:31:13 -04:00
John-David Dalton
2e291396bd
Touch license and .gitignore.
...
Former-commit-id: d18484b4608c8514cee78ad699e6150c4cfb0c6c
2012-05-10 01:52:28 -04:00
John-David Dalton
b779f8b029
Optimize the [[DontEnum]] snippet of iteratorTemplate.
...
Former-commit-id: 23b2b27ee017092066526bba030f680d20bee211
2012-05-10 01:51:17 -04:00
John-David Dalton
04a05b4c02
Cleanup _.max and _.min unit tests.
...
Former-commit-id: 5bfdd6d441f20879f3352f260b9b08e714c7b836
2012-05-10 01:48:20 -04:00
John-David Dalton
90989a816d
Detect the argument length limit instead of using a fixed limit.
...
Former-commit-id: 24875b0f67c7c92a37c315d3e8a33f23b5372119
2012-05-10 01:40:42 -04:00
John-David Dalton
9b26b96836
Implement a more robust native function detection. [Krinkle]
...
Former-commit-id: 8d915a0dd12f08e1860122189b57b12382efb144
2012-05-09 02:14:03 -04:00
John-David Dalton
972a716600
Small change to _.max.
...
Former-commit-id: ee7a5a78087ce8a92b06b7cd542903433053e649
2012-05-09 02:02:29 -04:00
John-David Dalton
b5c4a9241b
Add instance pass through unit test, and ensure the pre-compile step escapes the "_wrapped" property for Closure Compiler.
...
Former-commit-id: 4bb8f77bacdafdd6822564c18751310235679476
2012-05-09 01:43:40 -04:00
John-David Dalton
45f9d80a81
Move _.max and _.min to the "Arrays" category and verify unit tests, rework _.isEqual [[DontEnum]] fix, and cleanup iteratorTemplate,
...
Former-commit-id: 9f4700b9db5767f314a44d6a83a3552d58ae6872
2012-05-09 01:05:47 -04:00
John-David Dalton
98435d2d92
Remove debug and tweak template whitespace for pretty printing.
...
Former-commit-id: 1f00899af1210dd367718aad4db38453509747c2
2012-05-08 17:34:13 -04:00
John-David Dalton
ccbf965bd9
Cleanup iterator template, make _.isEqual avoid the JScript [[DontEnum]] bug and add unit tests.
...
Former-commit-id: 1325f2184a8572ba688bcf697892782b8a0972e7
2012-05-08 17:11:32 -04:00
John-David Dalton
5c82104d7b
Cleanup code and rework the pre-compile step.
...
Former-commit-id: cb62236ee0396e5e08defcbfee526265f9cf042e
2012-05-08 12:15:01 -04:00
John-David Dalton
4c29fbb36d
lodash: Cleanup compilation. [jddalton]
...
Former-commit-id: e51b6742db1aeb103534d98c8354c65454d25a23
2012-05-08 10:29:36 -04:00
John-David Dalton
88e754850d
lodash: Fix JSDoc entries, rename private constructor Lodash to LoDash, and optimize wrapper methods. [jddalton]
...
Former-commit-id: 1a2541900aa93c4c19c1eee12132bce89200b564
2012-05-07 13:58:51 -04:00
John-David Dalton
21b86980a7
lodash: Add a combined minified mode. [jddalton]
...
Former-commit-id: ba37c06ce553a2e8f366952432ad7fb9903ca577
2012-05-07 13:50:18 -04:00
John-David Dalton
98942c5e1a
lodash: Simplify reUnescaped. [jddalton]
...
Former-commit-id: 5daf301fb60580248d765f5d3d49e10e9fa7104b
2012-05-07 00:47:27 -04:00
John-David Dalton
9c54df2de5
lodash: Add unit tests for buggy shift and splice in IE. [jddalton]
...
Former-commit-id: 574e4adcd024ef667302e97fffebc9bee5cbfacf
2012-05-06 22:40:58 -04:00
John-David Dalton
f31c2d24f9
lodash: Add the JScript [[DontEnum]] and Firefox, Opera, and Safari "prototype" property iteration fixes to iterationFactory. [jddalton]
...
Former-commit-id: f5be5c1e0828c3850936ba13ce19d0bfb8988d05
2012-05-06 22:16:03 -04:00
John-David Dalton
52cf17b24a
lodash: Ensure max and min do not error when computing the result of massive arrays. [cederberg, jddalton, jeeyoungk]
...
Former-commit-id: af982790c3bb62777523f972a95b7115fb645180
2012-05-06 19:38:15 -04:00
John-David Dalton
d26fc7154c
lodash: Add partial. [ closes #5 ] [gf3, jddalton]
...
Former-commit-id: 7f95e60e93d463aeac936bcf0868fe2cb5494d6e
2012-05-06 19:17:13 -04:00
John-David Dalton
14c8863657
lodash: Add native method overwrite detection and optimize bind for native bind. [jddalton]
...
Former-commit-id: d968957e494fb828df155d2f9b0d3faf24e38b5e
2012-05-06 17:57:39 -04:00
John-David Dalton
6d3d5f77bc
lodash: Add comments explaining the iterationFactory options object. [jddalton]
...
Former-commit-id: a5869f89b25b22b661c9f997dc96029ea0c82dbc
2012-05-06 00:05:04 -04:00
John-David Dalton
293fc695a4
lodash: Update documentation and submodules. [jddalton]
...
Former-commit-id: 9948b9ad5b2dc34a8f442e881f1d75178622364f
2012-05-03 14:28:13 -04:00
John-David Dalton
a317d2471f
lodash: Add whitespace to strings. [jddalton]
...
Former-commit-id: ea4e6a6a894bb596be61df59239bc7f8c2ecd75d
2012-05-03 10:50:27 -04:00
John-David Dalton
afe7ff6d2c
lodash: Tweak comment. [jddalton]
...
Former-commit-id: 309c501800ab2a6234992dafe629a6cd9f8f20ad
2012-05-03 10:42:28 -04:00
John-David Dalton
2f908870e7
lodash: Cleanup template. [jddalton]
...
Former-commit-id: 286af73ea3a4d798afd4baa01e586ada0305e66b
2012-05-03 10:12:45 -04:00
John-David Dalton
312f0310dc
lodash: Update the minified build, README.md, and Benchmark.js submodule. [jddalton]
...
Former-commit-id: deb6bce113b8739f6f09462f3067263ac48a8f44
2012-05-03 00:46:41 -04:00
John-David Dalton
1a1bd5322c
lodash: No longer have escape translate the ">" character. [jddalton, mathiasbynens]
...
Former-commit-id: 58d8ef98f3699a62b57a460b45921785fa2440b0
2012-05-03 00:45:21 -04:00
John-David Dalton
04ca0ae309
lodash: Cleanup code. [jddalton, mathiasbynens]
...
Former-commit-id: 639655426b7b928ca756993227bc6f80484deae2
2012-05-03 00:31:25 -04:00
John-David Dalton
221f70e609
lodash: Optimize template. [jddalton]
...
Former-commit-id: 2cd61549491714e6796308ec437fa8dff8fa9a1b
2012-05-03 00:23:57 -04:00
John-David Dalton
a426109c1c
lodash: Update minified build, documentation, and Underscore submodule. [jddalton]
...
Former-commit-id: 35fb63c16127413ff283fcd3075e1dea38ebef8c
2012-05-01 21:14:30 -04:00
John-David Dalton
d5e2489cad
lodash: Make deb ounce match throttle's return value behavior. [jddalton]
...
Former-commit-id: 2d4073c8a2ba20b98344c19cbfaf388a2683ef19
2012-05-01 21:13:02 -04:00
John-David Dalton
367f0bd6a9
lodash: Optimize and simplify throttle. [cowboy, jddalton]
...
Former-commit-id: 52e19aeb8671e86a13bf54876bf1f3f1b4644437
2012-05-01 21:11:40 -04:00
John-David Dalton
8396ed3167
lodash: Simplify first argument checks in "Collections" methods. [jddalton]
...
Former-commit-id: f3b658acccc20d864cf4987f2d2473453297a1c8
2012-05-01 10:47:15 -04:00
John-David Dalton
6cc360d613
lodash: Add @mathiasbynens as a contributor. [jddalton]
...
Former-commit-id: fd286bc6665ba819be5d4ce379fd0359559cc236
2012-05-01 00:37:25 -04:00
John-David Dalton
e86eef5905
lodash: Update documentation and lodash.min.js. [jddalton]
...
Former-commit-id: 0fa786b309e699dcf586e5606b7f3c82ac5e460f
2012-05-01 00:35:50 -04:00
John-David Dalton
24d5fbb595
lodash: Add support for "lazy" bind. [jddalton]
...
Former-commit-id: 472c0436f7de4e636dd878900119008bf39592fa
2012-05-01 00:34:40 -04:00
John-David Dalton
6fb7681a2d
lodash: Reduce functions created in debounce and throttle and make each work when called recursively. [int3, jddalton]
...
Former-commit-id: 8d8d1966f7b8710d1bd51c830c4d3c08643ba21a
2012-05-01 00:05:26 -04:00
John-David Dalton
0b404d4bb1
lodash: Avoid extraneous empty array in pick. [jddalton]
...
Former-commit-id: 581eb1264aed6f0904d794cad53462ae80a1c3d0
2012-04-30 23:26:12 -04:00
John-David Dalton
464826e81d
lodash: Move sortedIndex to the "Arrays" category. [jddalton]
...
Former-commit-id: fb9d6afc3c805ac25c8e6e7968fdcb4e8da93d30
2012-04-30 23:22:49 -04:00
John-David Dalton
e871ffeff0
lodash: Cleanup flatten avoiding the use of an extraneous empty array. [jddalton]
...
Former-commit-id: 6a1eebceb77dd59d34659a295c4a7a2dce92e8a9
2012-04-30 22:51:14 -04:00
John-David Dalton
2847b1f08e
lodash: Move shuffle to the "Arrays" category and optimize. [jddalton]
...
Former-commit-id: 6f08cc15a5a1b0197e080d5fc21309b84cabaf6a
2012-04-30 22:49:29 -04:00
John-David Dalton
d702e00446
lodash: Optimize intersection. [jddalton]
...
Former-commit-id: f15eb7429ab4f14a4b096f5ba72f3662f9ed23d7
2012-04-30 22:32:07 -04:00
John-David Dalton
142ee20bca
lodash: Fix post-compile.js VERSION detection to allow newlines. [jddalton]
...
Former-commit-id: 2e0d342cf66c4507a2956eeac912333cfdca5817
2012-04-30 22:16:21 -04:00
John-David Dalton
e3f03fa2ce
lodash: Update Underscore submodule. [jddalton]
...
Former-commit-id: 98f22ee0e2d0b5d4908b3f8eaa929181e9167cb3
2012-04-30 22:15:28 -04:00
John-David Dalton
8dc3fb86db
lodash: Tweak map's result assignment. [jddalton]
...
Former-commit-id: eb047e50e485fb1df387648fc1815e405b9d18ef
2012-04-27 01:11:48 -04:00
John-David Dalton
358ec3fb39
lodash: Inline isFunction calls. [jddalton]
...
Former-commit-id: d2929d4cbc1f2fb32dc94deba9dc44e5d51b4235
2012-04-27 00:43:42 -04:00
John-David Dalton
f4a38a25c8
lodash: Minor build.js cleanup. [jddalton]
...
Former-commit-id: ca0ba49f4e1670196912cbbd237a3a1a8f72e2a7
2012-04-26 23:38:42 -04:00
John-David Dalton
dcb62a3df5
Merge branch 'master' of github.com:bestiejs/lodash
...
Former-commit-id: 5a73314c99eb56eb4e2a13ff931e76db48c17f04
2012-04-26 23:34:10 -04:00
John-David Dalton
59c26957bb
lodash: Optimize uniq and union, and inflate methods in the "Arrays" category. [jddalton]
...
Former-commit-id: b54d0bc2a77d1589d4b53b20a2f5ec175ab6c5cc
2012-04-26 23:33:53 -04:00
Kit Cambridge
09d8561b3c
build.js: Merge invoke() into closureCompile().
...
Former-commit-id: 0fbdeffeba06c49db1d8b0801c8e3b721c3a5a43
2012-04-26 20:06:47 -06:00
Kit Cambridge
6246e71c87
Use the Node zlib module instead of shelling out to gzip.
...
Former-commit-id: f73339f6fd421ec4ddd1ec13ef13a18926419cdb
2012-04-26 19:56:31 -06:00
John-David Dalton
adcc2dd8d2
lodash: Simplify _.keys fallback. [jddalton]
...
Former-commit-id: 15d265f4f16ab2418bb5dcddf68a2fd43ebdf5b2
2012-04-26 15:46:47 -04:00
John-David Dalton
947fc9ce97
lodash: Fix syntax error in IE < 9 related to return throw …. [jddalton]
...
Former-commit-id: 8de2886801d447d6c0db119fe061d2fafd49958b
2012-04-26 11:29:13 -04:00
John-David Dalton
5caca9175d
lodash: Update doc line numbers. [jddalton]
...
Former-commit-id: f7000abe7f38af81b54a277f54f1ebb6e7b37966
2012-04-26 09:18:11 -04:00
John-David Dalton
520d09e81e
lodash: Avoid an extra callback call in the sortedIndex while loop. [jddalton, spadgos]
...
Former-commit-id: 87228c7308475f9430e5bcb0bc0d647b2210388f
2012-04-26 09:05:45 -04:00
John-David Dalton
7fa4304097
lodash: Change invoke's category to "Arrays". [jddalton]
...
Former-commit-id: e8e176bacf72f721fce62630984778e4d2ff08be
2012-04-26 01:27:50 -04:00
John-David Dalton
ceed641730
lodash: Update doc line numbers. [jddalton]
...
Former-commit-id: 765b1e55407c59bb76a7ec5af0c86bbd42156c23
2012-04-26 01:12:27 -04:00
John-David Dalton
1d4ce28b62
lodash: Remove unused afterLoop iterationFactory option, optimize sortedIndex, and optimize exiting early from compiled functions. [jddalton]
...
Former-commit-id: f56c93bfed623c5100d7cdf1c0d30b1e557d8a97
2012-04-26 01:10:45 -04:00
John-David Dalton
a551992c3f
lodash: Remove unneeded slice call in pick. [jddalton, sindresorhus]
...
Former-commit-id: fbc5e2d918f31d2cd59bb9708c055c60592add10
2012-04-25 14:22:32 -04:00
John-David Dalton
23b8d083a4
lodash: Add spaces to compiled / template strings. [jddalton]
...
Former-commit-id: e28bb94dfb8f315f62dd942765752739f30950dc
2012-04-25 14:19:44 -04:00
John-David Dalton
b3d249f2ef
lodash: Tweak bug fix link in README.md. [jddalton]
...
Former-commit-id: 383b811759e042cd93f6d852a0cda02a26af0de0
2012-04-25 14:05:47 -04:00
John-David Dalton
647633a1a0
lodash: Update doc line numbers. [jddalton]
...
Former-commit-id: 27edd51a81b000308128a097a024c81e5de2c773
2012-04-25 00:09:08 -04:00
John-David Dalton
313ffb8821
lodash: Add thisArg to groupBy and optimize invoke. [jddalton]
...
Former-commit-id: 74b0105af083471a56d60ac423409ae39e17d44a
2012-04-25 00:08:46 -04:00
John-David Dalton
774f159e67
lodash: Optimize groupBy, union, and pick. [jddalton]
...
Former-commit-id: 5109fd3868751f34f5a54ebafdbd43fa26f96754
2012-04-24 23:12:08 -04:00
John-David Dalton
f9358531ad
lodash: Add support for more AMD build optimizers and allow aliasing as the "underscore" module. [jddalton]
...
Former-commit-id: 6b3fa45d19f6a55aa7565bcb4d9221f6f159e9c9
2012-04-24 18:15:47 -04:00
John-David Dalton
bb09d77eb5
lodash: Fix typo in build.js. [jddalton]
...
Former-commit-id: 1dce55619a345bec6c5ebda1490a1015bfb30210
2012-04-24 12:26:32 -04:00
John-David Dalton
ba8cc970d0
lodash: Move Underscore's unit tests to a submodule. [fat, jddalton]
...
Former-commit-id: c0518256e2ff02386452cd62c81964cc2a3da3cc
2012-04-24 09:03:03 -04:00
John-David Dalton
89c986d50f
lodash: Move the screencast note higher in the README.md. [jddalton]
...
Former-commit-id: dc22ba34a0764add4871426c33ace76fea30bd1b
2012-04-24 03:13:28 -04:00