mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
Fix for Almond AMD
This commit is contained in:
parent
8b840ce56b
commit
53c4cd5ce1
4
Chart.js
vendored
4
Chart.js
vendored
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user