Fix for Almond AMD

This commit is contained in:
chandruxp 2014-08-18 18:52:50 -04:00
parent 8b840ce56b
commit 53c4cd5ce1

4
Chart.js vendored
View File

@ -280,7 +280,7 @@
//Method for warning of errors
if (window.console && typeof window.console.warn == "function") console.warn(str);
},
amd = helpers.amd = (typeof root.define == 'function' && root.define.amd),
amd = helpers.amd = (typeof define == 'function' && define.amd),
//-- Math methods
isNumber = helpers.isNumber = function(n){
return !isNaN(parseFloat(n)) && isFinite(n);
@ -3376,4 +3376,4 @@
}).call(this);
}).call(this);