]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Whitespace cleanup
authorNick Downie <nick@nickdownie.com>
Sun, 3 Aug 2014 15:39:04 +0000 (16:39 +0100)
committerNick Downie <nick@nickdownie.com>
Sun, 3 Aug 2014 15:39:04 +0000 (16:39 +0100)
src/Chart.Core.js

index 280d4e3d998b65c0ea6ec582b0030f32f2ba77f5..619028f205850d90e22608c1da32a7067584aefc 100755 (executable)
                //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