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

Commit a4250b2

Browse files
committed
Core: Minor comments tweaks
1 parent 1065fa3 commit a4250b2

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

build/tasks/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ module.exports = function( grunt ) {
231231

232232
}
233233

234-
// Add the explicitly included modules.
234+
// Import the explicitly included modules.
235235
if ( included.length ) {
236236
rollupHypotheticalOptions.files[ inputRollupOptions.input ] = `${
237237
rollupHypotheticalOptions.files[ inputRollupOptions.input ] ||

src/core.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import isWindow from "./var/isWindow.js";
1818
import DOMEval from "./core/DOMEval.js";
1919
import toType from "./core/toType.js";
2020

21+
// When custom compilation is used, the version string can get large.
2122
// eslint-disable-next-line max-len
2223
var version = "@VERSION",
2324

test/jquery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
// Honor AMD loading on the main window (detected by seeing QUnit on it).
4343
// This doesn't apply to iframes because they synchronously expect jQuery to be there.
4444
if ( urlParams.jsmodules && window.QUnit ) {
45+
4546
// Support: IE 11+, Edge 12 - 18+
4647
// IE/Edge don't support the dynamic import syntax so they'd crash
4748
// with a SyntaxError here.
48-
4949
dynamicImportSource = "" +
5050
"import( `${ parentUrl }src/jquery.js` ).then( ( { default: jQuery } ) => {\n" +
5151
" window.jQuery = jQuery;\n" +

0 commit comments

Comments
 (0)