From 28ed6e50077e916db508f3229251f5968fac7084 Mon Sep 17 00:00:00 2001 From: Maxim Balaganskiy Date: Thu, 3 May 2018 19:13:45 +1000 Subject: [PATCH] Clean up --- dist/amd/click-counter/click-counter.js | 5 ++++- dist/amd/click-counter/click-counter.js.map | 2 +- dist/commonjs/click-counter/click-counter.js | 5 +++++ dist/commonjs/click-counter/click-counter.js.map | 2 +- dist/es2015/click-counter/click-counter.js | 5 +++++ dist/es2015/click-counter/click-counter.js.map | 2 +- .../click-counter/click-counter.js | 5 +++++ .../click-counter/click-counter.js.map | 2 +- dist/system/click-counter/click-counter.js | 16 +++++++++++++--- dist/system/click-counter/click-counter.js.map | 2 +- src/click-counter/click-counter.ts | 3 +++ 11 files changed, 40 insertions(+), 9 deletions(-) diff --git a/dist/amd/click-counter/click-counter.js b/dist/amd/click-counter/click-counter.js index 53abc805..f6030b4b 100644 --- a/dist/amd/click-counter/click-counter.js +++ b/dist/amd/click-counter/click-counter.js @@ -1,4 +1,4 @@ -define(["require", "exports"], function (require, exports) { +define(["require", "exports", "tslib", "../aurelia"], function (require, exports, tslib_1, au) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var ClickCounter = /** @class */ (function () { @@ -8,6 +8,9 @@ define(["require", "exports"], function (require, exports) { ClickCounter.prototype.increment = function () { this.count++; }; + ClickCounter = tslib_1.__decorate([ + au.customElement("click-counter") + ], ClickCounter); return ClickCounter; }()); exports.ClickCounter = ClickCounter; diff --git a/dist/amd/click-counter/click-counter.js.map b/dist/amd/click-counter/click-counter.js.map index 7bcba458..6c568ce6 100644 --- a/dist/amd/click-counter/click-counter.js.map +++ b/dist/amd/click-counter/click-counter.js.map @@ -1 +1 @@ -{"version":3,"file":"click-counter.js","sourceRoot":"","sources":["../../../src/click-counter/click-counter.ts"],"names":[],"mappings":";;;IAAA;QAAA;YACC,UAAK,GAAG,CAAC,CAAC;QAKX,CAAC;QAHA,gCAAS,GAAT;YACC,IAAI,CAAC,KAAK,EAAE,CAAC;QACd,CAAC;QACF,mBAAC;IAAD,CAAC,AAND,IAMC;IANY,oCAAY"} \ No newline at end of file +{"version":3,"file":"click-counter.js","sourceRoot":"","sources":["../../../src/click-counter/click-counter.ts"],"names":[],"mappings":";;;IAGA;QADA;YAEC,UAAK,GAAG,CAAC,CAAC;QAKX,CAAC;QAHA,gCAAS,GAAT;YACC,IAAI,CAAC,KAAK,EAAE,CAAC;QACd,CAAC;QALW,YAAY;YADxB,EAAE,CAAC,aAAa,CAAC,eAAe,CAAC;WACrB,YAAY,CAMxB;QAAD,mBAAC;KAAA,AAND,IAMC;IANY,oCAAY"} \ No newline at end of file diff --git a/dist/commonjs/click-counter/click-counter.js b/dist/commonjs/click-counter/click-counter.js index 875ec61d..b90d4945 100644 --- a/dist/commonjs/click-counter/click-counter.js +++ b/dist/commonjs/click-counter/click-counter.js @@ -1,5 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); +var tslib_1 = require("tslib"); +var au = require("../aurelia"); var ClickCounter = /** @class */ (function () { function ClickCounter() { this.count = 0; @@ -7,6 +9,9 @@ var ClickCounter = /** @class */ (function () { ClickCounter.prototype.increment = function () { this.count++; }; + ClickCounter = tslib_1.__decorate([ + au.customElement("click-counter") + ], ClickCounter); return ClickCounter; }()); exports.ClickCounter = ClickCounter; diff --git a/dist/commonjs/click-counter/click-counter.js.map b/dist/commonjs/click-counter/click-counter.js.map index 155620cd..58b772cb 100644 --- a/dist/commonjs/click-counter/click-counter.js.map +++ b/dist/commonjs/click-counter/click-counter.js.map @@ -1 +1 @@ -{"version":3,"file":"click-counter.js","sourceRoot":"","sources":["../../../src/click-counter/click-counter.ts"],"names":[],"mappings":";;AAAA;IAAA;QACC,UAAK,GAAG,CAAC,CAAC;IAKX,CAAC;IAHA,gCAAS,GAAT;QACC,IAAI,CAAC,KAAK,EAAE,CAAC;IACd,CAAC;IACF,mBAAC;AAAD,CAAC,AAND,IAMC;AANY,oCAAY"} \ No newline at end of file +{"version":3,"file":"click-counter.js","sourceRoot":"","sources":["../../../src/click-counter/click-counter.ts"],"names":[],"mappings":";;;AAAA,+BAAiC;AAGjC;IADA;QAEC,UAAK,GAAG,CAAC,CAAC;IAKX,CAAC;IAHA,gCAAS,GAAT;QACC,IAAI,CAAC,KAAK,EAAE,CAAC;IACd,CAAC;IALW,YAAY;QADxB,EAAE,CAAC,aAAa,CAAC,eAAe,CAAC;OACrB,YAAY,CAMxB;IAAD,mBAAC;CAAA,AAND,IAMC;AANY,oCAAY"} \ No newline at end of file diff --git a/dist/es2015/click-counter/click-counter.js b/dist/es2015/click-counter/click-counter.js index c3049c21..25b5ae86 100644 --- a/dist/es2015/click-counter/click-counter.js +++ b/dist/es2015/click-counter/click-counter.js @@ -1,3 +1,5 @@ +import * as tslib_1 from "tslib"; +import * as au from "../aurelia"; var ClickCounter = /** @class */ (function () { function ClickCounter() { this.count = 0; @@ -5,6 +7,9 @@ var ClickCounter = /** @class */ (function () { ClickCounter.prototype.increment = function () { this.count++; }; + ClickCounter = tslib_1.__decorate([ + au.customElement("click-counter") + ], ClickCounter); return ClickCounter; }()); export { ClickCounter }; diff --git a/dist/es2015/click-counter/click-counter.js.map b/dist/es2015/click-counter/click-counter.js.map index be5ef0cf..a5628654 100644 --- a/dist/es2015/click-counter/click-counter.js.map +++ b/dist/es2015/click-counter/click-counter.js.map @@ -1 +1 @@ -{"version":3,"file":"click-counter.js","sourceRoot":"","sources":["../../../src/click-counter/click-counter.ts"],"names":[],"mappings":"AAAA;IAAA;QACC,UAAK,GAAG,CAAC,CAAC;IAKX,CAAC;IAHA,gCAAS,GAAT;QACC,IAAI,CAAC,KAAK,EAAE,CAAC;IACd,CAAC;IACF,mBAAC;AAAD,CAAC,AAND,IAMC"} \ No newline at end of file +{"version":3,"file":"click-counter.js","sourceRoot":"","sources":["../../../src/click-counter/click-counter.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAGjC;IADA;QAEC,UAAK,GAAG,CAAC,CAAC;IAKX,CAAC;IAHA,gCAAS,GAAT;QACC,IAAI,CAAC,KAAK,EAAE,CAAC;IACd,CAAC;IALW,YAAY;QADxB,EAAE,CAAC,aAAa,CAAC,eAAe,CAAC;OACrB,YAAY,CAMxB;IAAD,mBAAC;CAAA,AAND,IAMC;SANY,YAAY"} \ No newline at end of file diff --git a/dist/native-modules/click-counter/click-counter.js b/dist/native-modules/click-counter/click-counter.js index c3049c21..25b5ae86 100644 --- a/dist/native-modules/click-counter/click-counter.js +++ b/dist/native-modules/click-counter/click-counter.js @@ -1,3 +1,5 @@ +import * as tslib_1 from "tslib"; +import * as au from "../aurelia"; var ClickCounter = /** @class */ (function () { function ClickCounter() { this.count = 0; @@ -5,6 +7,9 @@ var ClickCounter = /** @class */ (function () { ClickCounter.prototype.increment = function () { this.count++; }; + ClickCounter = tslib_1.__decorate([ + au.customElement("click-counter") + ], ClickCounter); return ClickCounter; }()); export { ClickCounter }; diff --git a/dist/native-modules/click-counter/click-counter.js.map b/dist/native-modules/click-counter/click-counter.js.map index be5ef0cf..a5628654 100644 --- a/dist/native-modules/click-counter/click-counter.js.map +++ b/dist/native-modules/click-counter/click-counter.js.map @@ -1 +1 @@ -{"version":3,"file":"click-counter.js","sourceRoot":"","sources":["../../../src/click-counter/click-counter.ts"],"names":[],"mappings":"AAAA;IAAA;QACC,UAAK,GAAG,CAAC,CAAC;IAKX,CAAC;IAHA,gCAAS,GAAT;QACC,IAAI,CAAC,KAAK,EAAE,CAAC;IACd,CAAC;IACF,mBAAC;AAAD,CAAC,AAND,IAMC"} \ No newline at end of file +{"version":3,"file":"click-counter.js","sourceRoot":"","sources":["../../../src/click-counter/click-counter.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAGjC;IADA;QAEC,UAAK,GAAG,CAAC,CAAC;IAKX,CAAC;IAHA,gCAAS,GAAT;QACC,IAAI,CAAC,KAAK,EAAE,CAAC;IACd,CAAC;IALW,YAAY;QADxB,EAAE,CAAC,aAAa,CAAC,eAAe,CAAC;OACrB,YAAY,CAMxB;IAAD,mBAAC;CAAA,AAND,IAMC;SANY,YAAY"} \ No newline at end of file diff --git a/dist/system/click-counter/click-counter.js b/dist/system/click-counter/click-counter.js index 9b474c27..71896748 100644 --- a/dist/system/click-counter/click-counter.js +++ b/dist/system/click-counter/click-counter.js @@ -1,9 +1,16 @@ -System.register([], function (exports_1, context_1) { +System.register(["tslib", "../aurelia"], function (exports_1, context_1) { "use strict"; var __moduleName = context_1 && context_1.id; - var ClickCounter; + var tslib_1, au, ClickCounter; return { - setters: [], + setters: [ + function (tslib_1_1) { + tslib_1 = tslib_1_1; + }, + function (au_1) { + au = au_1; + } + ], execute: function () { ClickCounter = /** @class */ (function () { function ClickCounter() { @@ -12,6 +19,9 @@ System.register([], function (exports_1, context_1) { ClickCounter.prototype.increment = function () { this.count++; }; + ClickCounter = tslib_1.__decorate([ + au.customElement("click-counter") + ], ClickCounter); return ClickCounter; }()); exports_1("ClickCounter", ClickCounter); diff --git a/dist/system/click-counter/click-counter.js.map b/dist/system/click-counter/click-counter.js.map index 21ceb137..2143b2b7 100644 --- a/dist/system/click-counter/click-counter.js.map +++ b/dist/system/click-counter/click-counter.js.map @@ -1 +1 @@ -{"version":3,"file":"click-counter.js","sourceRoot":"","sources":["../../../src/click-counter/click-counter.ts"],"names":[],"mappings":";;;;;;;YAAA;gBAAA;oBACC,UAAK,GAAG,CAAC,CAAC;gBAKX,CAAC;gBAHA,gCAAS,GAAT;oBACC,IAAI,CAAC,KAAK,EAAE,CAAC;gBACd,CAAC;gBACF,mBAAC;YAAD,CAAC,AAND,IAMC"} \ No newline at end of file +{"version":3,"file":"click-counter.js","sourceRoot":"","sources":["../../../src/click-counter/click-counter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;gBAEA;oBAEC,UAAK,GAAG,CAAC,CAAC;gBAKX,CAAC;gBAHA,gCAAS,GAAT;oBACC,IAAI,CAAC,KAAK,EAAE,CAAC;gBACd,CAAC;gBALW,YAAY;oBADxB,EAAE,CAAC,aAAa,CAAC,eAAe,CAAC;mBACrB,YAAY,CAMxB;gBAAD,mBAAC;aAAA,AAND"} \ No newline at end of file diff --git a/src/click-counter/click-counter.ts b/src/click-counter/click-counter.ts index cc553604..6e1d1852 100644 --- a/src/click-counter/click-counter.ts +++ b/src/click-counter/click-counter.ts @@ -1,3 +1,6 @@ +import * as au from "../aurelia"; + +@au.customElement("click-counter") export class ClickCounter { count = 0;