提交 00bf28f0 编写于 作者: E Evgeny Bovykin

Add native AMD support

上级 2b02d708
......@@ -5,12 +5,11 @@
var THREE = { REVISION: '72dev' };
// browserify support
if ( typeof module === 'object' ) {
module.exports = THREE;
}
if (typeof define === 'function' && define.amd) {
define("three", THREE);
} else if ('undefined' !== typeof exports && 'undefined' !== typeof module) {
module.exports = THREE;
// polyfills
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册