anorgatarrak-wordpress-theme/node_modules/underscore.string/clean.js

6 lines
116 B
JavaScript

var trim = require('./trim');
module.exports = function clean(str) {
return trim(str).replace(/\s\s+/g, ' ');
};