Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Update JS interface IAxjpNodeProvider and all its implementation with…
Browse files Browse the repository at this point in the history
… missing method.
  • Loading branch information
cdujeu committed Sep 30, 2014
1 parent b25286d commit dd96126
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
4 changes: 3 additions & 1 deletion core/src/plugins/access.jsapi/class.LocalAPINodeProvider.js
Expand Up @@ -31,7 +31,9 @@ Class.create("LocalAPINodeProvider", {
initProvider : function(properties){
this.properties = properties;
},


loadLeafNodeSync: function(node, callback){},

/**
*
* @param node AjxpNode
Expand Down
4 changes: 3 additions & 1 deletion core/src/plugins/action.cart/class.LocalCartNodeProvider.js
Expand Up @@ -43,6 +43,8 @@ Class.create("LocalCartNodeProvider", {
node.getChildren().each(function(n){
childCallback(n);
});
}
},

loadLeafNodeSync: function(node, callback){}

});
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/res/js/ajaxplorer.js

Large diffs are not rendered by default.

Expand Up @@ -40,6 +40,10 @@ Class.create("EmptyNodeProvider", {
*/
loadNode : function(node, nodeCallback, childCallback){

},

loadLeafNodeSync: function(node, callback){

}

});
Expand Up @@ -21,5 +21,6 @@
*/
Interface.create("IAjxpNodeProvider", {
initProvider : function(properties){},
loadNode : function(nodePath, nodeCallback, childCallback){}
loadNode : function(nodePath, nodeCallback, childCallback){},
loadLeafNodeSync: function(node, callback){}
});

0 comments on commit dd96126

Please sign in to comment.