aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/templates
diff options
context:
space:
mode:
authorRyunosuke SATO <tricknotes.rs@gmail.com>2013-01-04 15:22:47 +0900
committerRyunosuke SATO <tricknotes.rs@gmail.com>2013-01-04 15:31:44 +0900
commit37e250fcf9362a4fdc83682b5a459810a8248468 (patch)
treed0abad4d41e219b0b43af566a3bd14aa720acfee /railties/lib/rails/templates
parent39374aa925a7d670b039c0c0c9aa9f4aef19466b (diff)
downloadrails-37e250fcf9362a4fdc83682b5a459810a8248468.tar.gz
rails-37e250fcf9362a4fdc83682b5a459810a8248468.tar.bz2
rails-37e250fcf9362a4fdc83682b5a459810a8248468.zip
Apply `var` keyword to js at welcome#index
Diffstat (limited to 'railties/lib/rails/templates')
-rw-r--r--railties/lib/rails/templates/rails/welcome/index.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/templates/rails/welcome/index.html.erb b/railties/lib/rails/templates/rails/welcome/index.html.erb
index 9a62d206dc..b102561848 100644
--- a/railties/lib/rails/templates/rails/welcome/index.html.erb
+++ b/railties/lib/rails/templates/rails/welcome/index.html.erb
@@ -173,7 +173,8 @@
</style>
<script>
function about() {
- info = document.getElementById('about-content');
+ var info = document.getElementById('about-content');
+ var xhr;
if (window.XMLHttpRequest)
{ xhr = new XMLHttpRequest(); }
else