devtools-contextmenu
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -8,3 +8,8 @@ /* This Source Code Form is subject to the terms of the Mozilla Public | ||
function inToolbox() { | ||
return !window || window.parent.document.documentURI == "about:devtools-toolbox"; | ||
try { | ||
return window.parent.document.documentURI == "about:devtools-toolbox"; | ||
} catch (e) { | ||
// If `window` is not available, it's very likely that we are in the toolbox. | ||
return true; | ||
} | ||
} | ||
@@ -11,0 +16,0 @@ |
{ | ||
"name": "devtools-contextmenu", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "DevTools Contextmenu", | ||
@@ -12,4 +12,4 @@ "main": "menu.js", | ||
"dependencies": { | ||
"devtools-modules": "^0.0.39" | ||
"devtools-modules": "^0.0.40" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
6477
201
+ Addeddevtools-modules@0.0.40(transitive)
- Removeddevtools-modules@0.0.39(transitive)
Updateddevtools-modules@^0.0.40