mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Mark detach option for 2.0 removal
This commit is contained in:
@@ -948,6 +948,8 @@ void WebContents::OpenDevTools(mate::Arguments* args) {
|
||||
mate::Dictionary options;
|
||||
if (args->GetNext(&options)) {
|
||||
options.Get("mode", &state);
|
||||
|
||||
// TODO(kevinsawicki) Remove in 2.0
|
||||
options.Get("detach", &detach);
|
||||
if (state.empty() && detach)
|
||||
state = "detach";
|
||||
|
||||
Reference in New Issue
Block a user