🌐 AI搜索 & 代理 主页
Skip to content

Commit 84b6a0b

Browse files
authored
Build: Remove manual QUnit fixture resetting
It was needed when QUnit 1.x one used but we've since upgraded to QUnit 2.x. Closes gh-4312 Ref gh-4307
1 parent ca9356e commit 84b6a0b

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

build/tasks/qunit_fixture.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ module.exports = function( grunt ) {
1313
"utf8"
1414
).toString().replace( /\r\n/g, "\n" )
1515
) +
16-
";\n" +
17-
"// Compat with QUnit 1.x:\n" +
18-
"document.getElementById( \"qunit-fixture\" ).innerHTML = QUnit.config.fixture;\n"
16+
";\n"
1917
);
2018
grunt.log.ok( "Updated " + dest + "." );
2119
} );

test/data/qunit-fixture.js

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)