UNPKG

require-node-example

Version:

An example for how to use npm package: require-node & require-node-loader

10 lines (9 loc) 234 B
if (!String.prototype.trim) { (function() { // Make sure we trim BOM and NBSP var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; String.prototype.trim = function() { return this.replace(rtrim, ''); }; })(); }