-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
507 changed files
with
5,098 additions
and
3,778 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
language: node_js | ||
node_js: | ||
- stable | ||
- 17 | ||
sudo: false | ||
script: | ||
- npm install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"component": "a11y/explorer", | ||
"targets": ["a11y/explorer.ts", "a11y/sre.ts", "a11y/explorer"] | ||
"targets": ["a11y/explorer.ts", "a11y/explorer"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"component": "a11y/semantic-enrich", | ||
"targets": ["a11y/semantic-enrich.ts", "a11y/sre.ts"] | ||
"targets": ["a11y/semantic-enrich.ts"] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"component": "a11y/sre", | ||
"targets": ["a11y/sre.ts"] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import './lib/sre.js'; | ||
import './sre_config.js'; | ||
import Sre from '../../../../js/a11y/sre.js'; | ||
|
||
if (MathJax.startup) { | ||
((typeof window !== 'undefined') ? window : global). | ||
SREfeature.custom = (loc) => Sre.preloadLocales(loc); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import {combineDefaults} from '../../../../js/components/global.js'; | ||
import {Package} from '../../../../js/components/package.js'; | ||
|
||
// This sets up the correct link to the mathmaps files. | ||
if (MathJax.startup) { | ||
|
||
let path = Package.resolvePath('[sre]', false); | ||
|
||
if (typeof window !== 'undefined') { | ||
window.SREfeature = {json: path}; | ||
} else { | ||
// In Node get the absolute path to the mathmaps directory. | ||
try { | ||
path = MathJax.config.loader.require.resolve( | ||
path + '/base.json').replace(/\/base\.json$/, ''); | ||
} catch(_err) { } | ||
global.SREfeature = {json: path}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const PACKAGE = require('../../../webpack.common.js'); | ||
|
||
module.exports = PACKAGE( | ||
'a11y/sre', // the package to build | ||
'../../../../js', // location of the MathJax js library | ||
[ // packages to link to | ||
'components/src/input/mml/lib', | ||
'components/src/core/lib', | ||
'components/src/startup/lib' | ||
], | ||
__dirname // our directory | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"component": "inpu/asciimath", | ||
"component": "input/asciimath", | ||
"targets": ["input/asciimath.ts", "input/asciimath"], | ||
"excludeSubdirs": "true" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"component": "inpu/mml", | ||
"component": "input/mml", | ||
"targets": [ | ||
"input/mathml.ts", | ||
"input/mathml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"id": "[mml]/mml3", | ||
"component": "input/mml/extensions/mml3", | ||
"targets": ["input/mathml/mml3"] | ||
} |
Oops, something went wrong.