/**
 * Create a development server context.
 * @function serverside.context.newDevContext
 * @param {object} [context] - Predefined context object.
 * @returns {object} - Defined server context object.
 * @author Taka Okunishi
 *
 */

var object = require('../../lib/object'),
    deepCopy = object.deepCopy,
    newProductionContext = require('./new_production_context');


exports = module.exports = function (context) {
    context = newProductionContext(context);
    return deepCopy(exports._constatns, context);
};

exports._constatns = require('../constants/dev-constants');