mirror of
https://github.com/flynx/colors.js.git
synced 2025-10-29 02:50:10 +00:00
Update stringPrototypeBlacklist object
stringPrototypeBlacklist is updated according to ES6 String.prototype.repeat() method.
This commit is contained in:
parent
9f3ace4470
commit
7e1e601ddc
@ -67,7 +67,7 @@ module['exports'] = function () {
|
||||
var stringPrototypeBlacklist = [
|
||||
'__defineGetter__', '__defineSetter__', '__lookupGetter__', '__lookupSetter__', 'charAt', 'constructor',
|
||||
'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'valueOf', 'charCodeAt',
|
||||
'indexOf', 'lastIndexof', 'length', 'localeCompare', 'match', 'replace', 'search', 'slice', 'split', 'substring',
|
||||
'indexOf', 'lastIndexof', 'length', 'localeCompare', 'match','repeat' , 'replace', 'search', 'slice', 'split', 'substring',
|
||||
'toLocaleLowerCase', 'toLocaleUpperCase', 'toLowerCase', 'toUpperCase', 'trim', 'trimLeft', 'trimRight'
|
||||
];
|
||||
|
||||
@ -110,4 +110,4 @@ module['exports'] = function () {
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user