lib/rackit.js
function (cb) {
			if (!o1.options.useCDN)
				return cb();

			o1._log('CDN enabling the container');

			container.enableCdn(function (err, _container) {
				if (err)
					return cb(err);

				// check that a parallel operation didn't just CDN enable the same container
				var index = _.findIndex(o1.aContainers, { name : sName });

				container = o1.aContainers[index] = _container;

				cb();
			});
		}
function (cb) {
			if (!o1.options.useCDN)
				return cb();

			o1._log('CDN enabling the container');

			container.enableCdn(function (err, _container) {
				if (err)
					return cb(err);

				// check that a parallel operation didn't just CDN enable the same container
				var index = _.findIndex(o1.aContainers, { name : sName });

				container = o1.aContainers[index] = _container;

				cb();
			});
		}
function ( cb ) { if ( ! o1 . options . useCDN ) return cb ( ) ; o1 . _log ( 'CDN enabling the container' ) ; container . enableCdn ( function ( err , _container ) { if ( err ) return cb ( err ) ; // check that a parallel operation didn't just CDN enable the same container var index = _ . findIndex ( o1 . aContainers , { name : sName } ) ; container = o1 . aContainers [ index ] = _container ; cb ( ) ; } ) ; }
CDN enable the container, if necessary
CDN enable the container if necessary