* Skeleton for user configuration

This commit is contained in:
Bryan Ashby 2015-10-11 23:26:27 -06:00
parent 15d844262d
commit ea8061ae85
4 changed files with 49 additions and 5 deletions

40
core/user_config.js Normal file
View file

@ -0,0 +1,40 @@
/* jslint node: true */
'use strict';
var MenuModule = require('./menu_module.js').MenuModule;
var ViewController = require('./view_controller.js').ViewController;
var async = require('async');
var assert = require('assert');
var _ = require('lodash');
exports.getModule = UserConfigModule;
exports.moduleInfo = {
name : 'User Configuration',
desc : 'Module for user configuration',
author : 'NuSkooler',
};
function UserConfigModule(options) {
MenuModule.call(this, options);
var self = this;
}
require('util').inherits(UserConfigModule, MenuModule);
UserConfigModule.prototype.mciReady = function(mciData, cb) {
var self = this;
var vc = self.viewControllers.allViews = new ViewController( { client : self.client} );
async.series(
[
function callParentMciReady(callback) {
UserConfigModule.super_.prototype.mciReady.call(self, mciData, callback);
}
]
);
};