diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-07 08:08:22 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-07 08:08:22 +0000 |
commit | 008becb5a26b4549cf958ecf389c37284b4685ba (patch) | |
tree | acc74cc8e9a151398220843d19eb0bc9e4b7a914 /actionpack/lib/action_view/helpers/prototype_helper.rb | |
parent | 607511c1e0937e3248ceb29456e87bb4b6e86765 (diff) | |
download | rails-008becb5a26b4549cf958ecf389c37284b4685ba.tar.gz rails-008becb5a26b4549cf958ecf389c37284b4685ba.tar.bz2 rails-008becb5a26b4549cf958ecf389c37284b4685ba.zip |
Use explicit toplevel namespace for constant reference in AS::BasicObject
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers/prototype_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/prototype_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/prototype_helper.rb b/actionpack/lib/action_view/helpers/prototype_helper.rb index 68e22ff032..d9c980cd0d 100644 --- a/actionpack/lib/action_view/helpers/prototype_helper.rb +++ b/actionpack/lib/action_view/helpers/prototype_helper.rb @@ -1204,7 +1204,7 @@ module ActionView append_enumerable_function!("zip(#{arguments_for_call arguments}") if block function_chain[-1] += ", function(array) {" - yield ActiveSupport::JSON::Variable.new('array') + yield ::ActiveSupport::JSON::Variable.new('array') add_return_statement! @generator << '});' else |