Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Unused JAVASCRIPT_PATH const

  • Loading branch information...
commit ff3f779629ef0d987642222ff2c74271b029e996 1 parent ad19241
@josh josh authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 actionpack/lib/action_view/helpers/javascript_helper.rb
View
4 actionpack/lib/action_view/helpers/javascript_helper.rb
@@ -35,10 +35,6 @@ module Helpers
# For documentation on +javascript_include_tag+ see
# ActionView::Helpers::AssetTagHelper.
module JavaScriptHelper
- unless const_defined? :JAVASCRIPT_PATH
- JAVASCRIPT_PATH = File.join(File.dirname(__FILE__), 'javascripts')
- end
-
include PrototypeHelper
# Returns a button with the given +name+ text that'll trigger a JavaScript +function+ using the
Please sign in to comment.
Something went wrong with that request. Please try again.