aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation/buildFragment.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/manipulation/buildFragment.js')
-rw-r--r--src/manipulation/buildFragment.js24
1 files changed, 11 insertions, 13 deletions
diff --git a/src/manipulation/buildFragment.js b/src/manipulation/buildFragment.js
index dd0d673e6..034ba89f4 100644
--- a/src/manipulation/buildFragment.js
+++ b/src/manipulation/buildFragment.js
@@ -1,17 +1,17 @@
-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 = [],
@@ -95,5 +95,3 @@ function buildFragment( elems, context, scripts, selection, ignored ) {
return fragment;
}
-
-export default buildFragment;