gulp-seajs-dot
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -34,3 +34,3 @@ var Through = require('through2'); | ||
function getChildCode(child){ | ||
return child.replace(/^\s*<script.*?>/, '').replace(/<\/script>\s*$/); | ||
return child.replace(/^\s*<script.*?>/, '').replace(/<\/script>\s*$/, ''); | ||
} | ||
@@ -47,3 +47,3 @@ | ||
if(!childId) return; | ||
output.push(' exports.' + childId + ' = ' + Dot.template(getChildCode(item)).toString()); | ||
output.push(' exports.' + childId + ' = ' + Dot.template(getChildCode(item)).toString() + ';'); | ||
}); | ||
@@ -50,0 +50,0 @@ } |
{ | ||
"name": "gulp-seajs-dot", | ||
"description": "dot模板引擎转seajs module", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
4495