mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
add watching file in demo document list
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
"alfresco"
|
||||
],
|
||||
"dependencies": {
|
||||
"alfresco-js-api": "0.1.0",
|
||||
"alfresco-js-api": "^0.1.0",
|
||||
"@angular/common": "2.0.0-rc.3",
|
||||
"@angular/compiler": "2.0.0-rc.3",
|
||||
"@angular/core": "2.0.0-rc.3",
|
||||
|
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"watch": [
|
||||
"node_modules/ng2-alfresco-datatable/dist/**/*.{html,htm,css,js}",
|
||||
"node_modules/ng2-alfresco-core/dist/**/*.{html,htm,css,js}",
|
||||
"node_modules/ng2-alfresco-documentlist/dist/**/*.{html,htm,css,js}"
|
||||
]
|
||||
}
|
||||
|
@@ -78,11 +78,11 @@ export class DocumentListService {
|
||||
relativePath: folder,
|
||||
include: ['path']
|
||||
};
|
||||
return this.getAlfrescoApi().getNodeChildren(nodeId, opts);
|
||||
return this.getAlfrescoApi().node.getNodeChildren(nodeId, opts);
|
||||
}
|
||||
|
||||
deleteNode(nodeId: string) {
|
||||
return Observable.fromPromise(this.getAlfrescoApi().deleteNode(nodeId));
|
||||
return Observable.fromPromise(this.getAlfrescoApi().node.deleteNode(nodeId));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -67,8 +67,8 @@
|
||||
"material-design-lite": "1.1.3",
|
||||
"ng2-translate": "2.2.2",
|
||||
|
||||
"alfresco-js-api": "0.1.0",
|
||||
"ng2-alfresco-core": "0.1.36",
|
||||
"alfresco-js-api": "^0.1.0",
|
||||
"ng2-alfresco-core": "^0.1.36",
|
||||
"ng2-alfresco-login": "file:../"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
Reference in New Issue
Block a user