I hereby claim:
- I am martzuk on github.
- I am martystrong (https://keybase.io/martystrong) on keybase.
- I have a public key ASBmBrFSsMeaPjczMmPYQoob0Y5Oq1D2iNTqq5hIYQqUXgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var FindProxyForURL = function(init, profiles) { | |
return function(url, host) { | |
"use strict"; | |
var result = init, scheme = url.substr(0, url.indexOf(":")); | |
do { | |
result = profiles[result]; | |
if (typeof result === "function") result = result(url, host, scheme); | |
} while (typeof result !== "string" || result.charCodeAt(0) === 43); | |
return result; | |
}; |