[ADF-859] add codelyzer in core and datatable (#2056)

* add codelyzer in core and datatable

* add codelyzer in the main build

* order imports

* fix import in test

* fix import test

* import reorder form

* tasklist and processlist import reorder
This commit is contained in:
Eugenio Romano
2017-07-07 10:20:41 +02:00
parent 7a034bb217
commit 29ca8b5c5e
388 changed files with 9335 additions and 2242 deletions

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { Component, Input, HostListener } from '@angular/core';
import { Component, HostListener, Input } from '@angular/core';
import { LogService } from 'ng2-alfresco-core';
import { RenderingQueueServices } from '../services/rendering-queue.services';
@@ -97,11 +97,11 @@ export class PdfViewerComponent {
this.currentPdfDocument.getPage(1).then(() => {
this.scalePage('auto');
resolve();
}, (error) => {
}, (error) => {
reject(error);
});
}, (error) => {
}, (error) => {
reject(error);
});
}
@@ -124,7 +124,7 @@ export class PdfViewerComponent {
window.document.addEventListener('scroll', (event) => {
this.watchScroll(event.target);
}, true);
}, true);
this.pdfViewer = new PDFJS.PDFViewer({
container: documentContainer,