瀏覽代碼

Clean up.

Mr.doob 10 年之前
父節點
當前提交
d1e8f38c44
共有 1 個文件被更改,包括 10 次插入5 次删除
  1. 10 5
      src/Three.js

+ 10 - 5
src/Three.js

@@ -4,13 +4,18 @@
 
 
 var THREE = { REVISION: '72dev' };
 var THREE = { REVISION: '72dev' };
 
 
-// browserify support
-if (typeof define === 'function' && define.amd) {
-    define("three", THREE);
-} else if ('undefined' !== typeof exports && 'undefined' !== typeof module) {
+//
+
+if ( typeof define === 'function' && define.amd ) {
+
+    define( 'three', THREE );
+
+} else if ( 'undefined' !== typeof exports && 'undefined' !== typeof module ) {
+
     module.exports = THREE;
     module.exports = THREE;
+
 }
 }
- 
+
 
 
 // polyfills
 // polyfills