revert modify after rebase

This commit is contained in:
Eugenio Romano
2017-08-01 11:10:23 +01:00
committed by Eugenio Romano
parent e1d1e647c6
commit cfa8a222f0
29 changed files with 11359 additions and 198 deletions

View File

@@ -8,8 +8,6 @@ const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
const ENV = process.env.NODE_ENV = process.env.ENV = 'production';
const ENV = process.env.NODE_ENV = process.env.ENV = 'production';
module.exports = {
resolveLoader: {

View File

@@ -221,25 +221,6 @@ export class UploadButtonComponent implements OnInit, OnChanges {
error => this.onError.emit(error)
);
}
return 'Error';
}
// TODO: move to AlfrescoContentService
getFolderNode(nodeId: string): Observable<MinimalNodeEntryEntity> {
let opts: any = {
includeSource: true,
include: ['allowableOperations']
};
return Observable.fromPromise(this.apiService.getInstance().nodes.getNodeInfo(nodeId, opts))
.catch(err => this.handleError(err));
}
private handleError(error: Response) {
// in a real world app, we may send the error to some remote logging infrastructure
// instead of just logging it to the console
this.logService.error(error);
return Observable.throw(error || 'Server error');
}
// TODO: move to AlfrescoContentService

View File

@@ -28,15 +28,6 @@ export class UploadDragAreaComponent {
@Input()
enabled: boolean = true;
/**
* @deprecated Deprecated in 1.6.0, you can use UploadService events and NotificationService api instead.
*
* @type {boolean}
* @memberof UploadButtonComponent
*/
@Input()
enabled: boolean = true;
/**
* @deprecated Deprecated in 1.6.0, you can use UploadService events and NotificationService api instead.
*