Sha256: e855e61dea2ea381a9ff50a6d411c97c783d5de765c7e06c3fc9a8ec7abf147f

Contents?: true

Size: 231 Bytes

Versions: 19

Compression:

Stored size: 231 Bytes

Contents

var makeString = require('./helper/makeString');

module.exports = function(str, callback) {
  str = makeString(str);

  if (str.length === 0 || typeof callback !== 'function') return str;

  return str.replace(/./g, callback);
};

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ela-4.1.6 node_modules/underscore.string/map.js
ela-4.1.5 node_modules/underscore.string/map.js
ela-4.1.4 node_modules/underscore.string/map.js
ela-4.1.3 node_modules/underscore.string/map.js
ela-4.1.2 node_modules/underscore.string/map.js
ela-4.1.1 node_modules/underscore.string/map.js
ela-4.1.0 node_modules/underscore.string/map.js
ela-4.0.0 node_modules/underscore.string/map.js
ela-3.4.3 node_modules/underscore.string/map.js
ela-3.4.2 node_modules/underscore.string/map.js
ela-3.4.0 node_modules/underscore.string/map.js
ela-3.3.1 node_modules/underscore.string/map.js
ela-3.3.0 node_modules/underscore.string/map.js
ela-3.2.0 node_modules/underscore.string/map.js
ela-3.1.1 node_modules/underscore.string/map.js
ela-3.1.0 node_modules/underscore.string/map.js
ela-3.0.0 node_modules/underscore.string/map.js
ela-2.0.0 node_modules/underscore.string/map.js
ela-1.1.0 node_modules/underscore.string/map.js