draft: refactor project so it sits on top of a standalone app
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
var HTTP_RESOURCE_PATTERN = /^http:\/\//;
|
||||
|
||||
function isHttpResource(uri) {
|
||||
return HTTP_RESOURCE_PATTERN.test(uri);
|
||||
}
|
||||
|
||||
module.exports = isHttpResource;
|
||||
Reference in New Issue
Block a user