mirror of
https://github.com/flynx/colors.js.git
synced 2025-10-29 11:00:11 +00:00
Update stringPrototypeBlacklist object
stringPrototypeBlacklist is updated according to ES6 String.prototype.repeat() method
This commit is contained in:
parent
7e1e601ddc
commit
511aa7f822
@ -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','repeat' , 'replace', 'search', 'slice', 'split', 'substring',
|
||||
'indexOf', 'lastIndexof', 'length', 'localeCompare', 'match', 'repeat', 'replace', 'search', 'slice', 'split', 'substring',
|
||||
'toLocaleLowerCase', 'toLocaleUpperCase', 'toLowerCase', 'toUpperCase', 'trim', 'trimLeft', 'trimRight'
|
||||
];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user