/**
 * Module dependencies
 */

var Sails = require('./app');
// * * See also the require for `sails-generate` below. * *


// Instantiate and expose a Sails singleton
// (maintains legacy support)
module.exports = new Sails();

// Expose constructor as `.Sails` for convenience/tests:
// =========================================================
// To access the Sails app constructor, do:
// var Sails = require('sails').constructor;
// or:
// var Sails = require('sails').Sails;
//
// Then:
// var newApp = new Sails();
// =========================================================
module.exports.Sails = Sails;

/**
 * Module dependencies
 */

var Sails = require('./app');


// Instantiate and expose a Sails singleton
// (maintains legacy support)
module.exports = new Sails();

// Expose constructor as `.Sails` for convenience/tests:
// =========================================================
// To access the Sails app constructor, do:
// var Sails = require('sails').constructor;
// or:
// var Sails = require('sails').Sails;
//
// Then:
// var newApp = new Sails();
// =========================================================
module.exports.Sails = Sails;

Remove old stuff I missed back in https://github.com/balderdashy/sails/commit/b18c49dc73dbf9cb9616bf1fcd6c8684a00e1651#diff-6d186b954a58d5bb740f73d84fe39073