Sign in
apache
/
nifi-fds
/
6435e394f6c7c31d3f61a4bfc9702bde2a1659fa
/
.
/
node_modules
/
clean-css
/
lib
/
utils
/
has-protocol.js
blob: fa1b61fd57ad1ebee52ebcb683d0d32a83a5f5b8 [
file
] [
log
] [
blame
]
var
NO_PROTOCOL_RESOURCE_PATTERN
=
/^\/\//
;
function
hasProtocol
(
uri
)
{
return
!
NO_PROTOCOL_RESOURCE_PATTERN
.
test
(
uri
);
}
module
.
exports
=
hasProtocol
;