mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Prepares 0.26.0 release.
This commit is contained in:
parent
5bb59bb0b1
commit
97afb2259b
6 changed files with 156 additions and 59 deletions
|
|
@ -61,7 +61,7 @@ function getModifier(modifiers) {
|
|||
if (Array.isArray(modifiers)) {
|
||||
let nModifiers = 0;
|
||||
for (let modifier of modifiers) {
|
||||
nModifier = legend.tokenModifiers.indexOf(modifier);
|
||||
const nModifier = legend.tokenModifiers.indexOf(modifier);
|
||||
if (nModifier > -1) {
|
||||
nModifiers |= (1 << nModifier) >>> 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue