externalize system config js in demo and fix some tslin error

This commit is contained in:
Eugenio Romano
2016-05-27 10:40:01 +01:00
parent bf2573077b
commit 9e721327ef
32 changed files with 375 additions and 189 deletions

View File

@@ -62,10 +62,11 @@ import { ALFRESCO_ULPOAD_COMPONENTS, UploadService } from 'ng2-alfresco-upload/d
})
export class MyDemoApp {
token: string;
constructor(alfrescoSettingsService: AlfrescoSettingsService) {
alfrescoSettingsService.host = 'http://192.168.99.100:8080';
if(localStorage.getItem('token')) {
if (localStorage.getItem('token')) {
this.token = localStorage.getItem('token');
}
}