Skip to content

Commit

Permalink
Fixing remote usage (#7)
Browse files Browse the repository at this point in the history
* Fixing remote usage

* Fix remote usage

* Fixed remote usage
  • Loading branch information
adam-lynch authored Jan 17, 2017
1 parent 16fae0f commit b6f62c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 05-BuildingARealDesktopApp/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const marked = require('marked');
const remote = require('remote');
const remote = require('electron').remote; // fixed incorrect usage from book
const dialog = remote.require('dialog');
const fs = require('fs');
const shell = require('electron').shell;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const marked = require('marked');
const remote = require('remote');
const remote = require('electron').remote; // fixed incorrect usage from book
const dialog = remote.require('dialog');
const fs = require('fs');
const shell = require('electron').shell;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const marked = require('marked');
const remote = require('remote');
const remote = require('electron').remote; // fixed incorrect usage from book
const dialog = remote.require('dialog');
const fs = require('fs');
const shell = require('electron').shell;
Expand Down

0 comments on commit b6f62c4

Please sign in to comment.