mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-05 12:17:17 +02:00
* Rename message editor to fse.js
This commit is contained in:
parent
7df509d5f0
commit
f56546cae5
3 changed files with 14 additions and 13 deletions
58
mods/fse.js
Normal file
58
mods/fse.js
Normal file
|
@ -0,0 +1,58 @@
|
|||
/* jslint node: true */
|
||||
'use strict';
|
||||
|
||||
var MenuModule = require('../core/menu_module.js').MenuModule;
|
||||
|
||||
var async = require('async');
|
||||
var assert = require('assert');
|
||||
var _ = require('lodash');
|
||||
|
||||
exports.getModule = FullScreenEditorModule;
|
||||
|
||||
exports.moduleInfo = {
|
||||
name : 'Full Screen Editor (FSE)',
|
||||
desc : 'A full screen editor/viewer',
|
||||
author : 'NuSkooler',
|
||||
};
|
||||
|
||||
function FullScreenEditorModule(options) {
|
||||
MenuModule.call(this, options);
|
||||
|
||||
var self = this;
|
||||
var args = options.menuConfig.args;
|
||||
|
||||
/*
|
||||
this.initSequence = function() {
|
||||
async.waterfall(
|
||||
[
|
||||
function beforeDisplayArt(callback) {
|
||||
self.beforeArt();
|
||||
callback(null);
|
||||
},
|
||||
function displayHeader(callback) {
|
||||
if(_.isString(args.art.header)) {
|
||||
self.displayArtAsset(args.art.header, function hdrDisplayed(err, mciMap) {
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
callback(null);
|
||||
},
|
||||
function displayBody(callback) {
|
||||
|
||||
},
|
||||
function displayFooter(callback) {
|
||||
|
||||
}
|
||||
]
|
||||
);
|
||||
};
|
||||
*/
|
||||
}
|
||||
|
||||
require('util').inherits(FullScreenEditorModule, MenuModule);
|
||||
|
||||
FullScreenEditorModule.prototype.enter = function(client) {
|
||||
FullScreenEditorModule.super_.prototype.enter.call(this, client);
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue