removed unnecessary function
since I've moved the functions to the editor and session objects themselves I can get rid of this.
This commit is contained in:
parent
b0c08dced1
commit
24a00578c6
1 changed files with 0 additions and 13 deletions
|
|
@ -58,18 +58,6 @@ define(function(require, exports, module) {
|
|||
var overlayPage = require('./overlay_page').overlayPage;
|
||||
var addEditorMenuOptions = require('./add_editor_menu_options').addEditorMenuOptions;
|
||||
|
||||
/**
|
||||
* These functions are necessary for the settings menu
|
||||
* to provide a couple really useful settings.
|
||||
* @author <a href="mailto:matthewkastor@gmail.com">
|
||||
* Matthew Christopher Kastor-Inare III </a><br />
|
||||
* ☭ Hial Atropa!! ☭
|
||||
* @param {ace.Editor} editor An instance of the ace editor.
|
||||
*/
|
||||
function addFunctionsForSettingsMenu (editor) {
|
||||
// when building the settings menu matching get and set functions
|
||||
// must be found or the function will be ignored
|
||||
}
|
||||
/**
|
||||
* Generates a list of set functions for the settings menu.
|
||||
* @author <a href="mailto:matthewkastor@gmail.com">
|
||||
|
|
@ -391,7 +379,6 @@ define(function(require, exports, module) {
|
|||
module.exports.showSettingsMenu = function showSettingsMenu (editor) {
|
||||
// make sure the menu isn't open already.
|
||||
if(!document.getElementById('settingsmenu')) {
|
||||
addFunctionsForSettingsMenu(editor);
|
||||
addEditorMenuOptions(editor);
|
||||
generateMenu(editor);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue