Skip to content

Commit

Permalink
Core: Minor comments tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mgol committed Nov 14, 2019
1 parent 1065fa3 commit 0e8b742
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import isWindow from "./var/isWindow.js";
import DOMEval from "./core/DOMEval.js";
import toType from "./core/toType.js";

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

Expand Down
2 changes: 1 addition & 1 deletion test/jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
// Honor AMD loading on the main window (detected by seeing QUnit on it).
// This doesn't apply to iframes because they synchronously expect jQuery to be there.
if ( urlParams.jsmodules && window.QUnit ) {

// Support: IE 11+, Edge 12 - 18+
// IE/Edge don't support the dynamic import syntax so they'd crash
// with a SyntaxError here.

dynamicImportSource = "" +
"import( `${ parentUrl }src/jquery.js` ).then( ( { default: jQuery } ) => {\n" +
" window.jQuery = jQuery;\n" +
Expand Down

0 comments on commit 0e8b742

Please sign in to comment.