Browse Source

Fix js lint warnings

Cheng Zhao 9 years ago
parent
commit
9d82041923
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/renderer/inspector.js

+ 1 - 1
lib/renderer/inspector.js

@@ -1,6 +1,6 @@
 window.onload = function () {
   // Make sure |window.chrome| is defined for devtools extensions.
-  hijackSetInjectedScript(InspectorFrontendHost)
+  hijackSetInjectedScript(window.InspectorFrontendHost)
 
   // Use menu API to show context menu.
   window.InspectorFrontendHost.showContextMenuAtPoint = createMenu