* Rename message editor to fse.js

This commit is contained in:
Bryan Ashby 2015-06-25 16:33:17 -06:00
parent 7df509d5f0
commit f56546cae5
3 changed files with 14 additions and 13 deletions

BIN
mods/art/demo_fse.ans Normal file

Binary file not shown.

View File

@ -7,22 +7,21 @@ var async = require('async');
var assert = require('assert'); var assert = require('assert');
var _ = require('lodash'); var _ = require('lodash');
// :TODO: rename to fse.js & FullScreenEditor exports.getModule = FullScreenEditorModule;
exports.getModule = MessageEditorModule;
exports.moduleInfo = { exports.moduleInfo = {
name : 'Message Editor', name : 'Full Screen Editor (FSE)',
desc : 'A module for editing messages', desc : 'A full screen editor/viewer',
author : 'NuSkooler', author : 'NuSkooler',
}; };
function MessageEditorModule(options) { function FullScreenEditorModule(options) {
MenuModule.call(this, options); MenuModule.call(this, options);
var self = this; var self = this;
var args = options.menuConfig.args; var args = options.menuConfig.args;
/*
this.initSequence = function() { this.initSequence = function() {
async.waterfall( async.waterfall(
[ [
@ -48,11 +47,12 @@ function MessageEditorModule(options) {
] ]
); );
}; };
*/
} }
require('util').inherits(MessageEditorModule, MenuModule); require('util').inherits(FullScreenEditorModule, MenuModule);
MessageEditorModule.prototype.enter = function(client) { FullScreenEditorModule.prototype.enter = function(client) {
MessageEditorModule.super_.prototype.enter.call(this, client); FullScreenEditorModule.super_.prototype.enter.call(this, client);
}; };

View File

@ -215,7 +215,7 @@
"Vertical Menu Views", "Vertical Menu Views",
"Horizontal Menu Views", "Horizontal Menu Views",
"Art Display", "Art Display",
"Message Editor", "Full Screen Editor",
"Some More Stuff", "Some More Stuff",
"Other" "Other"
], ],
@ -249,7 +249,7 @@
}, },
{ {
"value" : { "1" : 7 }, "value" : { "1" : 7 },
"action" : "@menu:demoMessageEditor" "action" : "@menu:demoFullScreenEditor"
} }
] ]
} }
@ -430,8 +430,9 @@
"art" : "WE-CIZB.ANS", "art" : "WE-CIZB.ANS",
"options" : { "cls" : true } "options" : { "cls" : true }
}, },
"demoMessageEditor" : { "demoFullScreenEditor" : {
"module" : "message_editor", "module" : "fse",
"art" : "demo_fse.ans",
"options" : { "cls" : true }, "options" : { "cls" : true },
"args" : { "args" : {
"art" : { "art" : {