diff --git a/lib/extendStringPrototype.js b/lib/extendStringPrototype.js index 67374a1..6c04c87 100644 --- a/lib/extendStringPrototype.js +++ b/lib/extendStringPrototype.js @@ -9,14 +9,6 @@ module['exports'] = function () { String.prototype.__defineGetter__(color, func); }; - var sequencer = function sequencer (map, str) { - return function () { - var exploded = this.split(""), i = 0; - exploded = exploded.map(map); - return exploded.join(""); - } - }; - addProperty('strip', function () { return colors.strip(this); }); @@ -67,7 +59,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', 'replace', 'search', 'slice', 'split', 'substring', 'toLocaleLowerCase', 'toLocaleUpperCase', 'toLowerCase', 'toUpperCase', 'trim', 'trimLeft', 'trimRight' ]; @@ -110,4 +102,4 @@ module['exports'] = function () { } }; -}; \ No newline at end of file +};