src/drivers/jquery/modules/o_O.support.js in eyeballs-0.4.1 vs src/drivers/jquery/modules/o_O.support.js in eyeballs-0.4.2
- old
+ new
@@ -64,6 +64,10 @@
if(typeof String.prototype.capitalize == 'undefined')
{
String.prototype.capitalize = function(){
return this.charAt(0).toUpperCase() + this.slice(1);
}
+}
+
+String.prototype.o_O_trim = function(chars) {
+ return this.replace(new RegExp("(^[" + chars + "]+|[" + chars + "]+$)", "g"), '')
}
\ No newline at end of file