Permalink
Browse files

and more

  • Loading branch information...
rjspotter committed Feb 4, 2012
1 parent 44f1ec5 commit ffd17ea315da94e7b8f7ef74ea05a83522ed168d
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/action_view/helpers/prototype_helper.rb
@@ -211,6 +211,11 @@ def include_helpers_from_context
# PrototypeHelper#update_page to wrap the generated JavaScript in a
# <tt>\<script></tt> tag.
module GeneratorMethods
+
+ unless const_defined? :JQUERY_VAR
+ JQUERY_VAR = 'jQuery'
+ end
+
def to_s #:nodoc:
(@lines * $/).tap do |javascript|
if ActionView::Base.debug_rjs

0 comments on commit ffd17ea

Please sign in to comment.