Skip to content

Commit

Permalink
update template
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminghe committed Jan 10, 2012
1 parent f5379bc commit 00436e4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions build/template-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions build/template.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2011, KISSY UI Library v1.20
Copyright 2012, KISSY UI Library v1.20
MIT Licensed
build time: Dec 8 16:21
build time: Jan 10 19:03
*/
/**
* @fileoverview KISSY Template Engine.
Expand Down Expand Up @@ -108,7 +108,7 @@ KISSY.add('template/base', function(S) {
// expression
Statements = {
'if': {
start: 'if(' + KS_TEMPL_STAT_PARAM + '){',
start: 'if(typeof (' + KS_TEMPL_STAT_PARAM + ') !=="undefined" && ' + KS_TEMPL_STAT_PARAM + '){',
end: '}'
},

Expand Down
2 changes: 1 addition & 1 deletion src/template/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ KISSY.add('template/base', function(S) {
// expression
Statements = {
'if': {
start: 'if(' + KS_TEMPL_STAT_PARAM + '){',
start: 'if(typeof (' + KS_TEMPL_STAT_PARAM + ') !=="undefined" && ' + KS_TEMPL_STAT_PARAM + '){',
end: '}'
},

Expand Down

0 comments on commit 00436e4

Please sign in to comment.