Comparing version 0.1.0 to 0.1.1
@@ -1,1 +0,1 @@ | ||
!function(e,t){if("function"==typeof define&&define.amd)define([],t);else if("undefined"!=typeof exports)t();else{var n={exports:{}};t(),e.cpCard=n.exports}}(this,function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=document.createElement("template");r.innerHTML="\n <style>:host {\n display: block; }\n</style>\n\n <h3>Hey</h3>\n <slot></slot>\n",window.ShadyCSS&&ShadyCSS.prepareTemplate(r,"cp-card");var i=function(i){function a(){e(this,a);var n=t(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return n.attachShadow({mode:"open"}),n.shadowRoot.appendChild(r.content.cloneNode(!0)),n}return n(a,HTMLElement),o(a,[{key:"connectedCallback",value:function(){window.ShadyCSS&&ShadyCSS.styleElement(this)}}]),a}();window.customElements.define("cp-card",i)}); | ||
!function(e,t){if("function"==typeof define&&define.amd)define([],t);else if("undefined"!=typeof exports)t();else{var n={exports:{}};t(),e.cpCard=n.exports}}(this,function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=document.createElement("template");r.innerHTML="\n <style>:host {\n display: block; }\n</style>\n\n <h3>Hey</h3>\n <slot></slot>\n",window.ShadyCSS&&ShadyCSS.prepareTemplate(r,"cp-card");var i=function(i){function a(){e(this,a);var n=t(this,(a.__proto__||Object.getPrototypeOf(a)).call(this));return n.attachShadow({mode:"open"}),n.shadowRoot.appendChild(r.content.cloneNode(!0)),console.log("working"),n}return n(a,HTMLElement),o(a,[{key:"connectedCallback",value:function(){window.ShadyCSS&&ShadyCSS.styleElement(this)}}]),a}();window.customElements.define("cp-card",i)}); |
@@ -21,2 +21,3 @@ const cardTemplate = document.createElement('template'); | ||
this.shadowRoot.appendChild(cardTemplate.content.cloneNode(true)); | ||
console.log('working'); | ||
} | ||
@@ -23,0 +24,0 @@ |
{ | ||
"name": "cp-card", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Card element for RHElements", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
5208
73