From 224d3aef3eaa94d1b3260a414ed4d72376aa6e95 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 7 Sep 2016 11:21:13 -0700 Subject: [PATCH] Mark detach option for 2.0 removal --- atom/browser/api/atom_api_web_contents.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index f67926978d1..cfb1e7f6828 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -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";