wj-elements 0.1.112 → 0.1.113

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.
@@ -620,6 +620,8 @@ const _WJElement = class _WJElement extends HTMLElement {
620
620
  let attrs = this.getAttributeNames();
621
621
  attrs.forEach((name) => {
622
622
  const sanitizedName = this.sanitizeName(name);
623
+ if (sanitizedName in HTMLElement.prototype)
624
+ return;
623
625
  const protoFunc = Object.getOwnPropertyDescriptors(this.__proto__)[sanitizedName];
624
626
  const func = Object.getOwnPropertyDescriptors(this)[sanitizedName];
625
627
  Object.defineProperty(this, sanitizedName, {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wj-elements",
3
3
  "description": "WebJET Elements is a modern set of user interface tools harnessing the power of web components designed to simplify web application development.",
4
- "version": "0.1.112",
4
+ "version": "0.1.113",
5
5
  "homepage": "https://github.com/lencys/wj-elements",
6
6
  "author": "Lukáš Ondrejček <lukas.ondrejcek@gmail.com>",
7
7
  "license": "MIT",