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 %>
|
|
|
|
</script>
|
2013-03-08 19:59:39 +00:00
|
|
|
<script type="text/javascript" src="<%= app_root %>/__rack/swfobject.js"></script>
|
|
|
|
<script type="text/javascript" src="<%= app_root %>/__rack/web_socket.js"></script>
|
2011-11-17 20:44:48 +00:00
|
|
|
<% end %>
|
2013-03-27 21:50:06 +00:00
|
|
|
<script type="text/javascript">
|
2013-04-23 20:28:23 +00:00
|
|
|
RACK_LIVERELOAD_PORT = <%= @options[:live_reload_port] %>;
|
2013-03-27 21:50:06 +00:00
|
|
|
</script>
|
2011-11-17 20:44:48 +00:00
|
|
|
<script type="text/javascript" src="<%= src %>"></script>
|
|
|
|
|