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