lib/init.js
function checkNextRequire(options) {

		if (!modulep) {
			return;
		}

		if (options.strict === false) {
			return;
		}

		// Overwrite the original wrap method
		modulep.wrap = function wrap(script) {

			var head;

			// Restore the original functions
			modulep.wrap = modulep.original_wrap;
			modulep._resolveFilename = modulep.original_resolve;

			if (options.add_wrapper !== false) {
				if (options.add_wrapper || script.slice(0, 14) != 'module.exports') {

					if (script.indexOf('__cov_') > -1 && script.indexOf('module.exports=function ') > 7) {
						// We're in coverage mode, just ignore
					} else {
						// Yes: "added_wrapper", as in "done"
						options.added_wrapper = true;

						head = 'module.exports = function(';

						if (options.arguments) {
							head += Blast.getArgumentConfiguration(options.arguments).names.join(',');
						} else {
							head += 'Blast, Collection, Bound, Obj';
						}

						head += ') {';

						script = head + script + '\n};';
					}
				}
			}

			// Add the strict wrapper for this requirement
			return modulep.strict_wrapper + script + modulep.wrapper[1];
		};

		// Overwrite the original _resolveFilename method
		modulep._resolveFilename = function _resolveFilename(request, parent, is_main) {
			try {
				return modulep.original_resolve(request, parent, is_main);
			} catch (err) {
				modulep.wrap = modulep.original_wrap;
				modulep._resolveFilename = modulep.original_resolve;
				throw err;
			}
		};
	}
function checkNextRequire(options) {

		if (!modulep) {
			return;
		}

		if (options.strict === false) {
			return;
		}

		// Overwrite the original wrap method
		modulep.wrap = function wrap(script) {

			var head;

			// Restore the original functions
			modulep.wrap = modulep.original_wrap;
			modulep._resolveFilename = modulep.original_resolve;

			if (options.add_wrapper !== false) {
				if (options.add_wrapper || script.slice(0, 14) != 'module.exports') {

					if (script.indexOf('__cov_') > -1 && script.indexOf('module.exports=function ') > 7) {
						// We're in coverage mode, just ignore
					} else {
						// Yes: "added_wrapper", as in "done"
						options.added_wrapper = true;

						head = 'module.exports = function(';

						if (options.arguments) {
							head += Blast.getArgumentConfiguration(options.arguments).names.join(',');
						} else {
							head += 'Blast, Collection, Bound, Obj';
						}

						head += ') {';

						script = head + script + '\n};';
					}
				}
			}

			// Add the strict wrapper for this requirement
			return modulep.strict_wrapper + script + modulep.wrapper[1];
		};

		// Overwrite the original _resolveFilename method
		modulep._resolveFilename = function _resolveFilename(request, parent, is_main) {
			try {
				return modulep.original_resolve(request, parent, is_main);
			} catch (err) {
				modulep.wrap = modulep.original_wrap;
				modulep._resolveFilename = modulep.original_resolve;
				throw err;
			}
		};
	}
function checkNextRequire ( options ) { if ( ! modulep ) { return ; } if ( options . strict === false ) { return ; } // Overwrite the original wrap method modulep . wrap = function wrap ( script ) { var head ; // Restore the original functions modulep . wrap = modulep . original_wrap ; modulep . _resolveFilename = modulep . original_resolve ; if ( options . add_wrapper !== false ) { if ( options . add_wrapper || script . slice ( 0 , 14 ) != 'module.exports' ) { if ( script . indexOf ( '__cov_' ) > - 1 && script . indexOf ( 'module.exports=function ' ) > 7 ) { // We're in coverage mode, just ignore } else { // Yes: "added_wrapper", as in "done" options . added_wrapper = true ; head = 'module.exports = function(' ; if ( options . arguments ) { head += Blast . getArgumentConfiguration ( options . arguments ) . names . join ( ',' ) ; } else { head += 'Blast, Collection, Bound, Obj' ; } head += ') {' ; script = head + script + '\n};' ; } } } // Add the strict wrapper for this requirement return modulep . strict_wrapper + script + modulep . wrapper [ 1 ] ; } ; // Overwrite the original _resolveFilename method modulep . _resolveFilename = function _resolveFilename ( request , parent , is_main ) { try { return modulep . original_resolve ( request , parent , is_main ) ; } catch ( err ) { modulep . wrap = modulep . original_wrap ; modulep . _resolveFilename = modulep . original_resolve ; throw err ; } } ; }
PROTOBLAST START CUT 
Check require call

@author    Jelle De Loecker   <jelle@develry.be>
@version   0.6.6

@param     {Object}   options
PROTOBLAST START CUT Check require call