Skip to content

Commit

Permalink
Fix reserved word parser error from Chrome 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hoganlong committed Apr 6, 2010
1 parent ded2653 commit 1c7955c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jquery.tmpl.js
Expand Up @@ -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);"
},
"=": {
Expand Down

0 comments on commit 1c7955c

Please sign in to comment.