// Remove the jQuery export from the entry file, we'll use our own
// custom wrapper.
setOverride( inputRollupOptions.input,
- read( inputFileName ).replace( /\n*export default jQuery;\n*/, "\n" ) );
+ read( inputFileName ).replace( /\n*export \{ jQuery, jQuery as \$ };\n*/, "\n" ) );
// Replace exports/global with a noop noConflict
if ( excluded.includes( "exports/global" ) ) {
-import jQuery from "./core.js";
-import document from "./var/document.js";
-import rnothtmlwhite from "./var/rnothtmlwhite.js";
-import location from "./ajax/var/location.js";
-import nonce from "./ajax/var/nonce.js";
-import rquery from "./ajax/var/rquery.js";
+import { jQuery } from "./core.js";
+import { document } from "./var/document.js";
+import { rnothtmlwhite } from "./var/rnothtmlwhite.js";
+import { location } from "./ajax/var/location.js";
+import { nonce } from "./ajax/var/nonce.js";
+import { rquery } from "./ajax/var/rquery.js";
import "./core/init.js";
import "./core/parseXML.js";
}
} );
-export default jQuery;
+export { jQuery, jQuery as $ };
-import jQuery from "../core.js";
+import { jQuery } from "../core.js";
import "../ajax.js";
-import jQuery from "../core.js";
-import nonce from "./var/nonce.js";
-import rquery from "./var/rquery.js";
+import { jQuery } from "../core.js";
+import { nonce } from "./var/nonce.js";
+import { rquery } from "./var/rquery.js";
import "../ajax.js";
-import jQuery from "../core.js";
-import stripAndCollapse from "../core/stripAndCollapse.js";
+import { jQuery } from "../core.js";
+import { stripAndCollapse } from "../core/stripAndCollapse.js";
import "../core/parseHTML.js";
import "../ajax.js";
-import jQuery from "../core.js";
-import document from "../var/document.js";
+import { jQuery } from "../core.js";
+import { document } from "../var/document.js";
import "../ajax.js";
-export default window.location;
+export var location = window.location;
-export default { guid: Date.now() };
+export var nonce = { guid: Date.now() };
-export default ( /\?/ );
+export var rquery = /\?/;
-import jQuery from "../core.js";
+import { jQuery } from "../core.js";
import "../ajax.js";
-import jQuery from "./core.js";
+import { jQuery } from "./core.js";
import "./attributes/attr.js";
import "./attributes/prop.js";
import "./attributes/val.js";
// Return jQuery for attributes-only inclusion
-export default jQuery;
+export { jQuery, jQuery as $ };
-import jQuery from "../core.js";
-import access from "../core/access.js";
-import nodeName from "../core/nodeName.js";
-import rnothtmlwhite from "../var/rnothtmlwhite.js";
-import isIE from "../var/isIE.js";
+import { jQuery } from "../core.js";
+import { access } from "../core/access.js";
+import { nodeName } from "../core/nodeName.js";
+import { rnothtmlwhite } from "../var/rnothtmlwhite.js";
+import { isIE } from "../var/isIE.js";
import "../selector.js";
-import jQuery from "../core.js";
-import stripAndCollapse from "../core/stripAndCollapse.js";
-import rnothtmlwhite from "../var/rnothtmlwhite.js";
+import { jQuery } from "../core.js";
+import { stripAndCollapse } from "../core/stripAndCollapse.js";
+import { rnothtmlwhite } from "../var/rnothtmlwhite.js";
import "../core/init.js";
-import jQuery from "../core.js";
-import access from "../core/access.js";
-import isIE from "../var/isIE.js";
+import { jQuery } from "../core.js";
+import { access } from "../core/access.js";
+import { isIE } from "../var/isIE.js";
import "../selector.js";
-import jQuery from "../core.js";
-import isIE from "../var/isIE.js";
-import stripAndCollapse from "../core/stripAndCollapse.js";
-import nodeName from "../core/nodeName.js";
+import { jQuery } from "../core.js";
+import { isIE } from "../var/isIE.js";
+import { stripAndCollapse } from "../core/stripAndCollapse.js";
+import { nodeName } from "../core/nodeName.js";
import "../core/init.js";
-import jQuery from "./core.js";
-import toType from "./core/toType.js";
-import rnothtmlwhite from "./var/rnothtmlwhite.js";
+import { jQuery } from "./core.js";
+import { toType } from "./core/toType.js";
+import { rnothtmlwhite } from "./var/rnothtmlwhite.js";
// Convert String-formatted options into Object-formatted ones
function createOptions( options ) {
return self;
};
-export default jQuery;
+export { jQuery, jQuery as $ };
-import arr from "./var/arr.js";
-import getProto from "./var/getProto.js";
-import slice from "./var/slice.js";
-import flat from "./var/flat.js";
-import push from "./var/push.js";
-import indexOf from "./var/indexOf.js";
-import class2type from "./var/class2type.js";
-import toString from "./var/toString.js";
-import hasOwn from "./var/hasOwn.js";
-import fnToString from "./var/fnToString.js";
-import ObjectFunctionString from "./var/ObjectFunctionString.js";
-import support from "./var/support.js";
-import isArrayLike from "./core/isArrayLike.js";
-import DOMEval from "./core/DOMEval.js";
+import { arr } from "./var/arr.js";
+import { getProto } from "./var/getProto.js";
+import { slice } from "./var/slice.js";
+import { flat } from "./var/flat.js";
+import { push } from "./var/push.js";
+import { indexOf } from "./var/indexOf.js";
+import { class2type } from "./var/class2type.js";
+import { toString } from "./var/toString.js";
+import { hasOwn } from "./var/hasOwn.js";
+import { fnToString } from "./var/fnToString.js";
+import { ObjectFunctionString } from "./var/ObjectFunctionString.js";
+import { support } from "./var/support.js";
+import { isArrayLike } from "./core/isArrayLike.js";
+import { DOMEval } from "./core/DOMEval.js";
var version = "@VERSION",
class2type[ "[object " + name + "]" ] = name.toLowerCase();
} );
-export default jQuery;
+export { jQuery, jQuery as $ };
-import document from "../var/document.js";
+import { document } from "../var/document.js";
var preservedScriptAttributes = {
type: true,
noModule: true
};
-function DOMEval( code, node, doc ) {
+export function DOMEval( code, node, doc ) {
doc = doc || document;
var i,
}
doc.head.appendChild( script ).parentNode.removeChild( script );
}
-
-export default DOMEval;
-import jQuery from "../core.js";
-import toType from "../core/toType.js";
+import { jQuery } from "../core.js";
+import { toType } from "../core/toType.js";
// Multifunctional method to get and set values of a collection
// The value/s can optionally be executed if it's a function
-var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
+export function access( elems, fn, key, value, chainable, emptyGet, raw ) {
var i = 0,
len = elems.length,
bulk = key == null;
}
return len ? fn( elems[ 0 ], key ) : emptyGet;
-};
-
-export default access;
+}
}
// Convert dashed to camelCase
-function camelCase( string ) {
+export function camelCase( string ) {
return string.replace( rdashAlpha, fcamelCase );
}
-
-export default camelCase;
// Initialize a jQuery object
-import jQuery from "../core.js";
-import document from "../var/document.js";
-import rsingleTag from "./var/rsingleTag.js";
-import isObviousHtml from "./isObviousHtml.js";
+import { jQuery } from "../core.js";
+import { document } from "../var/document.js";
+import { rsingleTag } from "./var/rsingleTag.js";
+import { isObviousHtml } from "./isObviousHtml.js";
import "../traversing/findFilter.js";
-import toType from "./toType.js";
-import isWindow from "../var/isWindow.js";
+import { toType } from "./toType.js";
+import { isWindow } from "../var/isWindow.js";
-function isArrayLike( obj ) {
+export function isArrayLike( obj ) {
var length = !!obj && obj.length,
type = toType( obj );
return type === "array" || length === 0 ||
typeof length === "number" && length > 0 && ( length - 1 ) in obj;
}
-
-export default isArrayLike;
-import jQuery from "../core.js";
-import documentElement from "../var/documentElement.js";
+import { jQuery } from "../core.js";
+import { documentElement } from "../var/documentElement.js";
var isAttached = function( elem ) {
return jQuery.contains( elem.ownerDocument, elem ) ||
};
}
-export default isAttached;
+export { isAttached };
-function isObviousHtml( input ) {
+export function isObviousHtml( input ) {
return input[ 0 ] === "<" &&
input[ input.length - 1 ] === ">" &&
input.length >= 3;
}
-
-export default isObviousHtml;
-function nodeName( elem, name ) {
-
+export function nodeName( elem, name ) {
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
-
}
-
-export default nodeName;
-import jQuery from "../core.js";
-import document from "../var/document.js";
-import rsingleTag from "./var/rsingleTag.js";
-import buildFragment from "../manipulation/buildFragment.js";
-import isObviousHtml from "./isObviousHtml.js";
+import { jQuery } from "../core.js";
+import { document } from "../var/document.js";
+import { rsingleTag } from "./var/rsingleTag.js";
+import { buildFragment } from "../manipulation/buildFragment.js";
+import { isObviousHtml } from "./isObviousHtml.js";
// Argument "data" should be string of html or a TrustedHTML wrapper of obvious HTML
// context (optional): If specified, the fragment will be created in this context,
-import jQuery from "../core.js";
+import { jQuery } from "../core.js";
// Cross-browser xml parsing
jQuery.parseXML = function( data ) {
-import jQuery from "../core.js";
-import document from "../var/document.js";
+import { jQuery } from "../core.js";
+import { document } from "../var/document.js";
var readyCallbacks = [],
whenReady = function( fn ) {
-import jQuery from "../core.js";
-import document from "../var/document.js";
+import { jQuery } from "../core.js";
+import { document } from "../var/document.js";
import "../core/readyException.js";
import "../deferred.js";
-import jQuery from "../core.js";
+import { jQuery } from "../core.js";
jQuery.readyException = function( error ) {
window.setTimeout( function() {
-import rnothtmlwhite from "../var/rnothtmlwhite.js";
+import { rnothtmlwhite } from "../var/rnothtmlwhite.js";
// Strip and collapse whitespace according to HTML spec
// https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace
-function stripAndCollapse( value ) {
+export function stripAndCollapse( value ) {
var tokens = value.match( rnothtmlwhite ) || [];
return tokens.join( " " );
}
-
-export default stripAndCollapse;
-import class2type from "../var/class2type.js";
-import toString from "../var/toString.js";
+import { class2type } from "../var/class2type.js";
+import { toString } from "../var/toString.js";
-function toType( obj ) {
+export function toType( obj ) {
if ( obj == null ) {
return obj + "";
}
class2type[ toString.call( obj ) ] || "object" :
typeof obj;
}
-
-export default toType;
// rsingleTag matches a string consisting of a single HTML element with no attributes
// and captures the element's name
-export default ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i );
+export var rsingleTag = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
-import jQuery from "./core.js";
-import access from "./core/access.js";
-import nodeName from "./core/nodeName.js";
-import rcssNum from "./var/rcssNum.js";
-import isIE from "./var/isIE.js";
-import rnumnonpx from "./css/var/rnumnonpx.js";
-import rcustomProp from "./css/var/rcustomProp.js";
-import cssExpand from "./css/var/cssExpand.js";
-import isAutoPx from "./css/isAutoPx.js";
-import cssCamelCase from "./css/cssCamelCase.js";
-import getStyles from "./css/var/getStyles.js";
-import swap from "./css/var/swap.js";
-import curCSS from "./css/curCSS.js";
-import adjustCSS from "./css/adjustCSS.js";
-import finalPropName from "./css/finalPropName.js";
-import support from "./css/support.js";
+import { jQuery } from "./core.js";
+import { access } from "./core/access.js";
+import { nodeName } from "./core/nodeName.js";
+import { rcssNum } from "./var/rcssNum.js";
+import { isIE } from "./var/isIE.js";
+import { rnumnonpx } from "./css/var/rnumnonpx.js";
+import { rcustomProp } from "./css/var/rcustomProp.js";
+import { cssExpand } from "./css/var/cssExpand.js";
+import { isAutoPx } from "./css/isAutoPx.js";
+import { cssCamelCase } from "./css/cssCamelCase.js";
+import { getStyles } from "./css/var/getStyles.js";
+import { swap } from "./css/var/swap.js";
+import { curCSS } from "./css/curCSS.js";
+import { adjustCSS } from "./css/adjustCSS.js";
+import { finalPropName } from "./css/finalPropName.js";
+import { support } from "./css/support.js";
import "./core/init.js";
import "./core/ready.js";
}
} );
-export default jQuery;
+export { jQuery, jQuery as $ };
-import jQuery from "../core.js";
-import isAutoPx from "./isAutoPx.js";
-import rcssNum from "../var/rcssNum.js";
+import { jQuery } from "../core.js";
+import { isAutoPx } from "./isAutoPx.js";
+import { rcssNum } from "../var/rcssNum.js";
-function adjustCSS( elem, prop, valueParts, tween ) {
+export function adjustCSS( elem, prop, valueParts, tween ) {
var adjusted, scale,
maxIterations = 20,
currentValue = tween ?
}
return adjusted;
}
-
-export default adjustCSS;
-import camelCase from "../core/camelCase.js";
+import { camelCase } from "../core/camelCase.js";
// Matches dashed string for camelizing
var rmsPrefix = /^-ms-/;
// Used by the css & effects modules.
// Support: IE <=9 - 11+
// Microsoft forgot to hump their vendor prefix (trac-9572)
-function cssCamelCase( string ) {
+export function cssCamelCase( string ) {
return camelCase( string.replace( rmsPrefix, "ms-" ) );
}
-
-export default cssCamelCase;
-import jQuery from "../core.js";
-import isAttached from "../core/isAttached.js";
-import getStyles from "./var/getStyles.js";
-import rcustomProp from "./var/rcustomProp.js";
-import rtrim from "../var/rtrim.js";
+import { jQuery } from "../core.js";
+import { isAttached } from "../core/isAttached.js";
+import { getStyles } from "./var/getStyles.js";
+import { rcustomProp } from "./var/rcustomProp.js";
+import { rtrim } from "../var/rtrim.js";
-function curCSS( elem, name, computed ) {
+export function curCSS( elem, name, computed ) {
var ret,
isCustomProp = rcustomProp.test( name );
ret + "" :
ret;
}
-
-export default curCSS;
-import document from "../var/document.js";
+import { document } from "../var/document.js";
var cssPrefixes = [ "Webkit", "Moz", "ms" ],
emptyStyle = document.createElement( "div" ).style,
}
// Return a potentially-mapped vendor prefixed property
-function finalPropName( name ) {
+export function finalPropName( name ) {
var final = vendorProps[ name ];
if ( final ) {
}
return vendorProps[ name ] = vendorPropName( name ) || name;
}
-
-export default finalPropName;
-import jQuery from "../core.js";
+import { jQuery } from "../core.js";
import "../selector.js";
// \ Max / \ Height /
rautoPx = /^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;
-function isAutoPx( prop ) {
+export function isAutoPx( prop ) {
// The first test is used to ensure that:
// 1. The prop starts with a lowercase letter (as we uppercase it for the second regex).
return ralphaStart.test( prop ) &&
rautoPx.test( prop[ 0 ].toUpperCase() + prop.slice( 1 ) );
}
-
-export default isAutoPx;
-import jQuery from "../core.js";
-import dataPriv from "../data/var/dataPriv.js";
-import isHiddenWithinTree from "../css/var/isHiddenWithinTree.js";
+import { jQuery } from "../core.js";
+import { dataPriv } from "../data/var/dataPriv.js";
+import { isHiddenWithinTree } from "../css/var/isHiddenWithinTree.js";
var defaultDisplayMap = {};
return display;
}
-function showHide( elements, show ) {
+export function showHide( elements, show ) {
var display, elem,
values = [],
index = 0,
} );
}
} );
-
-export default showHide;
-import document from "../var/document.js";
-import documentElement from "../var/documentElement.js";
-import support from "../var/support.js";
+import { document } from "../var/document.js";
+import { documentElement } from "../var/documentElement.js";
+import { support } from "../var/support.js";
( function() {
};
} )();
-export default support;
+export { support };
-export default [ "Top", "Right", "Bottom", "Left" ];
+export var cssExpand = [ "Top", "Right", "Bottom", "Left" ];
-export default function( elem ) {
+export function getStyles( elem ) {
// Support: IE <=11+ (trac-14150)
// In IE popup's `window` is the opener window which makes `window.getComputedStyle( elem )`
-import jQuery from "../../core.js";
+import { jQuery } from "../../core.js";
// isHiddenWithinTree reports if an element has a non-"none" display style (inline and/or
// through the CSS cascade), which is useful in deciding whether or not to make it visible.
// * Being disconnected from the document does not force an element to be classified as hidden.
// These differences improve the behavior of .toggle() et al. when applied to elements that are
// detached or contained within hidden ancestors (gh-2404, gh-2863).
-export default function( elem, el ) {
+export function isHiddenWithinTree( elem, el ) {
// isHiddenWithinTree might be called from jQuery#filter function;
// in that case, element will be second argument
-export default ( /^--/ );
+export var rcustomProp = /^--/;
-import pnum from "../../var/pnum.js";
+import { pnum } from "../../var/pnum.js";
-export default new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" );
+export var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" );
// A method for quickly swapping in/out CSS properties to get correct calculations.
-export default function( elem, options, callback ) {
+export function swap( elem, options, callback ) {
var ret, name,
old = {};
-import jQuery from "./core.js";
-import access from "./core/access.js";
-import camelCase from "./core/camelCase.js";
-import dataPriv from "./data/var/dataPriv.js";
-import dataUser from "./data/var/dataUser.js";
+import { jQuery } from "./core.js";
+import { access } from "./core/access.js";
+import { camelCase } from "./core/camelCase.js";
+import { dataPriv } from "./data/var/dataPriv.js";
+import { dataUser } from "./data/var/dataUser.js";
// Implementation Summary
//
}
} );
-export default jQuery;
+export { jQuery, jQuery as $ };
-import jQuery from "../core.js";
-import camelCase from "../core/camelCase.js";
-import rnothtmlwhite from "../var/rnothtmlwhite.js";
-import acceptData from "./var/acceptData.js";
+import { jQuery } from "../core.js";
+import { camelCase } from "../core/camelCase.js";
+import { rnothtmlwhite } from "../var/rnothtmlwhite.js";
+import { acceptData } from "./var/acceptData.js";
-function Data() {
+export function Data() {
this.expando = jQuery.expando + Data.uid++;
}
return cache !== undefined && !jQuery.isEmptyObject( cache );
}
};
-
-export default Data;
/**
* Determines whether an object can have data
*/
-export default function( owner ) {
+export function acceptData( owner ) {
// Accepts only:
// - Node
-import Data from "../Data.js";
+import { Data } from "../Data.js";
-export default new Data();
+export var dataPriv = new Data();
-import Data from "../Data.js";
+import { Data } from "../Data.js";
-export default new Data();
+export var dataUser = new Data();
-import jQuery from "./core.js";
-import slice from "./var/slice.js";
+import { jQuery } from "./core.js";
+import { slice } from "./var/slice.js";
import "./callbacks.js";
}
} );
-export default jQuery;
+export { jQuery, jQuery as $ };
-import jQuery from "../core.js";
+import { jQuery } from "../core.js";
import "../deferred.js";
-import jQuery from "./core.js";
-import slice from "./var/slice.js";
+import { jQuery } from "./core.js";
+import { slice } from "./var/slice.js";
import "./deprecated/ajax-event-alias.js";
import "./deprecated/event.js";
jQuery.ready( true );
}
};
+
+export { jQuery, jQuery as $ };
-import jQuery from "../core.js";
+import { jQuery } from "../core.js";
import "../ajax.js";
import "../event.js";
-import jQuery from "../core.js";
+import { jQuery } from "../core.js";
import "../event.js";
import "../event/trigger.js";
-import jQuery from "./core.js";
-import access from "./core/access.js";
-import isWindow from "./var/isWindow.js";
+import { jQuery } from "./core.js";
+import { access } from "./core/access.js";
+import { isWindow } from "./var/isWindow.js";
import "./css.js";
} );
} );
-export default jQuery;
+export { jQuery, jQuery as $ };
-import jQuery from "./core.js";
-import document from "./var/document.js";
-import rcssNum from "./var/rcssNum.js";
-import rnothtmlwhite from "./var/rnothtmlwhite.js";
-import cssExpand from "./css/var/cssExpand.js";
-import isHiddenWithinTree from "./css/var/isHiddenWithinTree.js";
-import adjustCSS from "./css/adjustCSS.js";
-import cssCamelCase from "./css/cssCamelCase.js";
-import dataPriv from "./data/var/dataPriv.js";
-import showHide from "./css/showHide.js";
+import { jQuery } from "./core.js";
+import { document } from "./var/document.js";
+import { rcssNum } from "./var/rcssNum.js";
+import { rnothtmlwhite } from "./var/rnothtmlwhite.js";
+import { cssExpand } from "./css/var/cssExpand.js";
+import { isHiddenWithinTree } from "./css/var/isHiddenWithinTree.js";
+import { adjustCSS } from "./css/adjustCSS.js";
+import { cssCamelCase } from "./css/cssCamelCase.js";
+import { dataPriv } from "./data/var/dataPriv.js";
+import { showHide } from "./css/showHide.js";
import "./core/init.js";
import "./queue.js";
_default: 400
};
-export default jQuery;
+export { jQuery, jQuery as $ };
-import jQuery from "../core.js";
-import isAutoPx from "../css/isAutoPx.js";
-import finalPropName from "../css/finalPropName.js";
+import { jQuery } from "../core.js";
+import { isAutoPx } from "../css/isAutoPx.js";
+import { finalPropName } from "../css/finalPropName.js";
import "../css.js";
-import jQuery from "../core.js";
+import { jQuery } from "../core.js";
import "../selector.js";
import "../effects.js";
-import jQuery from "./core.js";
-import documentElement from "./var/documentElement.js";
-import rnothtmlwhite from "./var/rnothtmlwhite.js";
-import rcheckableType from "./var/rcheckableType.js";
-import slice from "./var/slice.js";
-import isIE from "./var/isIE.js";
-import acceptData from "./data/var/acceptData.js";
-import dataPriv from "./data/var/dataPriv.js";
-import nodeName from "./core/nodeName.js";
+import { jQuery } from "./core.js";
+import { documentElement } from "./var/documentElement.js";
+import { rnothtmlwhite } from "./var/rnothtmlwhite.js";
+import { rcheckableType } from "./var/rcheckableType.js";
+import { slice } from "./var/slice.js";
+import { isIE } from "./var/isIE.js";
+import { acceptData } from "./data/var/acceptData.js";
+import { dataPriv } from "./data/var/dataPriv.js";
+import { nodeName } from "./core/nodeName.js";
import "./core/init.js";
import "./selector.js";
}
} );
-export default jQuery;
+export { jQuery, jQuery as $ };
-import jQuery from "../core.js";
-import document from "../var/document.js";
-import dataPriv from "../data/var/dataPriv.js";
-import acceptData from "../data/var/acceptData.js";
-import hasOwn from "../var/hasOwn.js";
-import isWindow from "../var/isWindow.js";
+import { jQuery } from "../core.js";
+import { document } from "../var/document.js";
+import { dataPriv } from "../data/var/dataPriv.js";
+import { acceptData } from "../data/var/acceptData.js";
+import { hasOwn } from "../var/hasOwn.js";
+import { isWindow } from "../var/isWindow.js";
import "../event.js";
-import jQuery from "../core.js";
+import { jQuery } from "../core.js";
// Register as a named AMD module, since jQuery can be concatenated with other
// files that may use define, but not via a proper concatenation script that
-import jQuery from "../core.js";
+import { jQuery } from "../core.js";
var
-import jQuery from "./core.js";
+import { jQuery } from "./core.js";
import "./selector.js";
import "./traversing.js";
import "./exports/amd.js";
import "./exports/global.js";
-export default jQuery;
+export { jQuery, jQuery as $ };
-import jQuery from "./core.js";
-import isAttached from "./core/isAttached.js";
-import isIE from "./var/isIE.js";
-import push from "./var/push.js";
-import access from "./core/access.js";
-import rtagName from "./manipulation/var/rtagName.js";
-import wrapMap from "./manipulation/wrapMap.js";
-import getAll from "./manipulation/getAll.js";
-import domManip from "./manipulation/domManip.js";
-import setGlobalEval from "./manipulation/setGlobalEval.js";
-import dataPriv from "./data/var/dataPriv.js";
-import dataUser from "./data/var/dataUser.js";
-import acceptData from "./data/var/acceptData.js";
-import nodeName from "./core/nodeName.js";
+import { jQuery } from "./core.js";
+import { isAttached } from "./core/isAttached.js";
+import { isIE } from "./var/isIE.js";
+import { push } from "./var/push.js";
+import { access } from "./core/access.js";
+import { rtagName } from "./manipulation/var/rtagName.js";
+import { wrapMap } from "./manipulation/wrapMap.js";
+import { getAll } from "./manipulation/getAll.js";
+import { domManip } from "./manipulation/domManip.js";
+import { setGlobalEval } from "./manipulation/setGlobalEval.js";
+import { dataPriv } from "./data/var/dataPriv.js";
+import { dataUser } from "./data/var/dataUser.js";
+import { acceptData } from "./data/var/acceptData.js";
+import { nodeName } from "./core/nodeName.js";
import "./core/init.js";
import "./traversing.js";
};
} );
-export default jQuery;
+export { jQuery, jQuery as $ };
-import jQuery from "../ajax.js";
+import { jQuery } from "../ajax.js";
jQuery._evalUrl = function( url, options, doc ) {
return jQuery.ajax( {
-import jQuery from "../core.js";
-import toType from "../core/toType.js";
-import isAttached from "../core/isAttached.js";
-import arr from "../var/arr.js";
-import rtagName from "./var/rtagName.js";
-import rscriptType from "./var/rscriptType.js";
-import wrapMap from "./wrapMap.js";
-import getAll from "./getAll.js";
-import setGlobalEval from "./setGlobalEval.js";
-import isArrayLike from "../core/isArrayLike.js";
+import { jQuery } from "../core.js";
+import { toType } from "../core/toType.js";
+import { isAttached } from "../core/isAttached.js";
+import { arr } from "../var/arr.js";
+import { rtagName } from "./var/rtagName.js";
+import { rscriptType } from "./var/rscriptType.js";
+import { wrapMap } from "./wrapMap.js";
+import { getAll } from "./getAll.js";
+import { setGlobalEval } from "./setGlobalEval.js";
+import { isArrayLike } from "../core/isArrayLike.js";
var rhtml = /<|&#?\w+;/;
-function buildFragment( elems, context, scripts, selection, ignored ) {
+export function buildFragment( elems, context, scripts, selection, ignored ) {
var elem, tmp, tag, wrap, attached, j,
fragment = context.createDocumentFragment(),
nodes = [],
return fragment;
}
-
-export default buildFragment;
-import jQuery from "../core.js";
-import flat from "../var/flat.js";
-import rscriptType from "./var/rscriptType.js";
-import getAll from "./getAll.js";
-import buildFragment from "./buildFragment.js";
-import dataPriv from "../data/var/dataPriv.js";
-import DOMEval from "../core/DOMEval.js";
+import { jQuery } from "../core.js";
+import { flat } from "../var/flat.js";
+import { rscriptType } from "./var/rscriptType.js";
+import { getAll } from "./getAll.js";
+import { buildFragment } from "./buildFragment.js";
+import { dataPriv } from "../data/var/dataPriv.js";
+import { DOMEval } from "../core/DOMEval.js";
// Replace/restore the type attribute of script elements for safe DOM manipulation
function disableScript( elem ) {
return elem;
}
-function domManip( collection, args, callback, ignored ) {
+export function domManip( collection, args, callback, ignored ) {
// Flatten any nested arrays
args = flat( args );
return collection;
}
-
-export default domManip;
-import jQuery from "../core.js";
-import nodeName from "../core/nodeName.js";
+import { jQuery } from "../core.js";
+import { nodeName } from "../core/nodeName.js";
-function getAll( context, tag ) {
+export function getAll( context, tag ) {
// Support: IE <=9 - 11+
// Use typeof to avoid zero-argument method invocation on host objects (trac-15151)
return ret;
}
-
-export default getAll;
-import dataPriv from "../data/var/dataPriv.js";
+import { dataPriv } from "../data/var/dataPriv.js";
// Mark scripts as having already been evaluated
-function setGlobalEval( elems, refElements ) {
+export function setGlobalEval( elems, refElements ) {
var i = 0,
l = elems.length;
);
}
}
-
-export default setGlobalEval;
-export default ( /^$|^module$|\/(?:java|ecma)script/i );
+export var rscriptType = /^$|^module$|\/(?:java|ecma)script/i;
// rtagName captures the name from the first start tag in a string of HTML
// https://html.spec.whatwg.org/multipage/syntax.html#tag-open-state
// https://html.spec.whatwg.org/multipage/syntax.html#tag-name-state
-export default ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i );
+export var rtagName = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i;
-var wrapMap = {
+export var wrapMap = {
// Table parts need to be wrapped with `<table>` or they're
// stripped to their contents when put in a div.
wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
wrapMap.th = wrapMap.td;
-
-export default wrapMap;
-import jQuery from "./core.js";
-import access from "./core/access.js";
-import documentElement from "./var/documentElement.js";
-import isWindow from "./var/isWindow.js";
+import { jQuery } from "./core.js";
+import { access } from "./core/access.js";
+import { documentElement } from "./var/documentElement.js";
+import { isWindow } from "./var/isWindow.js";
import "./core/init.js";
import "./css.js";
};
} );
-export default jQuery;
+export { jQuery, jQuery as $ };
-import jQuery from "./core.js";
-import dataPriv from "./data/var/dataPriv.js";
+import { jQuery } from "./core.js";
+import { dataPriv } from "./data/var/dataPriv.js";
import "./deferred.js";
import "./callbacks.js";
}
} );
-export default jQuery;
+export { jQuery, jQuery as $ };
-import jQuery from "../core.js";
+import { jQuery } from "../core.js";
import "../queue.js";
import "../effects.js"; // Delay is optional because of this dependency
* needs.
*/
-import jQuery from "./core.js";
-import document from "./var/document.js";
-import whitespace from "./var/whitespace.js";
-import isIE from "./var/isIE.js";
-import booleans from "./selector/var/booleans.js";
-import rleadingCombinator from "./selector/var/rleadingCombinator.js";
-import rdescend from "./selector/var/rdescend.js";
-import rsibling from "./selector/var/rsibling.js";
-import matches from "./selector/var/matches.js";
-import testContext from "./selector/testContext.js";
-import filterMatchExpr from "./selector/filterMatchExpr.js";
-import preFilter from "./selector/preFilter.js";
-import tokenize from "./selector/tokenize.js";
-import toSelector from "./selector/toSelector.js";
+import { jQuery } from "./core.js";
+import { document } from "./var/document.js";
+import { whitespace } from "./var/whitespace.js";
+import { isIE } from "./var/isIE.js";
+import { booleans } from "./selector/var/booleans.js";
+import { rleadingCombinator } from "./selector/var/rleadingCombinator.js";
+import { rdescend } from "./selector/var/rdescend.js";
+import { rsibling } from "./selector/var/rsibling.js";
+import { matches } from "./selector/var/matches.js";
+import { testContext } from "./selector/testContext.js";
+import { filterMatchExpr } from "./selector/filterMatchExpr.js";
+import { preFilter } from "./selector/preFilter.js";
+import { tokenize } from "./selector/tokenize.js";
+import { toSelector } from "./selector/toSelector.js";
// The following utils are attached directly to the jQuery object.
import "./selector/escapeSelector.js";
},
tokenize: tokenize
} );
+
+export { jQuery, jQuery as $ };
-import jQuery from "./core.js";
-import nodeName from "./core/nodeName.js";
-import document from "./var/document.js";
-import indexOf from "./var/indexOf.js";
-import pop from "./var/pop.js";
-import push from "./var/push.js";
-import whitespace from "./var/whitespace.js";
-import rbuggyQSA from "./selector/rbuggyQSA.js";
-import rtrim from "./var/rtrim.js";
-import isIE from "./var/isIE.js";
-import identifier from "./selector/var/identifier.js";
-import booleans from "./selector/var/booleans.js";
-import rleadingCombinator from "./selector/var/rleadingCombinator.js";
-import rdescend from "./selector/var/rdescend.js";
-import rsibling from "./selector/var/rsibling.js";
-import matches from "./selector/var/matches.js";
-import createCache from "./selector/createCache.js";
-import testContext from "./selector/testContext.js";
-import filterMatchExpr from "./selector/filterMatchExpr.js";
-import preFilter from "./selector/preFilter.js";
-import selectorError from "./selector/selectorError.js";
-import unescapeSelector from "./selector/unescapeSelector.js";
-import tokenize from "./selector/tokenize.js";
-import toSelector from "./selector/toSelector.js";
+import { jQuery } from "./core.js";
+import { nodeName } from "./core/nodeName.js";
+import { document } from "./var/document.js";
+import { indexOf } from "./var/indexOf.js";
+import { pop } from "./var/pop.js";
+import { push } from "./var/push.js";
+import { whitespace } from "./var/whitespace.js";
+import { rbuggyQSA } from "./selector/rbuggyQSA.js";
+import { rtrim } from "./var/rtrim.js";
+import { isIE } from "./var/isIE.js";
+import { identifier } from "./selector/var/identifier.js";
+import { booleans } from "./selector/var/booleans.js";
+import { rleadingCombinator } from "./selector/var/rleadingCombinator.js";
+import { rdescend } from "./selector/var/rdescend.js";
+import { rsibling } from "./selector/var/rsibling.js";
+import { matches } from "./selector/var/matches.js";
+import { createCache } from "./selector/createCache.js";
+import { testContext } from "./selector/testContext.js";
+import { filterMatchExpr } from "./selector/filterMatchExpr.js";
+import { preFilter } from "./selector/preFilter.js";
+import { selectorError } from "./selector/selectorError.js";
+import { unescapeSelector } from "./selector/unescapeSelector.js";
+import { tokenize } from "./selector/tokenize.js";
+import { toSelector } from "./selector/toSelector.js";
// The following utils are attached directly to the jQuery object.
import "./selector/escapeSelector.js";
find.tokenize = tokenize;
} )();
+
+export { jQuery, jQuery as $ };
-import jQuery from "../core.js";
+import { jQuery } from "../core.js";
/**
* Create key-value caches of limited size
* property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)
* deleting the oldest entry
*/
-function createCache() {
+export function createCache() {
var keys = [];
function cache( key, value ) {
}
return cache;
}
-
-export default createCache;
-import jQuery from "../core.js";
+import { jQuery } from "../core.js";
// CSS string/identifier serialization
// https://drafts.csswg.org/cssom/#common-serializing-idioms
-import whitespace from "../var/whitespace.js";
-import identifier from "./var/identifier.js";
-import attributes from "./var/attributes.js";
-import pseudos from "./var/pseudos.js";
+import { whitespace } from "../var/whitespace.js";
+import { identifier } from "./var/identifier.js";
+import { attributes } from "./var/attributes.js";
+import { pseudos } from "./var/pseudos.js";
-var filterMatchExpr = {
+export var filterMatchExpr = {
ID: new RegExp( "^#(" + identifier + ")" ),
CLASS: new RegExp( "^\\.(" + identifier + ")" ),
TAG: new RegExp( "^(" + identifier + "|[*])" ),
whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" +
whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" )
};
-
-export default filterMatchExpr;
-import rpseudo from "./var/rpseudo.js";
-import filterMatchExpr from "./filterMatchExpr.js";
-import unescapeSelector from "./unescapeSelector.js";
-import selectorError from "./selectorError.js";
-import tokenize from "./tokenize.js";
+import { rpseudo } from "./var/rpseudo.js";
+import { filterMatchExpr } from "./filterMatchExpr.js";
+import { unescapeSelector } from "./unescapeSelector.js";
+import { selectorError } from "./selectorError.js";
+import { tokenize } from "./tokenize.js";
-var preFilter = {
+export var preFilter = {
ATTR: function( match ) {
match[ 1 ] = unescapeSelector( match[ 1 ] );
return match.slice( 0, 3 );
}
};
-
-export default preFilter;
-import isIE from "../var/isIE.js";
-import whitespace from "../var/whitespace.js";
-import support from "./support.js";
+import { isIE } from "../var/isIE.js";
+import { whitespace } from "../var/whitespace.js";
+import { support } from "./support.js";
-var rbuggyQSA = [];
+export var rbuggyQSA = [];
if ( isIE ) {
rbuggyQSA.push(
}
rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) );
-
-export default rbuggyQSA;
-function selectorError( msg ) {
+export function selectorError( msg ) {
throw new Error( "Syntax error, unrecognized expression: " + msg );
}
-
-export default selectorError;
-import document from "../var/document.js";
-import support from "../var/support.js";
+import { document } from "../var/document.js";
+import { support } from "../var/support.js";
// Support: Chrome 105 - 111 only, Safari 15.4 - 16.3 only
// Make sure the `:has()` argument is parsed unforgivingly.
support.cssHas = true;
}
-export default support;
+export { support };
* @param {Element|Object=} context
* @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
*/
-function testContext( context ) {
+export function testContext( context ) {
return context && typeof context.getElementsByTagName !== "undefined" && context;
}
-
-export default testContext;
-function toSelector( tokens ) {
+export function toSelector( tokens ) {
var i = 0,
len = tokens.length,
selector = "";
}
return selector;
}
-
-export default toSelector;
-import jQuery from "../core.js";
-import rcomma from "./var/rcomma.js";
-import rleadingCombinator from "./var/rleadingCombinator.js";
-import rtrim from "../var/rtrim.js";
-import createCache from "./createCache.js";
-import selectorError from "./selectorError.js";
-import filterMatchExpr from "./filterMatchExpr.js";
+import { jQuery } from "../core.js";
+import { rcomma } from "./var/rcomma.js";
+import { rleadingCombinator } from "./var/rleadingCombinator.js";
+import { rtrim } from "../var/rtrim.js";
+import { createCache } from "./createCache.js";
+import { selectorError } from "./selectorError.js";
+import { filterMatchExpr } from "./filterMatchExpr.js";
var tokenCache = createCache();
-function tokenize( selector, parseOnly ) {
+export function tokenize( selector, parseOnly ) {
var matched, match, tokens, type,
soFar, groups, preFilters,
cached = tokenCache[ selector + " " ];
// Cache the tokens
tokenCache( selector, groups ).slice( 0 );
}
-
-export default tokenize;
// CSS escapes
// https://www.w3.org/TR/CSS21/syndata.html#escaped-characters
-import whitespace from "../var/whitespace.js";
+import { whitespace } from "../var/whitespace.js";
var runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace +
"?|\\\\([^\\r\\n\\f])", "g" ),
String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );
};
-function unescapeSelector( sel ) {
+export function unescapeSelector( sel ) {
return sel.replace( runescape, funescape );
}
-
-export default unescapeSelector;
-import jQuery from "../core.js";
-import document from "../var/document.js";
-import sort from "../var/sort.js";
-import splice from "../var/splice.js";
-import slice from "../var/slice.js";
+import { jQuery } from "../core.js";
+import { document } from "../var/document.js";
+import { sort } from "../var/sort.js";
+import { splice } from "../var/splice.js";
+import { slice } from "../var/slice.js";
var hasDuplicate;
-import whitespace from "../../var/whitespace.js";
-import identifier from "./identifier.js";
+import { whitespace } from "../../var/whitespace.js";
+import { identifier } from "./identifier.js";
// Attribute selectors: https://www.w3.org/TR/selectors/#attribute-selectors
-export default "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace +
+export var attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace +
// Operator (capture 2)
"*([*^$|!~]?=)" + whitespace +
-export default "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|" +
- "loop|multiple|open|readonly|required|scoped";
+export var booleans = "checked|selected|async|autofocus|autoplay|controls|" +
+ "defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped";
-import whitespace from "../../var/whitespace.js";
+import { whitespace } from "../../var/whitespace.js";
// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram
-export default "(?:\\\\[\\da-fA-F]{1,6}" + whitespace +
+export var identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace +
"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+";
-import documentElement from "../../var/documentElement.js";
+import { documentElement } from "../../var/documentElement.js";
// Support: IE 9 - 11+
// IE requires a prefix.
-export default documentElement.matches || documentElement.msMatchesSelector;
+export var matches = documentElement.matches || documentElement.msMatchesSelector;
-import identifier from "./identifier.js";
-import attributes from "./attributes.js";
+import { identifier } from "./identifier.js";
+import { attributes } from "./attributes.js";
-export default ":(" + identifier + ")(?:\\((" +
+export var pseudos = ":(" + identifier + ")(?:\\((" +
// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:
// 1. quoted (capture 3; capture 4 or capture 5)
-import whitespace from "../../var/whitespace.js";
+import { whitespace } from "../../var/whitespace.js";
-export default new RegExp( "^" + whitespace + "*," + whitespace + "*" );
+export var rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" );
-import whitespace from "../../var/whitespace.js";
+import { whitespace } from "../../var/whitespace.js";
-export default new RegExp( whitespace + "|>" );
+export var rdescend = new RegExp( whitespace + "|>" );
-import whitespace from "../../var/whitespace.js";
+import { whitespace } from "../../var/whitespace.js";
-export default new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" +
- whitespace + "*" );
+export var rleadingCombinator = new RegExp( "^" + whitespace + "*([>+~]|" +
+ whitespace + ")" + whitespace + "*" );
-import pseudos from "./pseudos.js";
+import { pseudos } from "./pseudos.js";
-export default new RegExp( pseudos );
+export var rpseudo = new RegExp( pseudos );
-export default /[+~]/;
+export var rsibling = /[+~]/;
-import jQuery from "./core.js";
-import toType from "./core/toType.js";
-import rcheckableType from "./var/rcheckableType.js";
+import { jQuery } from "./core.js";
+import { toType } from "./core/toType.js";
+import { rcheckableType } from "./var/rcheckableType.js";
import "./core/init.js";
import "./traversing.js"; // filter
}
} );
-export default jQuery;
+export { jQuery, jQuery as $ };
-import jQuery from "./core.js";
-import getProto from "./var/getProto.js";
-import indexOf from "./var/indexOf.js";
-import dir from "./traversing/var/dir.js";
-import siblings from "./traversing/var/siblings.js";
-import rneedsContext from "./traversing/var/rneedsContext.js";
-import nodeName from "./core/nodeName.js";
+import { jQuery } from "./core.js";
+import { getProto } from "./var/getProto.js";
+import { indexOf } from "./var/indexOf.js";
+import { dir } from "./traversing/var/dir.js";
+import { siblings } from "./traversing/var/siblings.js";
+import { rneedsContext } from "./traversing/var/rneedsContext.js";
+import { nodeName } from "./core/nodeName.js";
import "./core/init.js";
import "./traversing/findFilter.js";
};
} );
-export default jQuery;
+export { jQuery, jQuery as $ };
-import jQuery from "../core.js";
-import indexOf from "../var/indexOf.js";
-import rneedsContext from "./var/rneedsContext.js";
+import { jQuery } from "../core.js";
+import { indexOf } from "../var/indexOf.js";
+import { rneedsContext } from "./var/rneedsContext.js";
import "../selector.js";
-import jQuery from "../../core.js";
+import { jQuery } from "../../core.js";
-export default function( elem, dir, until ) {
+export function dir( elem, dir, until ) {
var matched = [],
truncate = until !== undefined;
-import jQuery from "../../core.js";
+import { jQuery } from "../../core.js";
import "../../selector.js";
-export default jQuery.expr.match.needsContext;
+export var rneedsContext = jQuery.expr.match.needsContext;
-export default function( n, elem ) {
+export function siblings( n, elem ) {
var matched = [];
for ( ; n; n = n.nextSibling ) {
-import fnToString from "./fnToString.js";
+import { fnToString } from "./fnToString.js";
-export default fnToString.call( Object );
+export var ObjectFunctionString = fnToString.call( Object );
-export default [];
+export var arr = [];
// [[Class]] -> type pairs
-export default {};
+export var class2type = {};
-export default window.document;
+export var document = window.document;
-import document from "./document.js";
+import { document } from "./document.js";
-export default document.documentElement;
+export var documentElement = document.documentElement;
-import arr from "./arr.js";
+import { arr } from "./arr.js";
// Support: IE 11+
// IE doesn't have Array#flat; provide a fallback.
-export default arr.flat ? function( array ) {
+export var flat = arr.flat ? function( array ) {
return arr.flat.call( array );
} : function( array ) {
return arr.concat.apply( [], array );
-import hasOwn from "./hasOwn.js";
+import { hasOwn } from "./hasOwn.js";
-export default hasOwn.toString;
+export var fnToString = hasOwn.toString;
-export default Object.getPrototypeOf;
+export var getProto = Object.getPrototypeOf;
-import class2type from "./class2type.js";
+import { class2type } from "./class2type.js";
-export default class2type.hasOwnProperty;
+export var hasOwn = class2type.hasOwnProperty;
-import arr from "./arr.js";
+import { arr } from "./arr.js";
-export default arr.indexOf;
+export var indexOf = arr.indexOf;
-import document from "./document.js";
+import { document } from "./document.js";
-export default document.documentMode;
+export var isIE = document.documentMode;
-export default function isWindow( obj ) {
+export function isWindow( obj ) {
return obj != null && obj === obj.window;
}
-export default ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source;
+export var pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source;
-import arr from "./arr.js";
+import { arr } from "./arr.js";
-export default arr.pop;
+export var pop = arr.pop;
-import arr from "./arr.js";
+import { arr } from "./arr.js";
-export default arr.push;
+export var push = arr.push;
-export default ( /^(?:checkbox|radio)$/i );
+export var rcheckableType = /^(?:checkbox|radio)$/i;
-import pnum from "../var/pnum.js";
+import { pnum } from "../var/pnum.js";
-export default new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" );
+export var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" );
// Only count HTML whitespace
// Other whitespace should count in values
// https://infra.spec.whatwg.org/#ascii-whitespace
-export default ( /[^\x20\t\r\n\f]+/g );
+export var rnothtmlwhite = /[^\x20\t\r\n\f]+/g;
-import whitespace from "./whitespace.js";
+import { whitespace } from "./whitespace.js";
-export default new RegExp(
+export var rtrim = new RegExp(
"^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$",
"g"
);
-import arr from "./arr.js";
+import { arr } from "./arr.js";
-export default arr.slice;
+export var slice = arr.slice;
-import arr from "./arr.js";
+import { arr } from "./arr.js";
-export default arr.sort;
+export var sort = arr.sort;
-import arr from "./arr.js";
+import { arr } from "./arr.js";
-export default arr.splice;
+export var splice = arr.splice;
// All support tests are defined in their respective modules.
-export default {};
+export var support = {};
-import class2type from "./class2type.js";
+import { class2type } from "./class2type.js";
-export default class2type.toString;
+export var toString = class2type.toString;
// https://www.w3.org/TR/css3-selectors/#whitespace
-export default "[\\x20\\t\\r\\n\\f]";
+export var whitespace = "[\\x20\\t\\r\\n\\f]";
-import jQuery from "./core.js";
+import { jQuery } from "./core.js";
import "./core/init.js";
import "./manipulation.js"; // clone
}
} );
-export default jQuery;
+export { jQuery, jQuery as $ };
// with a SyntaxError here.
dynamicImportSource = "" +
"import( `${ parentUrl }src/jquery.js` )\n" +
- " .then( ( { default: jQuery } ) => {\n" +
+ " .then( ( { jQuery } ) => {\n" +
" window.jQuery = jQuery;\n" +
" if ( typeof loadTests === \"function\" ) {\n" +
" // Include tests if specified\n" +