Lines Matching refs:test

445     return element.className !== void 0 && element.className.test(createClassNameRegExp(className));
459 if (!createClassNameRegExp(className[len]).test(_className)) {
553 if (HTML_CHARACTERS.test(content)) {
2136 …th ? false : n.length == 1 ? /\d/.test(n) : /^\s*[+-]?\s*(?:(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?)|(?:0x[…
5496 var _isSafari = /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor);
5502 var _isChrome = /Chrome/.test(navigator.userAgent) && /Google/.test(navigator.vendor);
5513 return (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(userAgent)
5633 …0-9\-]+\.)?\x68\x61\x6E\x64\x73\x6F\x6E\x74\x61\x62\x6C\x65\x2E\x63\x6F\x6D$/i.test(location.host);
5881 return (/^([0-9][0-9]?%$)|(^100%$)/.test(value)
6439 var test = document.createElement('div');
6441 return !!(test.createShadowRoot && test.createShadowRoot.toString().match(/\[native code\]/));
7803 while (i >= 0 && localFormattingTokens.test(format)) {
7984 …this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m…
7994 this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];
8066 if (strict && format === 'MMMM' && this._longMonthsParse[i].test(monthName)) {
8068 } else if (strict && format === 'MMM' && this._shortMonthsParse[i].test(monthName)) {
8070 } else if (!strict && this._monthsParse[i].test(monthName)) {
8087 if (/^\d+$/.test(value)) {
8494 this._weekdays[this._weekdays.isFormat.test(format) ? 'format' : 'standalone'][m.day()];
8599 if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) {
8601 } else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) {
8603 } else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) {
8605 } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {
15106 …if (changes[i][3].length > 0 && (/^-?[\d\s]*(\.|,)?\d*$/.test(changes[i][3]) || cellProperties.for…
15257 callback(validator.test(value));
22204 if (lastLength || !separatorCopy.test('')) output.push('');
31296 function (test, buggy, set) {
31299 set(test, []);
31300 buggy = !(test instanceof Array);
31676 } else if (!/^[a-zA-Z \.,\\\/\|0-9]$/.test(newChar)) {
40147 return new RegExp(_predefinedItems.SEPARATOR, 'i').test(item.name);
48954 if (typeof delay === 'string' && /fps$/.test(delay)) {
49140 callback(/^-?\d*(\.|,)?\d*$/.test(value));
49182 value = /^\d{3,}$/.test(value) ? parseInt(value, 10) : value;
49184 var twoDigitValue = /^\d{1,2}$/.test(value);
50015 return (/Array/).test(Object.prototype.toString.call(obj));
50020 return (/Date/).test(Object.prototype.toString.call(obj)) && !isNaN(obj.getTime());