Lines Matching refs:clone

369             clone: function(a) {
373 for (var b = 0; b < a.length; b++) e[b] = CKEDITOR.tools.clone(a[b]);
378 for (b in a) e[b] = CKEDITOR.tools.clone(a[b]);
1081 g = c.clone(a),
1082 d = c.clone(b);
1120 for (var c = CKEDITOR.tools.clone(a), g = 1; g < arguments.length; g++) {
1822 clone: function(a, d) {
2528 var b = this.clone(0, 1);
2529 a = a.clone(0, 1);
2538 …c.type == CKEDITOR.NODE_ELEMENT && (c = c.clone(), c.setHtml(b), b = c.getHtml(), c.setHtml(a), a …
2954 this.clone(1, 1).appendTo(a);
2960 clone: 1,
3209 l || e ? b.append(a.clone(!0, f), c) : (a.remove(), r && b.append(a, c));
3246 …for (Q != w || X.equals(p[Q]) && w < A ? b && (I = G.append(X.clone(0, f))) : M ? h(X, G, !1, E) :…
3259 …Q != A || c.equals(O[Q]) && A < w ? b && (I = G.append(c.clone(0, f))) : q ? h(c, G, !1, z) : P &&…
3327 clone: function() {
3363 …h || (c = b.clone(), c.setHtml("\x26nbsp;"), a && c.setAttribute("id", d + "E"), f = this.clone(),…
3364 f = this.clone();
3669 l = this.clone();
3678 l = this.clone();
3695 var h = this.clone(),
3843 d = a.clone(!1, b || !1);
3872 f = this.clone();
3886 c = this.clone();
3899 c = this.clone();
3907 var d = this.clone();
3916 var d = this.clone();
3967 … a ? (c = new CKEDITOR.dom.range(this.root), c.moveToPosition(a, m[b ? 0 : 1])) : c = this.clone();
3981 var a = this.clone();
4023 b, c, d, f = this.clone();
4141 b = b.clone();
4208 a = a.clone();
4236 var x = this.range.clone();
4246clone()), m = CKEDITOR.dom.walker.bookmark(!0, !0), k.evaluator = m, this._.nextNode = k.next(), k…
4278 … k || (k = this.range.clone(), k.setStartAt(m, CKEDITOR.POSITION_BEFORE_START));
4285 … K && !k && (k = this.range.clone(), k.setStartAt(m, CKEDITOR.POSITION_BEFORE_START));
4318 …" != d.getName() ? k.checkStartOfBlock() && k.checkEndOfBlock() || (d = d.clone(!1), k.extractCont…
5027 var l = CKEDITOR.tools.clone(f),
5061 clone: function() {
5063 b = CKEDITOR.tools.clone;
5666 a = a && CKEDITOR.tools.clone(a);
5887 return b.is("tr") ? a.cloneContents() : b.clone(!0)
5892 c(M) ? (e || (e = q.getAscendant("table").clone(), e.append(q.getAscendant({
5896 …}).clone()), f.append(e), e = e.findOne("thead, tbody, tfoot")), h && h.equals(q) || (h = q, g = q…
6379 …[a] ? f == u.name && (y(u, u.parent, 1), c--) : (b || (r(), b = 1), d = d.clone(), d.parent = u, u…
7141 clone: function() {
7222 …for (var b = this.children.splice(a, this.children.length - a), d = this.clone(), k = 0; k < b.len…
7535 …k(b, e.block, f) && h.collapsed && !h.getCommonAncestor().isReadOnly() && (e = h.clone(), e.enlarg…
7582 var g = e.clone();
7588 …if (d) return g = e.clone(), g.collapse(), g.setEndAt(d, CKEDITOR.POSITION_AFTER_END), a = new CKE…
7807 range: a.clone()
8165 var f = b.clone(),
8256 …for (w = z.inlineStylesRoot.getParent(); !r.equals(w);) p = p.appendTo(r.clone()), r = r.getParent…
8366 …or (W = B.createBookmark(); D = z.zombies.pop();) D.getParent() && (T = B.clone(), T.moveToElement…
8380 R = B.clone();
8420 f = d.clone();
8423 … f || (f = d.clone(), f.setEndAt(e, CKEDITOR.POSITION_BEFORE_END), f = a(f).lastForward(), g = !0);
8450 e = b.clone();
8453 … e || (e = b.clone(), e.setEndAt(c, CKEDITOR.POSITION_BEFORE_END), e = a(e).lastForward(), d = !0);
8462 d = c.clone(),
8463 e = c.clone(),
8523 … for (var e; c && !c.equals(b) && d(c);) e = c.clone(0, 1), a.fragment.appendTo(e),
8567 …if (a.mergeList || a.mergeListItems) d = d.clone(), d.setStartBefore(a.bookmark.startNode), d.setE…
8624 … if (g && h && a.equals(h)) f = c.clone(), f.setEndAt(h, CKEDITOR.POSITION_BEFORE_END), e.push(f);
8625 …else if (!g && k && a.equals(k)) f = c.clone(), f.setStartAt(k, CKEDITOR.POSITION_AFTER_START), e.…
8635 A && (f = c.clone(), f.selectNodeContents(a), e.push(f))
8657 c = b.clone();
8668 …DITOR.START) && b.checkBoundaryOfElement(f, CKEDITOR.END) && (b = a.range.clone(), b.setStartBefor…
8673 h = g.clone(),
8681 …t(l, CKEDITOR.POSITION_BEFORE_START), h = g.clone(), h.setEndAt(p, CKEDITOR.POSITION_AFTER_END), k…
8692 c = a.range.clone(),
8843 …return c && c.type != CKEDITOR.NODE_TEXT ? a.clone()["moveToElementEdit" + (d ? "End" : "Start")](…
8938 h = c.clone();
8945 c.clone();
9432 …for (var a = b.getRanges()[0].clone(), c, d, e = 2; e && !((c = a.getEnclosedNode()) && c.type == …
9508 …&& (p = w.getEnclosedNode()) && p.type == CKEDITOR.NODE_ELEMENT && (w = w.clone(), w.shrink(CKEDIT…
9548 …if (I < a.length - 1 && (A = a[I], G = a[I + 1], p = A.clone(), p.setStart(A.endContainer, A.endOf…
9712 … && CKEDITOR.dtd.$removeEmpty[y] && (q.getPosition(t) | P) != P || (u = c.clone(), u.setStartBefor…
9775 else k = k.clone();
9906 var f = b.clone();
10037 for (e = [], f = 0; f < d.length; f++) e.push(d[f].clone());
10101 b && (a = CKEDITOR.tools.clone(a), K(a.attributes, b), K(a.styles, b));
11372 … CKEDITOR.ui.dialog.fieldset.prototype = CKEDITOR.tools.clone(CKEDITOR.ui.dialog.hbox.prototype);
11751 h = CKEDITOR.tools.clone(aa),
11758 g = CKEDITOR.tools.clone(g);
13094 a = a.clone();
13723 …for (var b = f(), e = CKEDITOR.tools.clone(a.config.toolbarGroups) || v(a), n = 0; n < e.length; n…
13762 …DITOR.tools.isArray(d) ? (c(h, CKEDITOR.tools.clone(d)), a.push(h)) : d.items && (c(h, CKEDITOR.to…
14701 g = b.clone().createBookmark(!1);
16776 a = p.lastElement.getChild(0).clone(!0);
16843 !a.is("pre")) d = a.clone()
16844 } else c && (d = c.clone());
16850 … CKEDITOR.dtd.$removeEmpty[l.getName()] && (l = l.clone(), d.moveChildren(l), d.append(l))
16859 …else c.is("li") && (d = b.clone(), d.selectNodeContents(c), d = new CKEDITOR.dom.walker(d), d.eval…
18122 e = d.clone();
20085 e = e.clone();
20143 … d.getName() || (d = b[a].parent.clone(!1, 1), f && d.setAttribute("dir", f), h.append(d));
20144 l = d.append(r.element.clone(0, 1));
20146 for (g = 0; g < r.contents.length; g++) l.append(r.contents[g].clone(1, 1));
20151 …v[g.getName()] ? (l = r.element.clone(!1, !0), q != g.getDirection(1) && l.setAttribute("dir", q))…
20160 … if (w = r.contents[g], H(w) && 1 < B) A ? x = w.clone(1, 1) : l.append(w.clone(1, 1));
20170 l.append(w.clone(1, 1))
20171 …ibute("class", D), x && (n.append(x), x = null), n.append(w.clone(1, 1))) : l.append(w.clone(1, 1)…
20341 d = new CKEDITOR.dom.walker(f.clone());
20349 e = f.clone();
20362 f = f.clone();
20372 …, f.select()) : A(a) ? (f.moveToElementEditStart(a), f.select()) : (f = f.clone(), f.moveToElement…
22845 …length; g < h; g++) f.append((new CKEDITOR.dom.element(a[g], d.document)).clone(!1, !1)).appendBog…
23071 …g[k] ? (h = e[k], h.rowSpan += 1) : (h = (new CKEDITOR.dom.element(e[k])).clone(), h.removeAttribu…
23129 …? (g = c[h], g.colSpan += 1) : (a = new CKEDITOR.dom.element(c[h]), g = a.clone(), g.removeAttribu…
23175 var c = b.clone();
23295 …= g + l, e = new CKEDITOR.dom.element(e.$.rows[c]), a = A(a, c), m, c = b.clone(), g = 0; g < a.le…
23303 …for (h = l = 1, e = c.clone(), e.insertAfter(c), e.append(c = b.clone()), m = A(a, g), k = 0; k < …
23331 e = b.clone();
23740 …if (a) return a = a.clone(), a.enlarge(CKEDITOR.ENLARGE_ELEMENT), (a = a.getEnclosedNode()) && a.i…
25002 …return !b || b && b.collapsed ? !1 : (b = b.clone(), b.enlarge(CKEDITOR.ENLARGE_ELEMENT), !!(b && …
25261 …lowedContent ? new CKEDITOR.filter(c.allowedContent) : this.editor.filter.clone(), d[b] = a, c.dis…
25592 … for (e = CKEDITOR.tools.clone(e); f = b.pop();) c ? e[f] || (d = e[f] = 1) : e[f] && (delete e[f],