Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
chore(upstream): update to upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
arncet committed Jan 30, 2020
1 parent f12d0c2 commit 8d7692e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 71 deletions.
2 changes: 1 addition & 1 deletion dist/mathlive.mjs

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions dist/src/core/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3625,16 +3625,16 @@ const COMMAND_MODE_CHARACTERS = /[a-zA-Z0-9!@*()-=+{}[\]\\';:?/.,~<>`|'$%#&^_" ]
// (https://bugzilla.mozilla.org/show_bug.cgi?id=1361876). Booo...
// See also https://stackoverflow.com/questions/26133593/using-regex-to-match-international-unicode-alphanumeric-characters-in-javascript
const LETTER =
typeof navigator !== 'undefined' &&
/firefox|edge/i.test(navigator.userAgent)
? /[a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓ󌜏źŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒäöüßÄÖÜẞàèéìíîòóùúÀÈÉÌÍÎÒÓÙÚáéíñóúüÁÉÍÑÓÚÜ]/
: new RegExp('\\p{Letter}', 'u');
// typeof navigator !== 'undefined' &&
// /firefox|edge/i.test(navigator.userAgent) ?
/[a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓ󌜏źŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒäöüßÄÖÜẞàèéìíîòóùúÀÈÉÌÍÎÒÓÙÚáéíñóúüÁÉÍÑÓÚÜ]/;
// : new RegExp('\\p{Letter}', 'u');

const LETTER_AND_DIGITS =
typeof navigator !== 'undefined' &&
/firefox|edge/i.test(navigator.userAgent)
? /[0-9a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓ󌜏źŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒäöüßÄÖÜẞàèéìíîòóùúÀÈÉÌÍÎÒÓÙÚáéíñóúüÁÉÍÑÓÚÜ]/
: new RegExp('[0-9\\p{Letter}]', 'u');
// typeof navigator !== 'undefined' &&
// /firefox|edge/i.test(navigator.userAgent) ?
/[0-9a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓ󌜏źŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒäöüßÄÖÜẞàèéìíîòóùúÀÈÉÌÍÎÒÓÙÚáéíñóúüÁÉÍÑÓÚÜ]/;
// : new RegExp('[0-9\\p{Letter}]', 'u');

export default {
matchCodepoint,
Expand Down
73 changes: 11 additions & 62 deletions npm-shrinkwrap.json

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

0 comments on commit 8d7692e

Please sign in to comment.