ninegrid2 6.168.0 → 6.170.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.
@@ -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 = this;
10736
+ let currentElement = self;
10736
10737
 
10737
10738
  while (currentElement) {
10738
10739
 
@@ -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 = this;
10734
+ let currentElement = self;
10734
10735
 
10735
10736
  while (currentElement) {
10736
10737
 
@@ -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 = this;
30
+ let currentElement = self;
30
31
 
31
32
  while (currentElement) {
32
33
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.168.0",
4
+ "version": "6.170.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -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 = this;
30
+ let currentElement = self;
30
31
 
31
32
  while (currentElement) {
32
33