mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Avoid error in Edge accessing localStorage when loading tests via the file: protocol.
This commit is contained in:
@@ -332,7 +332,7 @@
|
|||||||
}());
|
}());
|
||||||
|
|
||||||
/** Used to detect instrumented istanbul code coverage runs. */
|
/** Used to detect instrumented istanbul code coverage runs. */
|
||||||
var coverage = root.__coverage__ || root[lodashStable.findKey(root, function(value, key) {
|
var coverage = root.__coverage__ || root[lodashStable.find(lodashStable.keys(root), function(key) {
|
||||||
return /^(?:\$\$cov_\d+\$\$)$/.test(key);
|
return /^(?:\$\$cov_\d+\$\$)$/.test(key);
|
||||||
})];
|
})];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user