gulp-script-inject
Advanced tools
Comparing version 0.0.2 to 0.0.4
@@ -10,8 +10,8 @@ var through = require("through2"); | ||
var opts = param || {}; | ||
var pathname = opts.path; | ||
var pathname = opts.path || './src/json'; | ||
var varname = opts.varname || 'yamlPath'; | ||
var snippet = "<script></script>"; | ||
var stream = through.obj(function (file, enc, callback) { | ||
@@ -18,0 +18,0 @@ var checkAndInsert = function(buffer) { |
{ | ||
"name": "gulp-script-inject", | ||
"version": "0.0.2", | ||
"version": "0.0.4", | ||
"description": "A gulp plugin to inject JS variables after reading from a directory", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
4758