Tons of Solutions Engineering work done today for the rest of the CS team! Headway, Howard Hanna, Engels, Brighton, etc. Also completed Datasnippers auth flow and worked on Anthology's script. Cloned Anthology's courses (900..) and will clone Full Story on Monday.
This commit is contained in:
23
Scripts/node_modules/pac-resolver/dist/isPlainHostName.js
generated
vendored
Normal file
23
Scripts/node_modules/pac-resolver/dist/isPlainHostName.js
generated
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
"use strict";
|
||||
/**
|
||||
* True iff there is no domain name in the hostname (no dots).
|
||||
*
|
||||
* Examples:
|
||||
*
|
||||
* ``` js
|
||||
* isPlainHostName("www")
|
||||
* // is true.
|
||||
*
|
||||
* isPlainHostName("www.netscape.com")
|
||||
* // is false.
|
||||
* ```
|
||||
*
|
||||
* @param {String} host The hostname from the URL (excluding port number).
|
||||
* @return {Boolean}
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
function isPlainHostName(host) {
|
||||
return !/\./.test(host);
|
||||
}
|
||||
exports.default = isPlainHostName;
|
||||
//# sourceMappingURL=isPlainHostName.js.map
|
||||
Reference in New Issue
Block a user