taktik-polymer-typescript
Advanced tools
Comparing version 4.2.2 to 4.3.0
@@ -1,2 +0,1 @@ | ||
/// <amd-module name="taktik-polymer-typeScript" /> | ||
/** | ||
@@ -3,0 +2,0 @@ * A TypeScript class decorator that defines a custom element with name |
@@ -1,2 +0,3 @@ | ||
/// <amd-module name="taktik-polymer-typeScript"/> | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -6,9 +7,9 @@ * A TypeScript class decorator that defines a custom element with name | ||
*/ | ||
import "reflect-metadata"; | ||
import "../type/element"; | ||
import "../type/shadow"; | ||
import "../type/polymer"; | ||
import "../type/iron-ajax"; | ||
import "../type/missing"; | ||
export function customElement(tagname) { | ||
require("reflect-metadata"); | ||
require("../type/element"); | ||
require("../type/shadow"); | ||
require("../type/polymer"); | ||
require("../type/iron-ajax"); | ||
require("../type/missing"); | ||
function customElement(tagname) { | ||
return (clazz) => { | ||
@@ -21,2 +22,3 @@ clazz.is = tagname; | ||
} | ||
exports.customElement = customElement; | ||
function createProperty(proto, name, options) { | ||
@@ -53,3 +55,3 @@ const notify = (options && options.notify) || false; | ||
*/ | ||
export function property(options) { | ||
function property(options) { | ||
return (proto, propName) => { | ||
@@ -59,5 +61,7 @@ createProperty(proto, propName, options); | ||
} | ||
export function domElement() { | ||
exports.property = property; | ||
function domElement() { | ||
return (proto, propName) => { }; | ||
} | ||
exports.domElement = domElement; | ||
/** | ||
@@ -70,3 +74,3 @@ * A TypeScript property decorator factory that causes the decorated method to | ||
*/ | ||
export function observe(...targets) { | ||
function observe(...targets) { | ||
return (proto, propName) => { | ||
@@ -79,2 +83,3 @@ if (!proto.constructor.hasOwnProperty("observers")) { | ||
} | ||
exports.observe = observe; | ||
function _ensureConfig(proto) { | ||
@@ -81,0 +86,0 @@ const ctor = proto.constructor; |
{ | ||
"name": "taktik-polymer-typescript", | ||
"version": "4.2.2", | ||
"version": "4.3.0", | ||
"publishConfig": { | ||
@@ -24,3 +24,3 @@ "access": "public" | ||
"devDependencies": { | ||
"ozone-type": "^4.2.2" | ||
"ozone-type": "^4.3.0" | ||
}, | ||
@@ -30,3 +30,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "247552d5525acb2e7dc29fd43ecad12dd2ca311b" | ||
"gitHead": "e14c1ae132d0d1822f1ebaebac34b7f68662a124" | ||
} |
@@ -5,3 +5,3 @@ { | ||
// Use of ES6 | ||
"module": "es6", | ||
"module": "commonjs", | ||
// Module strategy that is likely to be use with official Polymer/typeScript support. See PolymerLabs/IMD | ||
@@ -8,0 +8,0 @@ "experimentalDecorators": true, |
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
12928
334