Skip to content

Commit

Permalink
fixed a buf in getTemplateObj
Browse files Browse the repository at this point in the history
  • Loading branch information
mrharel committed Mar 13, 2013
1 parent 8a873a6 commit 198e8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion babajs.js
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ var BabaJS = {
_babajs : this,
_tplName : templateName,
toString: function(){
return this._compile();
return this.compile();
},
compile: function(data){
return this._babajs.includeTemplate(this._tplName,data);
Expand Down

0 comments on commit 198e8b2

Please sign in to comment.