Sha256: 89613f1318412b085ec984025ac27a76f42e4ce6da50a4f8a0c80e807975b930

Contents?: true

Size: 550 Bytes

Versions: 1

Compression:

Stored size: 550 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
  <script>
    window.qs = new URLSearchParams(location.search);
    window.ws = new WebSocket("ws://localhost:" + qs.get("port") + "/" + qs.get("path"));

    ws.onopen = function(event) {
      ws.send(JSON.stringify({url: qs.get("boot")}));
    };

    ws.onmessage = function(event) {
      var data = JSON.parse(event.data);
      var boot_page = document.open("text/html", "replace");
      boot_page.write(data.document);
      boot_page.close();
    };
  </script>
</head>
<body>
<!-- Loader -->
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flammarion_rails-0.1.0 public/index.html