1
0
forked from Rowland/EG
EG/Cesium-1.132/node_modules/clean-css/lib/utils/has-protocol.js
2025-08-25 17:48:13 +08:00

8 lines
156 B
JavaScript

var NO_PROTOCOL_RESOURCE_PATTERN = /^\/\//;
function hasProtocol(uri) {
return !NO_PROTOCOL_RESOURCE_PATTERN.test(uri);
}
module.exports = hasProtocol;