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

View File

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