docs: function local_require(submod) {
  			// Resolve local module symbol
  			if(submod.slice(0, 1) === ".") {
  				submod = path.join(path.dirname(sym.path), submod);
  
  				// Outside bundle
  				if(submod.slice(0, 2) === "..") {
  					throw null; // Will be catched by the try{} in require
  				}
  			}
  			
  			// Try given name, if fails, add ".js" and try again
  			var submod_sym;
  			try {
  				submod_sym = __nld.resolve(submod);
  			} catch(e) {
  				submod_sym = __nld.resolve(submod + ".js");
  			}
  			
  			// Detect cycles
  			function find_cycle_root(leaf) {
  				if(leaf.id === submod_sym) {
  					return leaf;
  				} else if(leaf.parent) {
  					return find_cycle_root(leaf.parent);
  				} else {
  					return false;
  				}
  			}
  			
  			var cycle_root = find_cycle_root(module);
  			if(cycle_root) {
  				return cycle_root.exports;
  			}
  			
  			return __nld(submod_sym, undefined, module);
  		}