Permalink
Browse files

Explicitly qualify constants in BasicObjects

  • Loading branch information...
1 parent c1fcabb commit d3078b540ed154b6ea245de40e8de8bba642cd02 @jeremy jeremy committed Jun 8, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/prototype_helper.rb
@@ -1176,7 +1176,7 @@ def reload(options_for_replace = {})
class JavaScriptVariableProxy < JavaScriptProxy #:nodoc:
def initialize(generator, variable)
- @variable = ActiveSupport::JSON::Variable.new(variable)
+ @variable = ::ActiveSupport::JSON::Variable.new(variable)
@empty = true # only record lines if we have to. gets rid of unnecessary linebreaks
super(generator)
end

0 comments on commit d3078b5

Please sign in to comment.