hm, I’m adding
window.__socket = require("phoenix").Socket; to app.js, adding
<script src="<%= static_path(@conn, "/js/phoenix.js") %>"></script>
to layout, but now I get TWO same errors:
Uncaught ReferenceError: require is not defined
at app.js:5
(anonymous) @ app.js:5
(index):111 Uncaught ReferenceError: require is not defined
at Object.create ((index):111)
at (index):1085
at (index):1089
I have version 0.9.1 and --no-brunch phoenix app.


















