From 6af0f10fa80d6049be8a8f95f8cbff6a1286a328 Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Tue, 11 Apr 2017 14:06:20 +0100 Subject: [PATCH] demo shell remove unused import and add tslint on start dev --- demo-shell-ng2/app/components/files/files.component.ts | 6 +++--- demo-shell-ng2/package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/demo-shell-ng2/app/components/files/files.component.ts b/demo-shell-ng2/app/components/files/files.component.ts index 2fc9bc27af..1f1f4eeeb7 100644 --- a/demo-shell-ng2/app/components/files/files.component.ts +++ b/demo-shell-ng2/app/components/files/files.component.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import { Component, OnInit, AfterViewInit, Optional, ViewChild, ViewChildren, ChangeDetectorRef } from '@angular/core'; +import { Component, OnInit, AfterViewInit, Optional, ViewChild, ChangeDetectorRef } from '@angular/core'; import { ActivatedRoute, Params, Router } from '@angular/router'; import { AlfrescoAuthenticationService, LogService, NotificationService } from 'ng2-alfresco-core'; import { DocumentActionsService, DocumentListComponent, ContentActionHandler, DocumentActionModel, FolderActionModel } from 'ng2-alfresco-documentlist'; @@ -124,13 +124,13 @@ export class FilesComponent implements OnInit, AfterViewInit { ngAfterViewInit() { this.uploadButton.onSuccess .debounceTime(100) - .subscribe((event)=> { + .subscribe((event) => { this.reload(event); }); this.uploadDragArea.onSuccess .debounceTime(100) - .subscribe((event)=> { + .subscribe((event) => { this.reload(event); }); } diff --git a/demo-shell-ng2/package.json b/demo-shell-ng2/package.json index f0debc9566..d53c629108 100644 --- a/demo-shell-ng2/package.json +++ b/demo-shell-ng2/package.json @@ -5,7 +5,7 @@ "author": "Alfresco Software, Ltd.", "scripts": { "clean": "npm install rimraf && npm run clean-build && rimraf dist node_modules typings dist", - "start": "npm run server-versions && webpack-dev-server --progress --max_old_space_size=4096 --max_new_space_size=4096", + "start": "npm run tslint && npm run server-versions && webpack-dev-server --progress --max_old_space_size=4096 --max_new_space_size=4096", "start:dist": "wsrv -s dist/ -p 3000 -a 0.0.0.0", "clean-build": "rimraf 'app/{,**/}**.js' 'app/{,**/}**.js.map' 'app/{,**/}**.d.ts'", "test": "karma start",