[Browse] Removed destroy functions
Removed destroy functions from menu arrow controller and contetxt menu action as suggested. #33, #47.
This commit is contained in:
@@ -107,17 +107,6 @@ define(
|
||||
}
|
||||
|
||||
return {
|
||||
/**
|
||||
* Dismiss any visible menu.
|
||||
* @method
|
||||
* @memberof ContextMenuAction
|
||||
*/
|
||||
destroy: function () {
|
||||
// Scope has been destroyed, so remove all listeners.
|
||||
if (dismissExistingMenu) {
|
||||
dismissExistingMenu();
|
||||
}
|
||||
},
|
||||
perform: perform
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user