ninegrid2 6.168.0 → 6.169.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.cjs.js +2 -1
- package/dist/bundle.esm.js +2 -1
- package/dist/utils/ninegrid.js +2 -1
- package/package.json +1 -1
- package/src/utils/ninegrid.js +2 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -10729,10 +10729,11 @@ class ninegrid {
|
|
|
10729
10729
|
|
|
10730
10730
|
if (!("shadow" in Element.prototype)) {
|
|
10731
10731
|
Object.defineProperty(Element.prototype, "shadow", {
|
|
10732
|
+
self: this,
|
|
10732
10733
|
get: function () {
|
|
10733
10734
|
return {
|
|
10734
10735
|
closest: function (selector) {
|
|
10735
|
-
let currentElement =
|
|
10736
|
+
let currentElement = self;
|
|
10736
10737
|
|
|
10737
10738
|
while (currentElement) {
|
|
10738
10739
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -10727,10 +10727,11 @@ class ninegrid {
|
|
|
10727
10727
|
|
|
10728
10728
|
if (!("shadow" in Element.prototype)) {
|
|
10729
10729
|
Object.defineProperty(Element.prototype, "shadow", {
|
|
10730
|
+
self: this,
|
|
10730
10731
|
get: function () {
|
|
10731
10732
|
return {
|
|
10732
10733
|
closest: function (selector) {
|
|
10733
|
-
let currentElement =
|
|
10734
|
+
let currentElement = self;
|
|
10734
10735
|
|
|
10735
10736
|
while (currentElement) {
|
|
10736
10737
|
|
package/dist/utils/ninegrid.js
CHANGED
|
@@ -23,10 +23,11 @@ export class ninegrid {
|
|
|
23
23
|
|
|
24
24
|
if (!("shadow" in Element.prototype)) {
|
|
25
25
|
Object.defineProperty(Element.prototype, "shadow", {
|
|
26
|
+
self: this,
|
|
26
27
|
get: function () {
|
|
27
28
|
return {
|
|
28
29
|
closest: function (selector) {
|
|
29
|
-
let currentElement =
|
|
30
|
+
let currentElement = self;
|
|
30
31
|
|
|
31
32
|
while (currentElement) {
|
|
32
33
|
|
package/package.json
CHANGED
package/src/utils/ninegrid.js
CHANGED
|
@@ -23,10 +23,11 @@ export class ninegrid {
|
|
|
23
23
|
|
|
24
24
|
if (!("shadow" in Element.prototype)) {
|
|
25
25
|
Object.defineProperty(Element.prototype, "shadow", {
|
|
26
|
+
self: this,
|
|
26
27
|
get: function () {
|
|
27
28
|
return {
|
|
28
29
|
closest: function (selector) {
|
|
29
|
-
let currentElement =
|
|
30
|
+
let currentElement = self;
|
|
30
31
|
|
|
31
32
|
while (currentElement) {
|
|
32
33
|
|