Lines Matching refs:e

10         Enable: function(t, e) {
11 …s.autocollapse = !0, e && (r.autocollapse = !0), this.config.disabled = !1, MathJax.Extension.coll…
14 Disable: function(t, e) {
15 s.autocollapse = !1, e && (r.autocollapse = !1), this.config.disabled = !0;
18 o.Disable && o.Disable(!1, e);
31 Filter: function(t, e, n) {
37 var e = []; variable
38 return this.getActions(t, 0, e), this.sortActions(e);
40 getActions: function(t, e, n) {
42 e++;
44 t.data[i] && ((o = t.data[i]).collapsible ? (n[e] || (n[e] = []), n[e].push(o),
45 this.getActions(o.data[1], e, n)) : this.getActions(o, e, n));
50 …for (var e = [], n = 0, o = t.length; n < o; n++) t[n] && (e = e.concat(t[n].sort(this.sortActions…
51 return e;
53 sortActionsBy: function(t, e) {
54 return (t = t.data[1].complexity) < (e = e.data[1].complexity) ? -1 : e < t ? 1 : 0;
59 var e = c.getAllJax(t), n = { variable
61 jax: e,
62 m: e.length,
70 for (var e = t.collapse; t.i < t.m; ) {
75 this.collapseActions(o, t), t.changed && e.push(n.SourceElement());
79 if (0 !== e.length) return 1 === e.length && (e = e[0]), c.Rerender(e);
81 collapseActions: function(t, e) {
85 …etElementById(s.id).setAttribute("selection", s.selection) : s.selection !== r && (e.changed = !0);
89 getActionWidths: function(t, e) {
96 return MathJax.Callback.After([ "collapseState", this, e ], t.restart);
98 e.changed = !0;
103 var e, n = t.root.SRE, o = n.action, i = {}; variable
104 for (n.width = t.sreGetRootWidth(i), e = o.length - 1; 0 <= e; e--) o[e].selection = 2;
105 for (e = o.length - 1; 0 <= e; e--) {
106 var a = o[e];
112 for (var e, n, o, i = c.getAllJax(t), a = MathJax.HTML.Element("span", {
117 … SRE.m = SRE.width, SRE.M = 1e6), (e = n.SourceElement()).previousSibling.style.display = "none",
118 e.parentNode.insertBefore(a.cloneNode(!1), e), s.push([ n, e ]));
119 …0, l = s.length; r < l; r++) n = s[r][0], (e = s[r][1]).previousSibling.offsetWidth && (n.root.SRE…
120 …for (r = 0, l = s.length; r < l; r++) n = s[r][0], (e = s[r][1]).parentNode.removeChild(e.previous…
121 e.previousSibling.style.display = "";
145 …var t, e = MathJax.Menu.ITEM, n = MathJax.Menu.menu, o = e.CHECKBOX([ "AutoCollapse", "Auto Collap…
165 sreGetActionWidth: function(t, e) { argument
166 return MathJax.OutputJax[this.outputJax].sreGetActionWidth(this, t, e);
170 sreGetMetrics: function(t, e) { argument
171 e.cwidth = 1e6, e.width = 0, e.em = 12;
173 sreGetRootWidth: function(t, e) { argument
176 sreGetActionWidth: function(t, e, n) { argument
181 sreGetMetrics: function(t, e) { argument
182e.width = t.root.data[0].HTMLspanElement().parentNode.bbox.w, e.em = 1 / t.HTMLCSS.em / t.HTMLCSS.…
184 sreGetRootWidth: function(t, e) { argument
186 return e.box = n.parentNode, e.box.bbox.w;
188 sreGetActionWidth: function(t, e, n) { argument
189 return t.root.data[0].toHTML(e.box).bbox.w;
198 sreGetMetrics: function(t, e) { argument
199 e.width = t.root.SVGdata.w / 1e3, e.em = 1 / t.SVG.em;
201 sreGetRootWidth: function(t, e) { argument
202 return e.span = document.getElementById(t.inputID + "-Frame"), t.root.SVGdata.w / 1e3;
204 sreGetActionWidth: function(t, e, n) { argument
205 this.mathDiv = e.span, e.span.appendChild(this.textSVG);
211 if (e.span.removeChild(this.textSVG), o) throw o;
217 sreGetMetrics: function(t, e) { argument
218 e.width = t.root.CHTML.w, e.em = 1 / t.CHTML.em / t.CHTML.scale;
220 sreGetRootWidth: function(t, e) { argument
221 …return e.span = document.getElementById(t.inputID + "-Frame").firstChild, e.tmp = document.createE…
222 e.tmp.className = e.span.className, t.root.CHTML.w / t.CHTML.scale;
224 sreGetActionWidth: function(t, e, n) { argument
225e.span.parentNode.replaceChild(e.tmp, e.span), MathJax.OutputJax.CommonHTML.CHTMLnode = e.tmp;
227 t.root.data[0].toCommonHTML(e.tmp);
231 if (e.tmp.parentNode.replaceChild(e.span, e.tmp), o) throw o;
237 sreGetMetrics: function(t, e) { argument
239 e.width = n.offsetWidth, e.em = 1, e.DOMupdate = !0;
241 sreGetRootWidth: function(t, e) { argument
242 … return e.span = document.getElementById(t.inputID + "-Frame").firstChild, e.span.offsetWidth;
244 sreGetActionWidth: function(t, e, n) { argument
245 return document.getElementById(n.id).setAttribute("selection", 1), e.span.offsetWidth;