node-atlas
Version:
Progressive realtime web framework config-driven or API-driven for building easily serverless files, websites and webapps component-based and service-oriented.
10 lines (9 loc) • 391 B
JavaScript
(function () {
var optionsSocket = ("%urlRelativeSubPath%" !== "") ? {
path: "/" + "%urlRelativeSubPath%" + ("%urlRelativeSubPath%" ? "/" : "") + "socket.io"
} : undefined;
window.NA = window.NA || {};
window.NA.isClient = true;
window.NA.io = io;
window.NA.socket = NA.io.connect(location.origin, (window.NA.optionsSocket) ? window.NA.optionsSocket : optionsSocket);
}());