浏览代码

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 = {}));
 	(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.THREE = {}));
 }(this, (function (exports) { 'use strict';
 }(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.
 	 * Copyright (c) 2014-present, Facebook, Inc.
 	 *
 	 *

文件差异内容过多而无法显示
+ 0 - 0
build/three.min.js


部分文件因为文件数量过多而无法显示