add back removed rtrim method

v1.18.x
Barış Soner Uşaklı 8 years ago
parent 17d0759672
commit 5673769c8c

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

Loading…
Cancel
Save