diff --git a/jquery.tmpl.js b/jquery.tmpl.js index ce609e5..91339c3 100644 --- a/jquery.tmpl.js +++ b/jquery.tmpl.js @@ -71,19 +71,19 @@ */ tmplcmd: { - each: { + "each": { _default: [ null, "$i" ], prefix: "jQuery.each($1,function($2){with(this){", suffix: "}});" }, - if: { + "if": { prefix: "if($1){", suffix: "}" }, - else: { + "else": { prefix: "}else{" }, - html: { + "html": { prefix: "_.push(typeof $1==='function'?$1.call(this):$1);" }, "=": {