adds clamped type

This commit is contained in:
Francisco Dans 2015-04-28 12:28:23 +02:00
parent c3b22324f1
commit 3309b2cfad

View File

@ -61,6 +61,7 @@
// types // types
var types = { var types = {
Uint8Array: typeof(global['Uint8Array']) !== 'undefined' ? global.Uint8Array : Array, Uint8Array: typeof(global['Uint8Array']) !== 'undefined' ? global.Uint8Array : Array,
Uint8ClampedArray: typeof(global['Uint8ClampedArray']) !== 'undefined' ? global.Uint8ClampedArray: Array
Uint32Array: typeof(global['Uint32Array']) !== 'undefined' ? global.Uint32Array : Array, Uint32Array: typeof(global['Uint32Array']) !== 'undefined' ? global.Uint32Array : Array,
Int16Array: typeof(global['Int16Array']) !== 'undefined' ? global.Int16Array : Array, Int16Array: typeof(global['Int16Array']) !== 'undefined' ? global.Int16Array : Array,
Int32Array: typeof(global['Int32Array']) !== 'undefined' ? global.Int32Array: Array Int32Array: typeof(global['Int32Array']) !== 'undefined' ? global.Int32Array: Array