lib/modules.js
function moduleToCode(id, r) {
		exports.module(id, options, done);
		function done(err, result) {
			if (err) {
				next(err);
				next = function(){}; // make sure you only call next(err) once
				return;
			}

			if (result && (!modified || result.modified > modified)) {
				modified = result.modified; // update latest last modified date
			}

			results[r] = result && result.code || '';
			if (++doneCount >= ids.length) { alldone(); } // done with all of them

		}
	}
function moduleToCode(id, r) {
		exports.module(id, options, done);
		function done(err, result) {
			if (err) {
				next(err);
				next = function(){}; // make sure you only call next(err) once
				return;
			}

			if (result && (!modified || result.modified > modified)) {
				modified = result.modified; // update latest last modified date
			}

			results[r] = result && result.code || '';
			if (++doneCount >= ids.length) { alldone(); } // done with all of them

		}
	}
function moduleToCode ( id , r ) { exports . module ( id , options , done ) ; function done ( err , result ) { if ( err ) { next ( err ) ; next = function ( ) { } ; // make sure you only call next(err) once return ; } if ( result && ( ! modified || result . modified > modified ) ) { modified = result . modified ; // update latest last modified date } results [ r ] = result && result . code || '' ; if ( ++ doneCount >= ids . length ) { alldone ( ) ; } // done with all of them } }
convert a module
convert a module