mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Avoid RegExp#teat error in older Opera.
This commit is contained in:
@@ -10368,7 +10368,9 @@
|
|||||||
QUnit.module('lodash methods');
|
QUnit.module('lodash methods');
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var allMethods = _.reject(_.functions(_), _.bind(RegExp.prototype.test, /^_/));
|
var allMethods = _.reject(_.functions(_), function(methodName) {
|
||||||
|
return /^_/.test(methodName);
|
||||||
|
});
|
||||||
|
|
||||||
var returnArrays = [
|
var returnArrays = [
|
||||||
'at',
|
'at',
|
||||||
|
|||||||
Reference in New Issue
Block a user