Skip to content

Commit

Permalink
Update a11y to 1.2.2 to fix a11y path for earcon.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvc committed Apr 24, 2017
1 parent 54e3fe2 commit c52d3b0
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion extensions/a11y/accessibility-menu.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion extensions/a11y/auto-collapse.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extensions/a11y/collapsible.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extensions/a11y/explorer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extensions/a11y/semantic-enrich.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion unpacked/extensions/a11y/accessibility-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
if (!PATH.a11y) PATH.a11y = HUB.config.root + "/extensions/a11y";

var Accessibility = EXTENSIONS["accessibility-menu"] = {
version: '1.2.1',
version: '1.2.2',
prefix: '', //'Accessibility-',
default: {},
modules: [],
Expand Down
2 changes: 1 addition & 1 deletion unpacked/extensions/a11y/auto-collapse.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
if (!PATH.a11y) PATH.a11y = HUB.config.root + "/extensions/a11y";

var Collapse = MathJax.Extension["auto-collapse"] = {
version: "1.2.1",
version: "1.2.2",
config: HUB.CombineConfig("auto-collapse",{
disabled: false
}),
Expand Down
2 changes: 1 addition & 1 deletion unpacked/extensions/a11y/collapsible.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
if (!PATH.a11y) PATH.a11y = HUB.config.root + "/extensions/a11y";

var Collapsible = MathJax.Extension.collapsible = {
version: "1.2.1",
version: "1.2.2",
config: HUB.CombineConfig("collapsible",{
disabled: false
}),
Expand Down
9 changes: 5 additions & 4 deletions unpacked/extensions/a11y/explorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ MathJax.Hub.Register.StartupHook('Sre Ready', function() {
});

var Assistive = MathJax.Extension.explorer = {
version: '1.2.1',
version: '1.2.2',
dependents: [], // the extensions that depend on this one
//
// Default configurations.
Expand Down Expand Up @@ -273,16 +273,17 @@ MathJax.Hub.Register.StartupHook('Sre Ready', function() {
});
MathJax.Extension.explorer.LiveRegion = LiveRegion;

var A11Y_PATH = MathJax.Ajax.fileURL(MathJax.Ajax.config.path.a11y);

var Explorer = MathJax.Extension.explorer.Explorer = {
liveRegion: LiveRegion(),
walker: null,
highlighter: null,
hoverer: null,
flamer: null,
speechDiv: null,
earconFile: MathJax.Ajax.config.path.a11y+'/invalid_keypress' +
(['Firefox', 'Chrome', 'Opera'].
indexOf(MathJax.Hub.Browser.name) !== -1 ?
earconFile: A11Y_PATH + '/invalid_keypress' +
(['Firefox', 'Chrome', 'Opera'].indexOf(MathJax.Hub.Browser.name) !== -1 ?
'.ogg' : '.mp3'),
expanded: false,
focusoutEvent: MathJax.Hub.Browser.isFirefox ? 'blur' : 'focusout',
Expand Down
2 changes: 1 addition & 1 deletion unpacked/extensions/a11y/semantic-enrich.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

MathJax.Extension["semantic-enrich"] = {
version: "1.2.1",
version: "1.2.2",
config: MathJax.Hub.CombineConfig("semantic-enrich",{disabled: false}),
dependents: [], // the extensions that depend on this one
running: false,
Expand Down

0 comments on commit c52d3b0

Please sign in to comment.