Also, dev_boot.js is now a copy of boot.js and has additional changes to load jasmine the second time, into the j$ reference.
13 lines
332 B
JavaScript
13 lines
332 B
JavaScript
function getJasmineRequireObj() {
|
|
if (typeof module !== "undefined" && module.exports) {
|
|
return exports;
|
|
} else {
|
|
window.jasmineRequire = window.jasmineRequire || {};
|
|
return window.jasmineRequire;
|
|
}
|
|
}
|
|
|
|
getJasmineRequireObj().console = function(jRequire, j$) {
|
|
j$.ConsoleReporter = jRequire.ConsoleReporter();
|
|
};
|