|
@@ -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
|
|
|
|