[ADF-1006] fix 'isEmpty' issue and code cleanup (#2053)

* fix 'isEmpty' issue and code cleanup

* Update tsconfig.json
This commit is contained in:
Denys Vuika
2017-07-07 09:26:44 +01:00
committed by Eugenio Romano
parent 29ca8b5c5e
commit 012d62eb55
6 changed files with 43 additions and 14 deletions

View File

@@ -62,12 +62,27 @@ export class FolderActionsService {
}
// TODO: for demo purposes only, will be removed during future revisions
private handleStandardAction1(document: any) {
/**
* @deprecated in 1.7.0
*
* @private
* @param {*} document
* @memberof FolderActionsService
*/
private handleStandardAction1(/*document: any*/) {
console.log('handleStandardAction1 is deprecated in 1.7.0 and will be removed in future versions');
window.alert('standard folder action 1');
}
// TODO: for demo purposes only, will be removed during future revisions
private handleStandardAction2(document: any) {
/**
* @deprecated in 1.7.0
*
* @private
* @memberof FolderActionsService
*/
private handleStandardAction2(/*document: any*/) {
console.log('handleStandardAction1 is deprecated in 1.7.0 and will be removed in future versions');
window.alert('standard folder action 2');
}