Throw error when BrowserWindow is created before app is ready
This commit is contained in:
parent
35e5c2172f
commit
25f69df341
5 changed files with 20 additions and 5 deletions
|
@ -31,7 +31,8 @@ class WebContents;
|
|||
class Window : public mate::EventEmitter,
|
||||
public NativeWindowObserver {
|
||||
public:
|
||||
static mate::Wrappable* New(const mate::Dictionary& options);
|
||||
static mate::Wrappable* New(v8::Isolate* isolate,
|
||||
const mate::Dictionary& options);
|
||||
|
||||
static void BuildPrototype(v8::Isolate* isolate,
|
||||
v8::Handle<v8::ObjectTemplate> prototype);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue