make sure rack livereload port gets set when swf is disabled
This commit is contained in:
parent
7c432f4438
commit
2327695365
@ -4,10 +4,12 @@
|
|||||||
<% if force_swf? %>
|
<% if force_swf? %>
|
||||||
WEB_SOCKET_FORCE_FLASH = true;
|
WEB_SOCKET_FORCE_FLASH = true;
|
||||||
<% end %>
|
<% end %>
|
||||||
RACK_LIVERELOAD_PORT = <%= @port %>;
|
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="/__rack/swfobject.js"></script>
|
<script type="text/javascript" src="/__rack/swfobject.js"></script>
|
||||||
<script type="text/javascript" src="/__rack/web_socket.js"></script>
|
<script type="text/javascript" src="/__rack/web_socket.js"></script>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<script type="text/javascript">
|
||||||
|
RACK_LIVERELOAD_PORT = <%= @port %>;
|
||||||
|
</script>
|
||||||
<script type="text/javascript" src="<%= src %>"></script>
|
<script type="text/javascript" src="<%= src %>"></script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user