about summary refs log tree commit homepage
path: root/examples/rails_app-2.3.4/app
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-11-11 19:51:33 -0800
committerEric Wong <normalperson@yhbt.net>2009-11-11 19:51:33 -0800
commit64033a89a8b409a3b71382d8b328aa239caad428 (patch)
tree5c81c029a94b93c3847b625ceb5a3dfeea644b02 /examples/rails_app-2.3.4/app
parent4770ea6d7a6eaf00cc19bc4fb2afd59071e8cf66 (diff)
downloadupr-64033a89a8b409a3b71382d8b328aa239caad428.tar.gz
examples/rails_app-2.3.4: smaller JavaScript footprint
We'll be pulling in other JS files, too, so avoid pulling
in too much.
Diffstat (limited to 'examples/rails_app-2.3.4/app')
-rw-r--r--examples/rails_app-2.3.4/app/views/files/index.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/rails_app-2.3.4/app/views/files/index.html.erb b/examples/rails_app-2.3.4/app/views/files/index.html.erb
index fe7cfc5..4982076 100644
--- a/examples/rails_app-2.3.4/app/views/files/index.html.erb
+++ b/examples/rails_app-2.3.4/app/views/files/index.html.erb
@@ -2,7 +2,8 @@
   <head>
     <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
     <title>upr test, http://upr.bogomips.org/</title>
-    <%= javascript_include_tag :all %>
+    <%= javascript_include_tag :defaults %>
+    <%= javascript_include_tag 'upr' %>
 <style type="text/css">
 #progress-bar {
   width:500px;