2011-11-17 20:44:48 +00:00
|
|
|
<% if with_swf? %>
|
|
|
|
<script type="text/javascript">
|
|
|
|
WEB_SOCKET_SWF_LOCATION = "/__rack/WebSocketMain.swf";
|
|
|
|
<% if force_swf? %>
|
|
|
|
WEB_SOCKET_FORCE_FLASH = true;
|
|
|
|
<% end %>
|
2013-02-03 11:13:48 +00:00
|
|
|
RACK_LIVERELOAD_PORT = <%= @port %>;
|
2011-11-17 20:44:48 +00:00
|
|
|
</script>
|
|
|
|
<script type="text/javascript" src="/__rack/swfobject.js"></script>
|
|
|
|
<script type="text/javascript" src="/__rack/web_socket.js"></script>
|
|
|
|
<% end %>
|
|
|
|
<script type="text/javascript" src="<%= src %>"></script>
|
|
|
|
|