@lumino/commands
Advanced tools
Comparing version 1.9.1 to 1.9.2
@@ -258,3 +258,3 @@ import { ReadonlyPartialJSONObject } from '@lumino/coreutils'; | ||
* When the keydown event is processed, if the event target or any of its | ||
* ancestor nodes has a `data-p-suppress-shortcuts` attribute, its keydown | ||
* ancestor nodes has a `data-lm-suppress-shortcuts` attribute, its keydown | ||
* events will not invoke commands. | ||
@@ -261,0 +261,0 @@ */ |
@@ -416,3 +416,3 @@ "use strict"; | ||
* When the keydown event is processed, if the event target or any of its | ||
* ancestor nodes has a `data-p-suppress-shortcuts` attribute, its keydown | ||
* ancestor nodes has a `data-lm-suppress-shortcuts` attribute, its keydown | ||
* events will not invoke commands. | ||
@@ -899,5 +899,10 @@ */ | ||
for (var dist = 0; targ !== null; targ = targ.parentElement, ++dist) { | ||
if (targ.hasAttribute('data-lm-suppress-shortcuts')) { | ||
return -1; | ||
} | ||
/* <DEPRECATED> */ | ||
if (targ.hasAttribute('data-p-suppress-shortcuts')) { | ||
return -1; | ||
} | ||
/* </DEPRECATED> */ | ||
if (domutils_1.Selector.matches(targ, selector)) { | ||
@@ -904,0 +909,0 @@ return dist; |
{ | ||
"name": "@lumino/commands", | ||
"version": "1.9.1", | ||
"version": "1.9.2", | ||
"description": "Lumino Commands", | ||
@@ -74,3 +74,3 @@ "homepage": "https://github.com/jupyterlab/lumino", | ||
}, | ||
"gitHead": "df307f6f511ad7f56dd930773f31628e53b0c148" | ||
"gitHead": "b277e78d7bdbfa27b655a3a19240c055eab30f27" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63823
1638