document-list cleanup

- removed HelloWorld from the package
- renamed namespace
This commit is contained in:
Denys Vuika
2016-04-21 15:12:43 +01:00
parent c20ef9e06b
commit 2c73f4a8bd
12 changed files with 12 additions and 92 deletions

View File

@@ -1 +0,0 @@
{"version":3,"file":"component.js","sourceRoot":"","sources":["component.ts"],"names":[],"mappings":";;;;QAaa,mBAAmB,EACnB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;YAN/B,oBAAe;gBACX,UAAU,EAAE,CAAC,uBAAU,EAAE,sCAAY,CAAC;gBACtC,SAAS,EAAE,CAAC,kCAAe,CAAC;aAC/B,EAAA;YAEY,iCAAA,mBAAmB,GAAU,CAAC,uBAAU,EAAE,sCAAY,CAAC,CAAA,CAAC;YACxD,gCAAA,kBAAkB,GAAU,CAAC,kCAAe,CAAC,CAAA,CAAC"}

View File

@@ -1,11 +1,9 @@
import { HelloWorld } from './src/HelloWorld';
import { DocumentList } from './src/document-list.component';
import { AlfrescoService } from './src/alfresco.service';
export * from './src/HelloWorld';
export * from './src/document-list.component';
export * from './src/alfresco.service';
declare var _default: {
directives: (typeof HelloWorld | typeof DocumentList)[];
directives: typeof DocumentList[];
providers: typeof AlfrescoService[];
};
export default _default;

View File

@@ -1,7 +1,7 @@
System.register(['./src/HelloWorld', './src/document-list.component', './src/alfresco.service'], function(exports_1, context_1) {
System.register(['./src/document-list.component', './src/alfresco.service'], function(exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var HelloWorld_1, document_list_component_1, alfresco_service_1;
var document_list_component_1, alfresco_service_1;
var ALFRESCO_DIRECTIVES, ALFRESCO_PROVIDERS;
var exportedNames_1 = {
'ALFRESCO_DIRECTIVES': true,
@@ -16,10 +16,6 @@ System.register(['./src/HelloWorld', './src/document-list.component', './src/alf
}
return {
setters:[
function (HelloWorld_1_1) {
HelloWorld_1 = HelloWorld_1_1;
exportStar_1(HelloWorld_1_1);
},
function (document_list_component_1_1) {
document_list_component_1 = document_list_component_1_1;
exportStar_1(document_list_component_1_1);
@@ -30,12 +26,12 @@ System.register(['./src/HelloWorld', './src/document-list.component', './src/alf
}],
execute: function() {
exports_1("default",{
directives: [HelloWorld_1.HelloWorld, document_list_component_1.DocumentList],
directives: [document_list_component_1.DocumentList],
providers: [alfresco_service_1.AlfrescoService]
});
exports_1("ALFRESCO_DIRECTIVES", ALFRESCO_DIRECTIVES = [HelloWorld_1.HelloWorld, document_list_component_1.DocumentList]);
exports_1("ALFRESCO_DIRECTIVES", ALFRESCO_DIRECTIVES = [document_list_component_1.DocumentList]);
exports_1("ALFRESCO_PROVIDERS", ALFRESCO_PROVIDERS = [alfresco_service_1.AlfrescoService]);
}
}
});
//# sourceMappingURL=component.js.map
//# sourceMappingURL=ng2-alfresco-documentlist.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"ng2-alfresco-documentlist.js","sourceRoot":"","sources":["ng2-alfresco-documentlist.ts"],"names":[],"mappings":";;;;QAWa,mBAAmB,EACnB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;YAN/B,oBAAe;gBACX,UAAU,EAAE,CAAC,sCAAY,CAAC;gBAC1B,SAAS,EAAE,CAAC,kCAAe,CAAC;aAC/B,EAAA;YAEY,iCAAA,mBAAmB,GAAU,CAAC,sCAAY,CAAC,CAAA,CAAC;YAC5C,gCAAA,kBAAkB,GAAU,CAAC,kCAAe,CAAC,CAAA,CAAC"}

View File

@@ -1,15 +1,13 @@
import {HelloWorld} from './src/HelloWorld';
import {DocumentList} from './src/document-list.component';
import {AlfrescoService} from './src/alfresco.service';
export * from './src/HelloWorld';
export * from './src/document-list.component';
export * from './src/alfresco.service';
export default {
directives: [HelloWorld, DocumentList],
directives: [DocumentList],
providers: [AlfrescoService]
}
export const ALFRESCO_DIRECTIVES: [any] = [HelloWorld, DocumentList];
export const ALFRESCO_DIRECTIVES: [any] = [DocumentList];
export const ALFRESCO_PROVIDERS: [any] = [AlfrescoService];

View File

@@ -1,4 +0,0 @@
export declare class HelloWorld {
message: string;
onClick(): void;
}

View File

@@ -1,43 +0,0 @@
System.register(['angular2/core'], function(exports_1, context_1) {
"use strict";
var __moduleName = context_1 && context_1.id;
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var core_1;
var HelloWorld;
return {
setters:[
function (core_1_1) {
core_1 = core_1_1;
}],
execute: function() {
HelloWorld = (function () {
function HelloWorld() {
this.message = "Click Me ...";
}
HelloWorld.prototype.onClick = function () {
this.message = "Hello World!";
console.log(this.message);
};
HelloWorld = __decorate([
core_1.Component({
selector: 'hello-world',
styles: ["\n h1 {\n color: blue;\n }\n "],
template: "<div>\n <h1 (click)=\"onClick()\">{{message}}</h1>\n </div>"
}),
__metadata('design:paramtypes', [])
], HelloWorld);
return HelloWorld;
}());
exports_1("HelloWorld", HelloWorld);
}
}
});
//# sourceMappingURL=HelloWorld.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"HelloWorld.js","sourceRoot":"","sources":["HelloWorld.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;YAaA;gBAAA;oBAEI,YAAO,GAAG,cAAc,CAAC;gBAQ7B,CAAC;gBANG,4BAAO,GAAP;oBACI,IAAI,CAAC,OAAO,GAAG,cAAc,CAAC;oBAC9B,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;gBAE9B,CAAC;gBAnBL;oBAAC,gBAAS,CAAC;wBACP,QAAQ,EAAE,aAAa;wBACvB,MAAM,EAAE,CAAC,0DAIR,CAAC;wBACF,QAAQ,EAAE,4FAEQ;qBACrB,CAAC;;8BAAA;gBAWF,iBAAC;YAAD,CAAC,AAVD,IAUC;YAVD,mCAUC,CAAA"}

View File

@@ -1,24 +0,0 @@
import {Component} from 'angular2/core';
@Component({
selector: 'hello-world',
styles: [`
h1 {
color: blue;
}
`],
template: `<div>
<h1 (click)="onClick()">{{message}}</h1>
</div>`
})
export class HelloWorld {
message = "Click Me ...";
onClick() {
this.message = "Hello World!";
console.log(this.message);
}
}