Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

better debugging

  • Loading branch information...
commit 4af680195fccc68ba57862ab551ff2dbaf704949 1 parent bf8bb19
Alex MacCaw authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/bowline/desktop/bridge.rb
4 lib/bowline/desktop/bridge.rb
View
@@ -67,6 +67,8 @@ def callback(result)
end
def invoke
+ debug "JS invoking: #{klass}.#{method_name}(#{args.join(',')})"
+
if klass == "_window"
object = window
else
@@ -74,8 +76,6 @@ def invoke
object = klass.constantize
end
- debug "JS invoking: #{klass}.#{method_name}(#{args.join(',')})"
-
if object.respond_to?(:js_exposed?) &&
object.js_exposed?(method_name)
Please sign in to comment.
Something went wrong with that request. Please try again.