Only display ‘Inspect Element’ item in dev mode

This commit is contained in:
Nathan Sobo
2014-09-29 16:56:14 -06:00
parent 740778e129
commit ff76e36f7d

View File

@@ -27,6 +27,7 @@ class ContextMenuManager
@add '.workspace': [{
label: 'Inspect Element'
command: 'application:inspect'
devMode: true
created: (event) ->
{pageX, pageY} = event
@commandOptions = {x: pageX, y: pageY}