User:Cqm/efficiency.js

/** * Efficiency base class * * @author Cqm * @copyright © Cqm 2014  *           All rights reserved */


 * ( function ( $, mw, rswiki ) {

'use strict';

var eff = ( function {

var self = {

/**                * Create form for user to fill out *                * @param */               buildForm: function  {},

/**                * Filled out by individual efficiency calc script if required */               checkMods: function  {},

/**                * Generate the result table */               generate: function  {},

/**                * Pull data from hidden tables on the page */               getData: function  {},

/**                *                 */                ing: {},

/**                *                 */                items: [],

/**                * Parses wikitext links *                * @param * @return */               parseLinks: function  {},

/**                *                 */                modXp: function  {},

/**                *                 *                 * @param */               throwError: function  {},

/**                *                 */                xpMods: {}

};

return self;

} );

// expose to global scope rswiki.eff = eff;

} ( this.jQuery, this.mediaWiki, this.rswiki ) );