Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (16 sloc) 427 Bytes
var entryToLoad = null;
function init(launchData) {
var fileEntry = null
if (launchData && launchData['items'] && launchData['items'].length > 0) {
entryToLoad = launchData['items'][0]['entry']
}
var options = {
frame: 'chrome',
minWidth: 400,
minHeight: 400,
width: 700,
height: 700
};
chrome.app.window.create('index.html', options);
}
chrome.app.runtime.onLaunched.addListener(init);