From 0c3ad527e3522021b62fe528be6e0e3a6f6739cd Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 16 Sep 2016 13:09:06 -0700 Subject: [PATCH] initialize -> require --- atom/browser/api/atom_api_power_monitor.cc | 2 +- atom/browser/api/atom_api_screen.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/atom/browser/api/atom_api_power_monitor.cc b/atom/browser/api/atom_api_power_monitor.cc index d8632fae9cc..429d3fc26e8 100644 --- a/atom/browser/api/atom_api_power_monitor.cc +++ b/atom/browser/api/atom_api_power_monitor.cc @@ -44,7 +44,7 @@ v8::Local PowerMonitor::Create(v8::Isolate* isolate) { if (!Browser::Get()->is_ready()) { isolate->ThrowException(v8::Exception::Error(mate::StringToV8( isolate, - "Cannot initialize \"powerMonitor\" module before app is ready"))); + "Cannot require \"powerMonitor\" module before app is ready"))); return v8::Null(isolate); } diff --git a/atom/browser/api/atom_api_screen.cc b/atom/browser/api/atom_api_screen.cc index dfdd3450ebd..c45e20da4c2 100644 --- a/atom/browser/api/atom_api_screen.cc +++ b/atom/browser/api/atom_api_screen.cc @@ -97,7 +97,7 @@ v8::Local Screen::Create(v8::Isolate* isolate) { if (!Browser::Get()->is_ready()) { isolate->ThrowException(v8::Exception::Error(mate::StringToV8( isolate, - "Cannot initialize \"screen\" module before app is ready"))); + "Cannot require \"screen\" module before app is ready"))); return v8::Null(isolate); }