|
@@ -80,10 +80,10 @@
|
|
|
#roomExits
|
|
|
-###########
|
|
|
-# Relative File for Debugging
|
|
|
- %script{:type => "text/javascript", :charset=>"utf8", :src => "../js/Application.js"}
|
|
|
+ -#%script{:type => "text/javascript", :charset=>"utf8", :src => "../js/Application.js"}
|
|
|
-###########
|
|
|
-# 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>";
|
|
|
+ = "<script id=\"ApplicationJS\" type=\"text/javascript\", charset=\"utf8\", src=\"data:application/javascript," + (URI.encode("(function(){\n" + (File.read "js/Application.js").encode!('UTF-8', 'UTF-8', :invalid => :replace).gsub("console.debug(", "//")) + "\n})()") + "\"></script>";
|
|
|
-###########
|
|
|
%style{:media=>"screen", :type=>"text/css"}
|
|
|
= File.read "stylesheets/fonts.css"
|