MCPcopy Create free account
hub / github.com/socketstream/socketstream / firstMatch

Function firstMatch

lib/client/bundler/browserify.client.js:45–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 throw new Error("Cannot find module '" + x + "' within '"+cwd+"'");
44
45 function firstMatch() {
46 for(var i= 0,a; (a = arguments[i]); ++i) {
47 if (require.modules[a]) { return a; }
48 }
49 }
50};
51
52require.alias = function (from, to) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected