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 authored and Dave Reed committed Apr 30, 2010
1 parent c1e1ac9 commit a0d1a9f
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 a0d1a9f

Please sign in to comment.