Sha256: 910f738fd96439218d18d9b441da8daece5e51456eb81bb812c84f663d8408ed

Contents?: true

Size: 551 Bytes

Versions: 10

Compression:

Stored size: 551 Bytes

Contents

// ==========================================================================
// Project:   Web Typed Array
// Copyright: ©2010 Strobe Inc. All rights reserved.
// License:   Licened under MIT license (see __preamble__.js)
// ==========================================================================
/*globals ENV ArrayBuffer */

var supported = false;
switch(ENV.SPADE_PLATFORM.ENGINE) {
  case 'browser':
    supported = 'undefined' !== typeof ArrayBuffer;
    break;
  
  case 'spade':
    supported = true;
}

exports.isSupported = supported;


Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
spade-packager-0.1.0.1 packages/web-typed-array/lib/platform.js
spade-packager-0.1.0 packages/web-typed-array/lib/platform.js
spade-0.0.8.1 packages/web-typed-array/lib/platform.js
spade-0.0.7 packages/web-typed-array/lib/platform.js
spade-0.0.6 packages/web-typed-array/lib/platform.js
spade-0.0.5 packages/web-typed-array/lib/platform.js
spade-0.0.4 packages/web-typed-array/lib/platform.js
spade-0.0.3 packages/web-typed-array/lib/platform.js
spade-0.0.2 packages/web-typed-array/lib/platform.js
spade-0.0.1 packages/web-typed-array/lib/platform.js