Sha256: ecf8de239f19f81f134e1fca93951836fb650ddfd4c68439233f26a45d9f7a9e

Contents?: true

Size: 492 Bytes

Versions: 9

Compression:

Stored size: 492 Bytes

Contents

(function(env) {
  function hasFunctioningTypedArrays() {
    if (typeof Uint32Array === 'undefined') { return false; }

    try {
      var a = new Uint32Array([1, 2, 3]);
      if (a.length !== 3) { return false; }
      return true;
    } catch(e) {
      return false;
    }
  }

  env.requireFunctioningTypedArrays = function() {
    if (!hasFunctioningTypedArrays()) {
      env.pending("Browser has incomplete or missing support for typed arrays");
    }
  };
  
})(jasmine.getEnv());

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/jasmine-core-2.8.0/lib/jasmine-core/spec/helpers/checkForTypedArrays.js
jasmine-core-2.99.1 ./lib/jasmine-core/spec/helpers/checkForTypedArrays.js
jasmine-core-3.0.0 ./lib/jasmine-core/spec/helpers/checkForTypedArrays.js
jasmine-core-2.99.0 ./lib/jasmine-core/spec/helpers/checkForTypedArrays.js
jasmine-core-2.9.1 ./lib/jasmine-core/spec/helpers/checkForTypedArrays.js
jasmine-core-2.9.0 ./lib/jasmine-core/spec/helpers/checkForTypedArrays.js
tdiary-5.0.7 vendor/bundle/gems/jasmine-core-2.8.0/lib/jasmine-core/spec/helpers/checkForTypedArrays.js
tdiary-5.0.6 vendor/bundle/gems/jasmine-core-2.8.0/lib/jasmine-core/spec/helpers/checkForTypedArrays.js
jasmine-core-2.8.0 ./lib/jasmine-core/spec/helpers/checkForTypedArrays.js