This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,154 changed files
with
55,592 additions
and
18,365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/perl | ||
#!/usr/bin/env perl | ||
|
||
use strict; | ||
use warnings; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "jbrowse", | ||
"version": "1.12.2-SNAPSHOT", | ||
"dependencies": { | ||
"dojo": "1.9.8", | ||
"dojox": "1.9.8", | ||
"dijit": "1.9.8", | ||
"util": "dojo/util#1.9.8", | ||
"put-selector": "0.3.6", | ||
"dgrid": "0.3.17", | ||
"xstyle": "0.3.2", | ||
"jDataView": "rbuels/jDataView", | ||
"jszlib": "rbuels/jszlib", | ||
"FileSaver": "dkasenberg/FileSaver.js", | ||
"json-schema": "kriszyp/json-schema#0.2.1", | ||
"lazyload": "rbuels/lazyload#amd", | ||
"dbind": "rbuels/dbind" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,44 @@ | ||
var app = require('app'); | ||
var BrowserWindow = require('browser-window'); | ||
var Menu = require('menu'); | ||
const electron = require('electron'); | ||
const app = electron.app; | ||
const BrowserWindow = electron.BrowserWindow; | ||
const Menu = electron.Menu; | ||
|
||
var menu = require('./menu'); | ||
|
||
var mainWindow; | ||
// Keep a global reference of the window object, if you don't, the window will | ||
// be closed automatically when the JavaScript object is garbage collected. | ||
let mainWindow; | ||
|
||
app.on('window-all-closed', function () { | ||
app.quit(); | ||
|
||
|
||
// This method will be called when Electron has finished | ||
// initialization and is ready to create browser windows. | ||
// Some APIs can only be used after this event occurs. | ||
app.on('ready', function() { | ||
// Create the browser window. | ||
mainWindow = new BrowserWindow({ | ||
center: true, | ||
title: 'JBrowseDesktop', | ||
width: 1024, | ||
height: 768 | ||
}); | ||
|
||
// and load the index.html of the app. | ||
mainWindow.loadURL('file://' + require('path').resolve(__dirname, '..', 'index.html')); | ||
// Emitted when the window is closed. | ||
Menu.setApplicationMenu(Menu.buildFromTemplate(menu)); | ||
|
||
mainWindow.on('closed', function () { | ||
// Dereference the window object, usually you would store windows | ||
// in an array if your app supports multi windows, this is the time | ||
// when you should delete the corresponding element. | ||
mainWindow = null; | ||
}); | ||
}); | ||
|
||
app.on('ready', function () { | ||
mainWindow = new BrowserWindow({ | ||
center: true, | ||
title: 'JBrowseDesktop', | ||
width: 1024, | ||
height: 768 | ||
}); | ||
|
||
Menu.setApplicationMenu(Menu.buildFromTemplate(menu)); | ||
mainWindow.loadURL('file://' + require('path').resolve(__dirname, '..', 'index.html')); | ||
mainWindow.on('closed', function () { | ||
mainWindow = null; | ||
}); | ||
// Quit when all windows are closed. | ||
app.on('window-all-closed', function () { | ||
app.quit(); | ||
}); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.