ninegrid2 6.170.0 → 6.171.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,8 +10729,8 @@ class ninegrid {
10729
10729
 
10730
10730
  if (!("shadow" in Element.prototype)) {
10731
10731
  Object.defineProperty(Element.prototype, "shadow", {
10732
- self: this,
10733
10732
  get: function () {
10733
+ const self = this;
10734
10734
  return {
10735
10735
  closest: function (selector) {
10736
10736
  let currentElement = self;
@@ -10727,8 +10727,8 @@ class ninegrid {
10727
10727
 
10728
10728
  if (!("shadow" in Element.prototype)) {
10729
10729
  Object.defineProperty(Element.prototype, "shadow", {
10730
- self: this,
10731
10730
  get: function () {
10731
+ const self = this;
10732
10732
  return {
10733
10733
  closest: function (selector) {
10734
10734
  let currentElement = self;
@@ -23,8 +23,8 @@ export class ninegrid {
23
23
 
24
24
  if (!("shadow" in Element.prototype)) {
25
25
  Object.defineProperty(Element.prototype, "shadow", {
26
- self: this,
27
26
  get: function () {
27
+ const self = this;
28
28
  return {
29
29
  closest: function (selector) {
30
30
  let currentElement = self;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.170.0",
4
+ "version": "6.171.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -23,8 +23,8 @@ export class ninegrid {
23
23
 
24
24
  if (!("shadow" in Element.prototype)) {
25
25
  Object.defineProperty(Element.prototype, "shadow", {
26
- self: this,
27
26
  get: function () {
27
+ const self = this;
28
28
  return {
29
29
  closest: function (selector) {
30
30
  let currentElement = self;