Sha256: 3a5b5282ae048bad169d1da954932d0ed864c4c62a8fdc132a4dc25d4e678102

Contents?: true

Size: 508 Bytes

Versions: 13

Compression:

Stored size: 508 Bytes

Contents

function glit() {
  // If testing with node.js, the GL context will (currently) be fake, making it impossible
  // to do proper picking. TODO make the GL context real! (Yes, it can be done -- see
  // https://github.com/pufuwozu/node-webgl.) For now, disable GL-specific tests under node.
  if (Jax.getGlobal().SPEC_CONTEXT && !Jax.getGlobal().SPEC_CONTEXT.gl.fake) {
    it.apply(this, arguments);
  } else {
    xit.apply(this, arguments);
  }
}

if (typeof(exports) != "undefined")
  exports.glit = glit;

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
jax-2.0.12 spec/javascripts/helpers/jasmine_webgl_helper.js
jax-2.0.11 spec/javascripts/helpers/jasmine_webgl_helper.js
jax-2.0.10 spec/javascripts/helpers/jasmine_webgl_helper.js
jax-2.0.9 spec/javascripts/helpers/jasmine_webgl_helper.js
jax-2.0.8 spec/javascripts/helpers/jasmine_webgl_helper.js
jax-2.0.7 spec/javascripts/helpers/jasmine_webgl_helper.js
jax-2.0.6 spec/javascripts/helpers/jasmine_webgl_helper.js
jax-2.0.5 spec/javascripts/helpers/jasmine_webgl_helper.js
jax-2.0.4 spec/javascripts/helpers/jasmine_webgl_helper.js
jax-2.0.3 spec/javascripts/helpers/jasmine_webgl_helper.js
jax-2.0.2 spec/javascripts/helpers/jasmine_webgl_helper.js
jax-2.0.1 spec/javascripts/helpers/jasmine_webgl_helper.js
jax-2.0.0 spec/javascripts/helpers/jasmine_webgl_helper.js