add back removed rtrim method

This commit is contained in:
Barış Soner Uşaklı
2017-05-05 12:28:41 -04:00
parent 17d0759672
commit 5673769c8c

View File

@@ -429,5 +429,11 @@
};
}
if (typeof String.prototype.rtrim !== 'function') {
String.prototype.rtrim = function () {
return this.replace(/\s+$/g, '');
};
}
return utils;
}));