WIP - add extractor, generate snippet_data
This commit is contained in:
7
node_modules/underscore.string/splice.js
generated
vendored
Normal file
7
node_modules/underscore.string/splice.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
var chars = require('./chars');
|
||||
|
||||
module.exports = function splice(str, i, howmany, substr) {
|
||||
var arr = chars(str);
|
||||
arr.splice(~~i, ~~howmany, substr);
|
||||
return arr.join('');
|
||||
};
|
||||
Reference in New Issue
Block a user