Skip to content

Commit

Permalink
Changelog for 0.29.1
Browse files Browse the repository at this point in the history
  • Loading branch information
arnog committed May 20, 2019
1 parent 86ce9f1 commit 56cd89f
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 8 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 0.29.1 (May 19, 2019)

### Bug fixes
- #201: the popover button was not responsive
- #195: (partial fix) improve support for Edge (still requires Babelization)
- Fixed an issue while dragging to select across elements of different depths
- Fixed issue with smartMode for expressions including "x^2", "xyz" and "\pi"
- Fixed an issue with styling, where the Latex output could sometimes include the non-existent `\mathup` command. The correct command is `\upshape`
- Fixed issues with enclose layout
- Avoid triggering spurious notifications while inserting an inline shortcut


## 0.29 (May 9, 2019)

### Major New Features
Expand Down
2 changes: 1 addition & 1 deletion dist/mathlive.core.css

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

2 changes: 1 addition & 1 deletion dist/mathlive.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mathlive.mjs

Large diffs are not rendered by default.

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

Expand Down
6 changes: 3 additions & 3 deletions dist/src/editor/editor-popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,8 @@ function showPopoverWithLatex(mf, latex, displayArrows) {

let template = displayArrows ?
'<div class="ML__popover__prev-shortcut" role="button" aria-label="Previous suggestion"><span><span>&#x25B2;</span></span></div>' : '';
template += '<span class="ML__popover__content">';
template += '<div class="ML__popover__command" role="button" >' +
template += '<span class="ML__popover__content" role="button">';
template += '<div class="ML__popover__command">' +
command_markup + '</div>';
if (command_note) {
template += '<div class="ML__popover__note">' +
Expand All @@ -410,7 +410,7 @@ function showPopoverWithLatex(mf, latex, displayArrows) {
template += displayArrows ? '<div class="ML__popover__next-shortcut" role="button" aria-label="Next suggestion"><span><span>&#x25BC;</span></span></div>' : '';
showPopover(mf, template);

let el = mf.popover.getElementsByClassName('ML__popover_content');
let el = mf.popover.getElementsByClassName('ML__popover__content');
if (el && el.length > 0) {
mf._attachButtonHandlers(el[0], ['complete', {acceptSuggestion:true}]);
}
Expand Down

0 comments on commit 56cd89f

Please sign in to comment.