bin/phantom-jasmine.js
function checkJasmineStatus() {
  // Only inject the source once.
  if (jasmineFound) {
    return;
  }

  var found = page.evaluate(function () {
    return "jasmine" in window && jasmine.getEnv;
  });

  if (!found) {
    return;
  }

  jasmineFound = true;

  injectReporter();
}
function checkJasmineStatus() {
  // Only inject the source once.
  if (jasmineFound) {
    return;
  }

  var found = page.evaluate(function () {
    return "jasmine" in window && jasmine.getEnv;
  });

  if (!found) {
    return;
  }

  jasmineFound = true;

  injectReporter();
}
function checkJasmineStatus ( ) { // Only inject the source once. if ( jasmineFound ) { return ; } var found = page . evaluate ( function ( ) { return "jasmine" in window && jasmine . getEnv ; } ) ; if ( ! found ) { return ; } jasmineFound = true ; injectReporter ( ) ; }
Tests whether the global jasmine object is available yet and if so, inject the source for the ConsoleReporter.
Tests whether the global jasmine object is available yet and if so inject the source for the ConsoleReporter .