diff options
author | Ryunosuke SATO <tricknotes.rs@gmail.com> | 2013-01-04 15:22:47 +0900 |
---|---|---|
committer | Ryunosuke SATO <tricknotes.rs@gmail.com> | 2013-01-04 15:31:44 +0900 |
commit | 37e250fcf9362a4fdc83682b5a459810a8248468 (patch) | |
tree | d0abad4d41e219b0b43af566a3bd14aa720acfee /railties/lib/rails/templates | |
parent | 39374aa925a7d670b039c0c0c9aa9f4aef19466b (diff) | |
download | rails-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.erb | 3 |
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 |