Skip to content

Commit

Permalink
Merge remote branch 'dan/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
rdp committed Feb 15, 2010
2 parents 54d0b6b + efc2e73 commit 817de41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/html_view/lib/html_view.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def setup_javascript_listeners
js << "this.Controller = {"
(controller.methods - Object.new.methods).each do |method_name|
js << " #{method_name.gsub(/_(\w)/) { |a| $1.upcase}}: function() {"
js << " alert(Array.prototype.slice.call(arguments).join(\", \"));"
js << " rubyCall(\"#{method_name}\", Array.prototype.slice.call(arguments));"
js << " },"
end
Expand All @@ -46,4 +45,4 @@ def setup_javascript_listeners
js.join("\n")
end
end
end
end

0 comments on commit 817de41

Please sign in to comment.