From: Nick Downie Date: Sun, 3 Aug 2014 15:39:04 +0000 (+0100) Subject: Whitespace cleanup X-Git-Tag: v1.0.1-beta.4~1^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09c0f3308cb226bc177761541bc882022658aadf;p=thirdparty%2FChart.js.git Whitespace cleanup --- diff --git a/src/Chart.Core.js b/src/Chart.Core.js index 280d4e3d9..619028f20 100755 --- a/src/Chart.Core.js +++ b/src/Chart.Core.js @@ -407,11 +407,10 @@ //Javascript micro templating by John Resig - source at http://ejohn.org/blog/javascript-micro-templating/ template = helpers.template = function(templateString, valuesObject){ // If templateString is function rather than string-template - call the function for valuesObject - if(templateString instanceof Function) - { + if(templateString instanceof Function){ return templateString(valuesObject); - } - + } + var cache = {}; function tmpl(str, data){ // Figure out if we're getting a template, or if we need to