소스 검색

Updated builds

Mr.doob 4 년 전
부모
커밋
a036601282
2개의 변경된 파일0개의 추가작업 그리고 58개의 파일을 삭제
  1. 0 58
      build/three.js
  2. 0 0
      build/three.min.js

+ 0 - 58
build/three.js

@@ -5,64 +5,6 @@
 	(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.THREE = {}));
 }(this, (function (exports) { 'use strict';
 
-	// Polyfills
-	if (Number.EPSILON === undefined) {
-		Number.EPSILON = Math.pow(2, -52);
-	}
-
-	if (Number.isInteger === undefined) {
-		// Missing in IE
-		// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger
-		Number.isInteger = function (value) {
-			return typeof value === 'number' && isFinite(value) && Math.floor(value) === value;
-		};
-	} //
-
-
-	if (Math.sign === undefined) {
-		// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sign
-		Math.sign = function (x) {
-			return x < 0 ? -1 : x > 0 ? 1 : +x;
-		};
-	}
-
-	if ('name' in Function.prototype === false) {
-		// Missing in IE
-		// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name
-		Object.defineProperty(Function.prototype, 'name', {
-			get: function get() {
-				return this.toString().match(/^\s*function\s*([^\(\s]*)/)[1];
-			}
-		});
-	}
-
-	if (Object.assign === undefined) {
-		// Missing in IE
-		// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
-		Object.assign = function (target) {
-
-			if (target === undefined || target === null) {
-				throw new TypeError('Cannot convert undefined or null to object');
-			}
-
-			var output = Object(target);
-
-			for (var index = 1; index < arguments.length; index++) {
-				var source = arguments[index];
-
-				if (source !== undefined && source !== null) {
-					for (var nextKey in source) {
-						if (Object.prototype.hasOwnProperty.call(source, nextKey)) {
-							output[nextKey] = source[nextKey];
-						}
-					}
-				}
-			}
-
-			return output;
-		};
-	}
-
 	/**
 	 * Copyright (c) 2014-present, Facebook, Inc.
 	 *

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
build/three.min.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.