Browse files

better debugging

  • Loading branch information...
1 parent bf8bb19 commit 4af680195fccc68ba57862ab551ff2dbaf704949 @maccman committed Jul 20, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/bowline/desktop/bridge.rb
View
4 lib/bowline/desktop/bridge.rb
@@ -67,15 +67,15 @@ def callback(result)
end
def invoke
+ debug "JS invoking: #{klass}.#{method_name}(#{args.join(',')})"
+
if klass == "_window"
object = window
else
# TODO - security concerns with constantize
object = klass.constantize
end
- debug "JS invoking: #{klass}.#{method_name}(#{args.join(',')})"
-
if object.respond_to?(:js_exposed?) &&
object.js_exposed?(method_name)

0 comments on commit 4af6801

Please sign in to comment.