2015-08-12 03:36:08 +00:00
|
|
|
/* jslint node: true */
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
var MenuModule = require('../core/menu_module.js').MenuModule;
|
|
|
|
//var theme = require('../core/theme.js');
|
|
|
|
|
|
|
|
//var async = require('async');
|
|
|
|
//var assert = require('assert');
|
|
|
|
//var _ = require('lodash');
|
|
|
|
|
|
|
|
exports.getModule = MessageAreaModule;
|
|
|
|
|
|
|
|
exports.moduleInfo = {
|
|
|
|
name : 'Message Area',
|
|
|
|
desc : 'Module for interacting with area messages',
|
|
|
|
author : 'NuSkooler',
|
|
|
|
};
|
|
|
|
|
|
|
|
function MessageAreaModule(options) {
|
|
|
|
MenuModule.call(this, options);
|
|
|
|
|
|
|
|
var self = this;
|
|
|
|
|
|
|
|
this.menuMethods = {
|
|
|
|
changeArea : function(formData, extraArgs) {
|
2015-08-19 22:05:35 +00:00
|
|
|
// :TODO: clean this code up
|
2015-08-12 03:36:08 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
require('util').inherits(MessageAreaModule, MenuModule);
|
|
|
|
|
|
|
|
MessageAreaModule.prototype.mciReady = function(mciData, cb) {
|
|
|
|
this.standardMCIReadyHandler(mciData, cb);
|
|
|
|
};
|
|
|
|
|