Skip to content

Commit

Permalink
remove deprected electron code
Browse files Browse the repository at this point in the history
  • Loading branch information
jwu committed May 30, 2016
1 parent 97ae12a commit 563d6fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lib/spawn-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if (cc.sys.platform === cc.sys.EDITOR_CORE) {
var Ipc = require('ipc');
var Path = require('path');
var Url = require('url');
var BrowserWindow = require('browser-window');
var Electron = require('electron');

var spawnWorker = function (title, scriptUrl, debug) {
describe(title, function () {
Expand Down Expand Up @@ -32,7 +32,7 @@ if (cc.sys.platform === cc.sys.EDITOR_CORE) {
done();
});

win = new BrowserWindow({
win = new Electron.BrowserWindow({
title: title,
width: 400,
height: 400,
Expand Down

0 comments on commit 563d6fe

Please sign in to comment.