Avoid RegExp#teat error in older Opera.

This commit is contained in:
John-David Dalton
2014-04-27 11:40:02 -07:00
parent 626dac600a
commit 7eff6fde7c

View File

@@ -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',