Browse Source

Clean up.

Mr.doob 10 years ago
parent
commit
d1e8f38c44
1 changed files with 10 additions and 5 deletions
  1. 10 5
      src/Three.js

+ 10 - 5
src/Three.js

@@ -4,13 +4,18 @@
 
 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;
+
 }
- 
+
 
 // polyfills