/* animate */ //直接加載 (function() { var animate = {} //balabala window.animate = animate; })(); //AMD 加載器模式 define(function() { var animate = {} //balabala return animate; }); //CMD&&AMD&&直接加載 (function() { var animate = {} //balabala if (typeof module !== "undefined" && module.exports) { module.exports = animate; } else if (typeof define === "function" && define.amd) { define(function(){return animate;}); } else { window.animate = animate; } })();