Version 1
[yaffs-website] / node_modules / underscore.string / insert.js
diff --git a/node_modules/underscore.string/insert.js b/node_modules/underscore.string/insert.js
new file mode 100644 (file)
index 0000000..1c99c3b
--- /dev/null
@@ -0,0 +1,5 @@
+var splice = require('./splice');
+
+module.exports = function insert(str, i, substr) {
+  return splice(str, i, 0, substr);
+};