From 2428396ab6d50a9cf0137e253a6bb1d8d63236a5 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Tue, 14 Jun 2016 11:02:41 +0100 Subject: [PATCH] Upgrade Upload to angular 2.0.0-rc.1 --- .../ng2-alfresco-upload/demo/.editorconfig | 17 +- .../ng2-alfresco-upload/demo/index.html | 20 +- .../ng2-alfresco-upload/demo/package.json | 29 ++- .../ng2-alfresco-upload/demo/src/main.ts | 232 +++++++++--------- .../demo/systemjs.config.js | 84 ++++--- .../ng2-alfresco-upload/package.json | 36 ++- .../src/assets/translation.service.mock.ts | 4 +- .../file-uploading-dialog.component.spec.ts | 10 + .../file-uploading-dialog.component.ts | 2 +- .../file-uploading-list.component.html | 2 +- .../file-uploading-list.component.ts | 2 +- .../upload-button.component.spec.ts | 11 + .../src/components/upload-button.component.ts | 2 +- .../components/upload-drag-area.component.ts | 2 +- .../directives/file-draggable.directive.ts | 2 +- .../src/services/upload.service.spec.ts | 2 +- .../src/services/upload.service.ts | 10 +- 17 files changed, 258 insertions(+), 209 deletions(-) diff --git a/ng2-components/ng2-alfresco-upload/demo/.editorconfig b/ng2-components/ng2-alfresco-upload/demo/.editorconfig index 8ed330c4a2..c310eb95da 100644 --- a/ng2-components/ng2-alfresco-upload/demo/.editorconfig +++ b/ng2-components/ng2-alfresco-upload/demo/.editorconfig @@ -1,10 +1,19 @@ +# http://editorconfig.org root = true -[{src,scripts}/**.{ts,json,js}] -end_of_line = crlf +[*] charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true indent_style = space indent_size = 4 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[package.json] +indent_style = space +indent_size = 2 + +[*.md] +insert_final_newline = false +trim_trailing_whitespace = false diff --git a/ng2-components/ng2-alfresco-upload/demo/index.html b/ng2-components/ng2-alfresco-upload/demo/index.html index 48321ca9ce..923ab8b012 100644 --- a/ng2-components/ng2-alfresco-upload/demo/index.html +++ b/ng2-components/ng2-alfresco-upload/demo/index.html @@ -11,17 +11,15 @@ - - - - - + + + + + - - - - - + + +