Sha256: 05db022931e53bf295221b3ae9148fccbd0e5d9510858ebe09c5b662dc6ca168

Contents?: true

Size: 757 Bytes

Versions: 10

Compression:

Stored size: 757 Bytes

Contents

'use strict';

/**
 * Lazily-required module dependencies (makes the application
 * faster)
 */

var utils = require('lazy-cache')(require);

/**
 * Temporarily re-assign `require` to trick browserify and
 * webpack into reconizing lazy dependencies.
 *
 * This tiny bit of ugliness has the huge dual advantage of
 * only loading modules that are actually called at some
 * point in the lifecycle of the application, whilst also
 * allowing browserify and webpack to find modules that
 * are depended on but never actually called.
 */

var fn = require;
require = utils;

/**
 * Lazily required module dependencies
 */

require('align-text', 'align');

/**
 * Restore `require`
 */

require = fn;

/**
 * Expose `utils` modules
 */

module.exports = utils;

Version data entries

10 entries across 10 versions & 6 rubygems

Version Path
ilog-0.4.1 node_modules/center-align/utils.js
ilog-0.4.0 node_modules/center-align/utils.js
ilog-0.3.3 node_modules/center-align/utils.js
optimacms-0.4.3 spec/dummy/node_modules/center-align/utils.js
optimacms-0.4.2 spec/dummy/node_modules/center-align/utils.js
locomotivecms-3.4.0 app/javascript/node_modules/center-align/utils.js
cortex-0.1.3 spec/dummy/node_modules/center-align/utils.js
lanes-0.8.0 node_modules/center-align/utils.js
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/center-align/utils.js
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/center-align/utils.js