Navigation Menu

Skip to content

Commit

Permalink
Use explicit toplevel namespace for constant reference in AS::BasicOb…
Browse files Browse the repository at this point in the history
…ject

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Jan 7, 2008
1 parent 607511c commit 008becb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/helpers/prototype_helper.rb
Expand Up @@ -1204,7 +1204,7 @@ def zip(variable, *arguments, &block)
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
Expand Down

0 comments on commit 008becb

Please sign in to comment.