Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
destroy : function(){
menus.remove("Find/~", 10000);
menus.remove("Find in Files...");
commands.removeCommandByName("searchinfiles");
this.nodes.each(function(item){
item.destroy(true, true);
});
this.nodes = [];
}
}, libsearch));
destroy: function() {
menus.remove("Tools/Vim mode");
this.nodes.forEach(function(item) { item.destroy(); });
this.nodes = [];
}
});
destroy : function(){
menus.remove("Tools/~", 1000000);
menus.remove("Tools/Extension Manager...");
this.nodes.each(function(item){
item.destroy(true, true);
});
this.nodes = [];
}
});
destroy : function(){
menus.remove("View/Themes");
}
});
destroy : function(){
menus.remove("File/~", 1100);
menus.remove("File/Save All");
menus.remove("File/Save As...");
menus.remove("File/Save");
menus.remove("File/~", 800);
menus.remove("File/Revert to Saved");
commands.removeCommandsByName(
["quicksave", "saveas", "saveall", "reverttosaved"]);
this.nodes.each(function(item){
item.destroy(true, true);
});
this.nodes = [];
tabEditors.removeEventListener("close", this.$close, true);
}
});
destroy: function() {
menus.remove("File/File revisions");
menus.remove("File/~", 1000);
commands.removeCommandByName("revisionpanel");
if (this.saveInterval) {
clearInterval(this.saveInterval);
}
this.disableEventListeners();
tabEditors.getPages().forEach(function(page) {
if (page.$mdlRevisions) {
delete page.$mdlRevisions;
}
}, this);
destroy : function(){
menus.remove("View/~", 200);
this.nodes.each(function(item){
item.destroy(true, true);
});
this.nodes = [];
}
});
destroy : function(){
menus.remove("View/Status Bar");
this.nodes.each(function(item){
item.destroy(true, true);
});
this.nodes = [];
}
});
destroy : function(){
menus.remove("File/Open Recent");
this.$destroy();
}
});
destroy : function(){
menus.remove("View/Status Bar");
this.nodes.each(function(item){
item.destroy(true, true);
});
this.nodes = [];
}
});