This commit is contained in:
barisusakli
2015-10-14 16:00:45 -04:00
parent 096ecce87b
commit 16a65c8ffc
2 changed files with 10 additions and 1 deletions

View File

@@ -381,6 +381,12 @@
};
}
if (typeof String.prototype.rtrim != 'function') {
String.prototype.rtrim = function() {
return this.replace(/\s+$/g, '');
};
}
if ('undefined' !== typeof window) {
window.utils = module.exports;
}