function copyBlockToDestinationClamp(blockData, destArray, destIndex, scan) {
		var n = 0
		for (var i = 0; i < 8; i++) {
			for (var j = 0; j < 8; j++) {
				var p = blockData[n++]
				destArray[destIndex++] = p > 255 ? 255 : p < 0 ? 0 : p
			}
			destIndex += scan
		}
	}
// Clamping version for shitty browsers (IE) that don't support Uint8ClampedArray
Clamping version for shitty browsers (IE) that don't support Uint8ClampedArray
Clamping version for shitty browsers ( IE ) that don ' t support Uint8ClampedArray
function copyBlockToDestinationClamp(blockData, destArray, destIndex, scan) {
		var n = 0
		for (var i = 0; i < 8; i++) {
			for (var j = 0; j < 8; j++) {
				var p = blockData[n++]
				destArray[destIndex++] = p > 255 ? 255 : p < 0 ? 0 : p
			}
			destIndex += scan
		}
	}
function copyBlockToDestinationClamp ( blockData , destArray , destIndex , scan ) { var n = 0 for ( var i = 0 ; i < 8 ; i ++ ) { for ( var j = 0 ; j < 8 ; j ++ ) { var p = blockData [ n ++ ] destArray [ destIndex ++ ] = p > 255 ? 255 : p < 0 ? 0 : p } destIndex += scan } }
Clamping version for shitty browsers (IE) that don't support Uint8ClampedArray
Clamping version for shitty browsers ( IE ) that don ' t support Uint8ClampedArray