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:
Matthew Kastor 2013-04-01 16:01:07 -04:00 committed by nightwing
commit 24a00578c6

View file

@ -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);
}