Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Change lodash-compat dep to lodash.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Jan 1, 2016
1 parent 5a377d9 commit 9ed3e2d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
*/
function runInContext(context) {
// Exit early if unable to acquire lodash.
var _ = context && context._ || req('lodash-compat') || req('lodash') || root._;
var _ = context && context._ || req('lodash') || root._;
if (!_) {
Benchmark.runInContext = runInContext;
return Benchmark;
Expand Down
2 changes: 1 addition & 1 deletion example/jsperf/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ <h2>Add a comment</h2>
&middot; by <a href="http:https://mathiasbynens.be/" title="Mathias Bynens, front-end web developer">@mathias</a>
</footer>

<script src="../../node_modules/lodash-compat/index.js"></script>
<script src="../../node_modules/lodash/index.js"></script>
<script src="../../node_modules/platform/platform.js"></script>
<script src="../../benchmark.js"></script>
<script src="ui.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"repository": "bestiejs/benchmark.js",
"scripts": { "test": "echo \"See the repository CONTRIBUTING.md for testing instructions.\"" },
"dependencies": {
"lodash-compat": "^3.10.1",
"lodash": "^3.10.1",
"platform": "^1.3.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div id="qunit"></div>
<script src="../node_modules/qunitjs/qunit/qunit.js"></script>
<script src="../node_modules/qunit-extras/qunit-extras.js"></script>
<script src="../node_modules/lodash-compat/index.js"></script>
<script src="../node_modules/lodash/index.js"></script>
<script src="../node_modules/platform/platform.js"></script>
<script>
QUnit.config.hidepassed = true;
Expand Down Expand Up @@ -42,7 +42,7 @@
},
{
'name': 'lodash',
'location': '../node_modules/lodash-compat',
'location': '../node_modules/lodash',
'main': 'index'
},
{
Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

/** The `lodash` utility function. */
var _ = root._ || (root._ = (
_ = load('../node_modules/lodash-compat/index.js') || root._,
_ = load('../node_modules/lodash/index.js') || root._,
_ = _._ || _,
_.runInContext(root)
));
Expand Down

0 comments on commit 9ed3e2d

Please sign in to comment.