From ff3f779629ef0d987642222ff2c74271b029e996 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sat, 30 Jan 2010 16:04:58 -0600 Subject: Unused JAVASCRIPT_PATH const --- actionpack/lib/action_view/helpers/javascript_helper.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'actionpack') diff --git a/actionpack/lib/action_view/helpers/javascript_helper.rb b/actionpack/lib/action_view/helpers/javascript_helper.rb index f9249e667d..c84bd2ce96 100644 --- a/actionpack/lib/action_view/helpers/javascript_helper.rb +++ b/actionpack/lib/action_view/helpers/javascript_helper.rb @@ -35,10 +35,6 @@ module ActionView # 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 -- cgit v1.2.3