Skip to content

Commit

Permalink
Tidying up
Browse files Browse the repository at this point in the history
  • Loading branch information
Jermolene committed Oct 25, 2015
1 parent a218396 commit 314d251
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@

var gui = require("nw.gui"),
fs = require("fs"),
path = require("path"),
tiddlerWindows = require("../js/tiddler-windows.js"),
savingSupport = require("../js/saving-support.js"),
devTools = require("../js/dev-tools.js");
path = require("path");

// Use the main window as the backstage window
var backstageWindow = gui.Window.get();
// backstageWindow.showDevTools();

var tiddlerWindows = require("../js/tiddler-windows.js"),
savingSupport = require("../js/saving-support.js"),
devTools = require("../js/dev-tools.js");

// Hide the backstage window when we start, and when it is closed
backstageWindow.on("close",function(isQuitting) {
if(!isQuitting) {
Expand All @@ -25,7 +26,6 @@ function showBackstageWindow() {
backstageWindow.show();
}

// Set up the menu bar
var menuBar = new gui.Menu({type:"menubar"});
if(process.platform === "darwin") {
menuBar.createMacBuiltin("TiddlyDesktop");
Expand Down

0 comments on commit 314d251

Please sign in to comment.