mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Update Benchmark.js to work in PhantomJS.
Former-commit-id: 9145f027f58a3c9f0c8b57b6e340f500ba4c7131
This commit is contained in:
2
vendor/benchmark.js/benchmark.js
vendored
2
vendor/benchmark.js/benchmark.js
vendored
@@ -197,7 +197,7 @@
|
||||
* @memberOf Benchmark.support
|
||||
* @type Boolean
|
||||
*/
|
||||
support.browser = doc && isHostType(context, 'navigator');
|
||||
support.browser = doc && isHostType(context, 'navigator') && !isHostType(context, 'phantom');
|
||||
|
||||
/**
|
||||
* Detect if Java is enabled/exposed.
|
||||
|
||||
Reference in New Issue
Block a user