Fix for Almond AMD

This commit is contained in:
chandruxp 2014-08-20 15:20:46 -04:00
parent 53c4cd5ce1
commit 47cf4f4814

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);