mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Move benchmark.js to a dev dep.
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"async": "^1.5.2",
|
"async": "^1.5.2",
|
||||||
|
"benchmark": "^2.1.0",
|
||||||
"chalk": "^1.1.1",
|
"chalk": "^1.1.1",
|
||||||
"codecov.io": "~0.1.6",
|
"codecov.io": "~0.1.6",
|
||||||
"coveralls": "^2.11.6",
|
"coveralls": "^2.11.6",
|
||||||
|
|||||||
@@ -24,9 +24,9 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="perf-toolbar"></div>
|
<div id="perf-toolbar"></div>
|
||||||
<script src="../node_modules/platform/platform.js"></script>
|
|
||||||
<script src="../lodash.js"></script>
|
<script src="../lodash.js"></script>
|
||||||
<script src="../vendor/benchmark.js/benchmark.js"></script>
|
<script src="../node_modules/platform/platform.js"></script>
|
||||||
|
<script src="../node_modules/benchmark/benchmark.js"></script>
|
||||||
<script src="../vendor/firebug-lite/src/firebug-lite-debug.js"></script>
|
<script src="../vendor/firebug-lite/src/firebug-lite-debug.js"></script>
|
||||||
<script src="./asset/perf-ui.js"></script>
|
<script src="./asset/perf-ui.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -109,7 +109,7 @@
|
|||||||
|
|
||||||
/** Load Benchmark.js. */
|
/** Load Benchmark.js. */
|
||||||
var Benchmark = root.Benchmark || (root.Benchmark = (
|
var Benchmark = root.Benchmark || (root.Benchmark = (
|
||||||
Benchmark = load('../vendor/benchmark.js/benchmark.js') || root.Benchmark,
|
Benchmark = load('../node_modules/benchmark/benchmark.js') || root.Benchmark,
|
||||||
Benchmark = Benchmark.Benchmark || Benchmark,
|
Benchmark = Benchmark.Benchmark || Benchmark,
|
||||||
Benchmark.runInContext(lodash.extend({}, root, { '_': lodash }))
|
Benchmark.runInContext(lodash.extend({}, root, { '_': lodash }))
|
||||||
));
|
));
|
||||||
|
|||||||
22
vendor/benchmark.js/LICENSE
vendored
22
vendor/benchmark.js/LICENSE
vendored
@@ -1,22 +0,0 @@
|
|||||||
Copyright 2010-2016 Mathias Bynens <https://mathiasbynens.be/>
|
|
||||||
Based on JSLitmus.js, copyright Robert Kieffer <http://broofa.com/>
|
|
||||||
Modified by John-David Dalton <http://allyoucanleet.com/>
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of this software and associated documentation files (the
|
|
||||||
"Software"), to deal in the Software without restriction, including
|
|
||||||
without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
distribute, sublicense, and/or sell copies of the Software, and to
|
|
||||||
permit persons to whom the Software is furnished to do so, subject to
|
|
||||||
the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be
|
|
||||||
included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
||||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
||||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
||||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
||||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
2808
vendor/benchmark.js/benchmark.js
vendored
2808
vendor/benchmark.js/benchmark.js
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user