function hasCanvasTypedArrays() {
  var canvas = document.createElement('canvas');
  canvas.width = canvas.height = 1;
  var ctx = canvas.getContext('2d');
  var imageData = ctx.createImageData(1, 1);
  return (typeof imageData.data.buffer !== 'undefined');
}
function hasCanvasTypedArrays() {
  var canvas = document.createElement('canvas');
  canvas.width = canvas.height = 1;
  var ctx = canvas.getContext('2d');
  var imageData = ctx.createImageData(1, 1);
  return (typeof imageData.data.buffer !== 'undefined');
}
function hasCanvasTypedArrays ( ) { var canvas = document . createElement ( 'canvas' ) ; canvas . width = canvas . height = 1 ; var ctx = canvas . getContext ( '2d' ) ; var imageData = ctx . createImageData ( 1 , 1 ) ; return ( typeof imageData . data . buffer !== 'undefined' ) ; }
#if !(FIREFOX || MOZCENTRAL || B2G || CHROME) // Lazy test if the userAgant support CanvasTypedArrays
#if ! ( FIREFOX || MOZCENTRAL || B2G || CHROME ) // Lazy test if the userAgant support CanvasTypedArrays