mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Use Boolean to fake out the isNative check and allow environments to test the native String#contains fork of _.contains
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
Object.keys = function() {};
|
||||
|
||||
String.prototype._contains = String.prototype.contains;
|
||||
String.prototype.contains = function() {};
|
||||
String.prototype.contains = String.prototype._contains ? function() {} : Boolean;
|
||||
|
||||
window.WinRTError = Error;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user