Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Commit

Permalink
Alternative templating, cleanup.
Browse files Browse the repository at this point in the history
Just added brackets.
  • Loading branch information
Miosss committed Jul 10, 2014
1 parent c37c58a commit d193951
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Chart.Core.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,9 @@
template = helpers.template = function(templateString, valuesObject){
// If templateString is function rather than string-template - call the function for valuesObject
if(templateString instanceof Function)
{
return templateString(valuesObject);
}

var cache = {};
function tmpl(str, data){
Expand Down

0 comments on commit d193951

Please sign in to comment.