瀏覽代碼

Removed Uint8ClampedArray workaround.

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

+ 1 - 2
src/utils.js

@@ -33,8 +33,7 @@ function arrayMax( array ) {
 const TYPED_ARRAYS = {
 	Int8Array: Int8Array,
 	Uint8Array: Uint8Array,
-	// Workaround for IE11 pre KB2929437. See #11440
-	Uint8ClampedArray: typeof Uint8ClampedArray !== 'undefined' ? Uint8ClampedArray : Uint8Array,
+	Uint8ClampedArray: Uint8ClampedArray,
 	Int16Array: Int16Array,
 	Uint16Array: Uint16Array,
 	Int32Array: Int32Array,