Have Jasmine HTML use the source files in specs
Similar to the changes in Jasmine core and console, this gets the HTML specs of Jasmine using j$ instead of jasmine so that they use the source files instead of the built distribution
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
jasmineRequire.HtmlReporter = function() {
|
||||
jasmineRequire.HtmlReporter = function(j$) {
|
||||
|
||||
var noopTimer = {
|
||||
start: function(){},
|
||||
@@ -23,7 +23,7 @@ jasmineRequire.HtmlReporter = function() {
|
||||
htmlReporterMain = createDom("div", {className: "html-reporter"},
|
||||
createDom("div", {className: "banner"},
|
||||
createDom("span", {className: "title"}, "Jasmine"),
|
||||
createDom("span", {className: "version"}, jasmine.version)
|
||||
createDom("span", {className: "version"}, j$.version)
|
||||
),
|
||||
createDom("ul", {className: "symbol-summary"}),
|
||||
createDom("div", {className: "alert"}),
|
||||
@@ -44,7 +44,7 @@ jasmineRequire.HtmlReporter = function() {
|
||||
|
||||
var summary = createDom("div", {className: "summary"});
|
||||
|
||||
var topResults = new jasmine.ResultsNode({}, "", null),
|
||||
var topResults = new j$.ResultsNode({}, "", null),
|
||||
currentParent = topResults;
|
||||
|
||||
this.suiteStarted = function(result) {
|
||||
|
||||
Reference in New Issue
Block a user