tests/webkit_inspector.js
[app.Builder.js] / tests / webkit_inspector.js
index 3387020..f38344c 100644 (file)
@@ -20,14 +20,14 @@ w1.signal.show.connect(function() {
     w1.load_uri("http://www.google.com");
     w1.get_settings().enable_developer_extras = true;
 });
-var ins = w1.get_inspector();
+
 w1.signal.load_finished.connect(function(wv) {
     
-    ins.show();
+    w1.get_inspector().show();
     return true;
 });
 w2 = new WebKit.WebView();
-ins .signal.inspect_web_view.connect(function() {
+w1.get_inspector().signal.inspect_web_view.connect(function() {
     return w2;
 })