taktik-polymer-typescript
Advanced tools
Comparing version 5.2.0 to 5.2.1-alpha.0
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -5,8 +7,8 @@ * A TypeScript class decorator that defines a custom element with name | ||
*/ | ||
import 'reflect-metadata'; | ||
import '../type/shadow'; | ||
import '../type/polymer'; | ||
import '../type/iron-ajax'; | ||
import '../type/missing'; | ||
export function customElement(tagname) { | ||
require("reflect-metadata"); | ||
require("../type/shadow"); | ||
require("../type/polymer"); | ||
require("../type/iron-ajax"); | ||
require("../type/missing"); | ||
function customElement(tagname) { | ||
return (clazz) => { | ||
@@ -19,2 +21,3 @@ clazz.is = tagname; | ||
} | ||
exports.customElement = customElement; | ||
function createProperty(proto, name, options) { | ||
@@ -51,3 +54,3 @@ const notify = (options && options.notify) || false; | ||
*/ | ||
export function property(options) { | ||
function property(options) { | ||
return (proto, propName) => { | ||
@@ -57,6 +60,8 @@ createProperty(proto, propName, options); | ||
} | ||
export function domElement() { | ||
exports.property = property; | ||
function domElement() { | ||
// tslint:disable-next-line:no-empty | ||
return (proto, propName) => { }; | ||
} | ||
exports.domElement = domElement; | ||
/** | ||
@@ -69,3 +74,3 @@ * A TypeScript property decorator factory that causes the decorated method to | ||
*/ | ||
export function observe(...targets) { | ||
function observe(...targets) { | ||
return (proto, propName) => { | ||
@@ -78,2 +83,3 @@ if (!proto.constructor.hasOwnProperty('observers')) { | ||
} | ||
exports.observe = observe; | ||
function _ensureConfig(proto) { | ||
@@ -80,0 +86,0 @@ const ctor = proto.constructor; |
{ | ||
"name": "taktik-polymer-typescript", | ||
"version": "5.2.0", | ||
"version": "5.2.1-alpha.0", | ||
"publishConfig": { | ||
@@ -24,3 +24,3 @@ "access": "public" | ||
"devDependencies": { | ||
"ozone-type": "^5.2.0" | ||
"ozone-type": "^5.2.1-alpha.0" | ||
}, | ||
@@ -30,3 +30,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "280daf34ecbb2fe4cdc911a4bf0d9f2c1b7bea23" | ||
"gitHead": "add550ef77b4ff5e528938c9ac750b159ce9636a" | ||
} |
@@ -5,3 +5,3 @@ { | ||
// Use of ES6 | ||
"module": "esnext", | ||
"module": "commonjs", | ||
"experimentalDecorators": true, | ||
@@ -8,0 +8,0 @@ // |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
12085
314
3