Create bootstrap script for atom in single window mode

This commit is contained in:
Kevin Sawicki
2012-06-08 14:58:25 -07:00
parent d29926304a
commit 57c18e784e
3 changed files with 4 additions and 3 deletions

View File

@@ -95,7 +95,7 @@ void ClientHandler::OnLoadStart(CefRefPtr<CefBrowser> browser,
atom->SetValue("loadPath", loadPath, V8_PROPERTY_ATTRIBUTE_NONE);
CefRefPtr<CefV8Value> bootstrapScript = CefV8Value::CreateString(
"window-bootstrap");
"single-window-bootstrap");
global->SetValue("$bootstrapScript", bootstrapScript,
V8_PROPERTY_ATTRIBUTE_NONE);