Lines Matching refs:e

24         addMenuOption: function(e, t) {
25 s[h.prefix + e] = t;
28e, t = MathJax.Hub.CombineConfig("explorer", h.defaults), a = Object.keys(t), i = 0; e = a[i]; i++…
31 setOption: function(e, t) {
32 s[h.prefix + e] !== t && (h.addMenuOption(e, t), u.Reset());
34 getOption: function(e) {
35 return s[h.prefix + e];
37 speechOption: function(e) {
38 h.oldrules !== e.value && (h.setSpeechOption(), u.Regenerate());
41 var e = s[h.prefix + "ruleset"], t = e.split("-");
46 }), h.oldrules = e;
48 Domain: function(e) {
49 switch (e) {
61 Enable: function(e, t) {
66 e && MathJax.Hub.Queue([ "Reprocess", MathJax.Hub ]);
68 Disable: function(e, t) {
76 DisableMenus: function(e) { argument
80 for (var a, i = (t = t.submenu).items, n = 2; a = i[n]; n++) a.disabled = e;
81e || !t.FindId("SpeechOutput") || s[h.prefix + "speech"] || (t.FindId("Subtitles").disabled = !0);
85 Dependent: function(e) { argument
86 this.dependents.push(e);
97 Show: function(e, t) { argument
99 …var a = e.getBoundingClientRect(), i = a.bottom + 10 + window.pageYOffset, n = a.left + window.pag…
104 Hide: function(e) { argument
110 Update: function(e) { argument
111 h.getOption("speech") && n.Update(this.inner, e);
142 Create: function(e) { argument
146 return t.setAttribute("aria-live", e), t;
148 Update: MathJax.Hub.Browser.isPC ? function(e, t) { argument
149 e.textContent = "", setTimeout(function() {
150 e.textContent = t;
152 } : function(e, t) { argument
153 e.textContent = "", e.textContent = t;
156 var e;
157 …h.getOption("speech") && (n.announced = !0, MathJax.Ajax.Styles(n.styles), e = n.Create("polite"),
158 document.body.appendChild(e), n.Update(e, n.ANNOUNCE), setTimeout(function() {
159 document.body.removeChild(e);
164 …var e = MathJax.Ajax.fileURL(MathJax.Ajax.config.path.a11y), u = MathJax.Extension.explorer.Explor…
171 …earconFile: e + "/invalid_keypress" + (-1 !== [ "Firefox", "Chrome", "Opera" ].indexOf(MathJax.Hub…
181 Register: function(e) { argument
183 …!h.hook || (t = document.getElementById(e[1])) && t.id && ((a = MathJax.Hub.getJaxFor(t.id)) && a.…
186 StateChange: function(e, t) { argument
188 var a = u.jaxCache[e];
189 a && a === t.root || (a && sre.Walker.resetState(e + "-Frame"), u.jaxCache[e] = t.root);
191 AddAria: function(e) { argument
192 e.setAttribute("role", "application"), e.setAttribute("aria-label", "Math");
195 u.RemoveHook(), u.hook = MathJax.Hub.Register.MessageHook("End Math", function(e) { argument
196 var t = e[1].id + "-Frame", a = document.getElementById(t);
206 RemoveMessage: function(e) { argument
207 e && MathJax.Message.Clear(e);
209 AddEvent: function(e) { argument
210 var t, a = e.id + "-Frame", i = e.previousSibling;
213 u.Flame(t), t.addEventListener(u.focusinEvent, function(e) { argument
215 }), t.addEventListener(u.focusoutEvent, function(e) { argument
216 … (u.ignoreFocusOut && (u.ignoreFocusOut = !1, "enter" === u.walker.moved) ? e.target.focus() : u.w…
219 AddSpeech: function(e) { argument
220 var t = e.id, a = MathJax.Hub.getJaxFor(t).root.toMathML();
221 …if (e.getAttribute("haslabel") || u.AddMathLabel(a, t), !e.getAttribute("hasspeech")) switch (Math…
227e.querySelectorAll("[data-semantic-complexity]").length >= h.eagerComplexity && u.AddSpeechEager(a…
230 AddSpeechLazy: function(e) { argument
233 e.setAttribute("hasspeech", "true");
235 AddSpeechEager: function(e, t) { argument
236 u.MakeSpeechTask(e, t, sre.TreeSpeechGenerator, function(e, t) { argument
237 e.setAttribute("hasspeech", "true");
240 AddMathLabel: function(e, t) { argument
241 u.MakeSpeechTask(e, t, sre.SummarySpeechGenerator, function(e, t) { argument
242 e.setAttribute("haslabel", "true"), e.setAttribute("aria-label", t);
245 MakeSpeechTask: function(i, n, o, r, e) { argument
248 …var e = new o(), t = document.getElementById(n), a = new sre.DummyWalker(t, e, u.highlighter, i).s…
250 }, e);
252 Keydown: function(e) { argument
253 var t = e.keyCode;
256 return u.RemoveHook(), u.DeactivateWalker(), void o(e);
259 … t = t === r.RETURN ? r.DASH : t, void 0 !== u.walker.modifier && (u.walker.modifier = e.shiftKey);
270 o(e);
272 var i = e.target;
273 … if (t === r.SPACE && !e.shiftKey) return MathJax.Extension.MathEvents.Event.ContextMenu(e, i),
274 void o(e);
275 if (h.hook && (t === r.RETURN || t === r.SPACE && e.shiftKey)) {
277 return u.ActivateWalker(i, n), u.AddHook(n), void o(e);
281 GetHighlighter: function(e) { argument
284 alpha: e
293 AddMouseEvents: function(e) { argument
294 sre.HighlighterFactory.addEvents(e, {
302 MouseOver: function(e) { argument
304 …"none" !== h.getOption("highlight") && ("hover" === h.getOption("highlight") && (t = e.currentTarg…
305 u.GetHighlighter(.1), u.highlighter.highlight([ t ]), u.hoverer = !0), o(e));
307 MouseOut: function(e) { argument
308 return u.hoverer && (u.highlighter.unhighlight(), u.hoverer = !1), o(e);
310 Flame: function(e) { argument
311 …"flame" === h.getOption("highlight")) return u.GetHighlighter(.05), u.highlighter.highlightAll(e),
319 …for (var e, t = 0, a = MathJax.Hub.getAllJax(); e = a[t]; t++) u.Flame(e.SourceElement().previousS…
327 ActivateWalker: function(e, t) { argument
334 }), u.GetHighlighter(.2), u.walker = new i(e, n, u.highlighter, t.root.toMathML()),
335 …a && !e.getAttribute("hasspeech") && u.AddSpeechLazy(e), u.walker.activate(), a && (h.getOption("s…
341 …var e = sre.System.getInstance().engineSetup(), t = "clearspeak" === e.domain ? "default" : e.styl…
342 h.setOption("ruleset", e.domain + "-" + t), u.liveRegion.Clear(), u.liveRegion.Hide(),
356 [ "Subtitles" ].forEach(function(e) { argument
357 var t = MathJax.Menu.menu.FindId("Accessibility", "Explorer", e);
363 for (var e, t = 0, a = MathJax.Hub.getAllJax(); e = a[t]; t++) {
364 var i = document.getElementById(e.inputID + "-Frame");
369 for (var e, t = 0, a = MathJax.Hub.getAllJax(); e = a[t]; t++) {
370 var i = document.getElementById(e.inputID + "-Frame");
375 var e = MathJax.Extension.collapsible;
376 e && e.Dependent(h), h.addDefaults();
383 var e, t = MathJax.Menu.ITEM, a = MathJax.Menu.menu, i = {
388 action: function(e) { argument
396 …r ? null !== (e = r.IndexOfId("Explorer")) ? r.items[e] = o : (e = r.IndexOfId("CollapsibleMath"),
397 … r.items.splice(e + 1, 0, o)) : (e = a.IndexOfId("CollapsibleMath"), a.items.splice(e + 1, 0, o)),
407 var t, e = MathJax.OutputJax.SVG;
408 parseFloat(e.version) < 2.7 && (t = e.getJaxFromMath, e.Augment({
409 getJaxFromMath: function(e) { argument
410 return e.parentNode.className.match(/MathJax_SVG_Display/) && (e = e.parentNode),
411 t.call(this, e);