Fix duplicate return statement on simple templates

This commit is contained in:
kpdecker
2014-12-27 10:05:05 -06:00
parent 8babe05953
commit daa8f3dd05
@@ -248,7 +248,7 @@ JavaScriptCompiler.prototype = {
if (bufferStart) {
bufferStart.prepend('return ');
bufferEnd.add(';');
} else {
} else if (!sourceSeen) {
this.source.push('return "";');
}
} else {