Adopt strict mode throughout the codebase

This commit is contained in:
Steve Gravrock
2025-10-05 06:53:54 -07:00
parent 73a30ffc3e
commit 68a7cbb991
116 changed files with 442 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ jasmineRequire.html = function(j$) {
};
jasmineRequire.HtmlReporter = function(j$) {
'use strict';
function ResultsStateBuilder() {
this.topResults = new j$.private.ResultsNode({}, '', null);
this.currentParent = this.topResults;
@@ -907,6 +909,8 @@ jasmineRequire.HtmlReporter = function(j$) {
};
jasmineRequire.HtmlSpecFilter = function() {
'use strict';
/**
* @name HtmlSpecFilter
* @classdesc Legacy HTML spec filter, for backward compatibility
@@ -946,6 +950,8 @@ jasmineRequire.HtmlSpecFilter = function() {
};
jasmineRequire.ResultsNode = function() {
'use strict';
function ResultsNode(result, type, parent) {
this.result = result;
this.type = type;
@@ -970,6 +976,8 @@ jasmineRequire.ResultsNode = function() {
};
jasmineRequire.QueryString = function() {
'use strict';
/**
* Reads and manipulates the query string.
* @since 2.0.0
@@ -1054,6 +1062,8 @@ jasmineRequire.QueryString = function() {
};
jasmineRequire.HtmlExactSpecFilter = function() {
'use strict';
/**
* Spec filter for use with {@link HtmlReporter}
*