|
@@ -78,10 +78,13 @@
|
|
|
#roomExitsHolder
|
|
|
%p.roomExitsHeader="Exits:"
|
|
|
#roomExits
|
|
|
+ -###########
|
|
|
+ -# Relative File for Debugging
|
|
|
%script{:type => "text/javascript", :charset=>"utf8", :src => "../js/Application.js"}
|
|
|
- -#= "<script id=\"ApplicationJS\" type=\"text/javascript\", charset=\"utf8\", src=\"data:application/javascript," + (URI.encode((File.read "js/Application.js").gsub("console.debug(", "//"))) + "\"></script>";
|
|
|
- -#%script#ApplicationJS{:type => "text/javascript"}
|
|
|
- -# = (File.read "js/Application.js").gsub("console.debug(", "//")
|
|
|
+ -###########
|
|
|
+ -# Optimized No Debug Data URL
|
|
|
+ -#= "<script id=\"ApplicationJS\" type=\"text/javascript\", charset=\"utf8\", src=\"data:application/javascript," + (URI.encode("(function(){\n" + (File.read "js/Application.js").gsub("console.debug(", "//")) + "\n})()") + "\"></script>";
|
|
|
+ -###########
|
|
|
%style{:media=>"screen", :type=>"text/css"}
|
|
|
= File.read "stylesheets/fonts.css"
|
|
|
%style{:media=>"screen", :type=>"text/css"}
|