This commit is contained in:
Al Snow
2016-04-14 15:14:51 -04:00
3 changed files with 7 additions and 1 deletions
+3
View File
@@ -96,3 +96,6 @@ gem 'mailcatcher'
# # bundle exec rake doc:rails generates the API under doc/api. # # bundle exec rake doc:rails generates the API under doc/api.
# gem 'sdoc', require: false # gem 'sdoc', require: false
#end #end
#For Rails 4.2
gem 'responders'
+3
View File
@@ -247,6 +247,8 @@ GEM
rb-inotify (0.9.7) rb-inotify (0.9.7)
ffi (>= 0.5.0) ffi (>= 0.5.0)
ref (2.0.0) ref (2.0.0)
responders (2.1.2)
railties (>= 4.2.0, < 5.1)
rspec (2.99.0) rspec (2.99.0)
rspec-core (~> 2.99.0) rspec-core (~> 2.99.0)
rspec-expectations (~> 2.99.0) rspec-expectations (~> 2.99.0)
@@ -371,6 +373,7 @@ DEPENDENCIES
rails (= 4.2.6) rails (= 4.2.6)
rake (= 10.5.0) rake (= 10.5.0)
rb-fsevent rb-fsevent
responders
rspec-rails (= 2.99.0) rspec-rails (= 2.99.0)
sass-rails sass-rails
simplecov simplecov
+1 -1
View File
@@ -7,7 +7,7 @@
try { try {
var hashParam = location.hash.split("#")[1]; var hashParam = location.hash.split("#")[1];
var paramName = hashParam.split('=')[0]; var paramName = hashParam.split('=')[0];
var paramValue = hashParam.split('=')[1]; var paramValue = decodeURIComponent(hashParam.split('=')[1]);
document.write("<OPTION value=3>" + paramValue + "</OPTION>"); document.write("<OPTION value=3>" + paramValue + "</OPTION>");
} catch(err) { } catch(err) {
} }