Skip to content

Commit 5826b7e

Browse files
committed
Remove unnecessary brackets.
1 parent 3c504e7 commit 5826b7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tmpl.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
tmpl(tmpl.load(str)) :
2323
new Function(
2424
tmpl.arg + ',tmpl',
25-
("var _e=tmpl.encode" + tmpl.helper + ",_s='" +
25+
"var _e=tmpl.encode" + tmpl.helper + ",_s='" +
2626
str.replace(tmpl.regexp, tmpl.func) +
27-
"';return _s;")
27+
"';return _s;"
2828
);
2929
return data ? f(data, tmpl) : function (data) {
3030
return f(data, tmpl);

0 commit comments

Comments
 (0)