Skip to content

Commit

Permalink
Fail on all falsy values.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Apr 1, 2010
1 parent 1018717 commit ded2653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.tmpl.js
Expand Up @@ -77,7 +77,7 @@
suffix: "}});"
},
if: {
prefix: "if(($1)!=null){",
prefix: "if($1){",
suffix: "}"
},
else: {
Expand Down

0 comments on commit ded2653

Please sign in to comment.