Sha256: feed3bba3922aba8179721c65e4537acfa375e31f17dd96f28ce0150250f07f3
Contents?: true
Size: 1.25 KB
Versions: 17
Compression:
Stored size: 1.25 KB
Contents
/** * Jasmine 2.0 standalone `boot.js` modified for Karma. * This file is registered in `index.js`. This version * does not include `HtmlReporter` setup. */ (function (global) { /*global jasmineRequire */ 'use strict'; /** * Require Jasmine's core files. Specifically, this requires and * attaches all of Jasmine's code to the `jasmine` reference. */ var jasmine = jasmineRequire.core(jasmineRequire); /** * Obtain the public Jasmine API. */ var jasmineInterface = jasmineRequire.interface(jasmine, jasmine.getEnv()); /** * Setting up timing functions to be able to be overridden. * Certain browsers (Safari, IE 8, PhantomJS) require this hack. */ global.setTimeout = global.setTimeout; global.setInterval = global.setInterval; global.clearTimeout = global.clearTimeout; global.clearInterval = global.clearInterval; /** * Add all of the Jasmine global/public interface to the proper * global, so a project can use the public interface directly. * For example, calling `describe` in specs instead of * `jasmine.getEnv().describe`. */ for (var property in jasmineInterface) { if (jasmineInterface.hasOwnProperty(property)) { global[property] = jasmineInterface[property]; } } }(window));
Version data entries
17 entries across 17 versions & 2 rubygems