webogram-i2p/app/js/background.js

20 lines
489 B
JavaScript
Raw Normal View History

2014-01-05 16:07:11 +00:00
/*!
2016-07-05 20:52:39 +00:00
* Webogram v0.5.5 - messaging web application for MTProto
2014-01-05 16:07:11 +00:00
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE
*/
chrome.app.runtime.onLaunched.addListener(function (launchData) {
2014-01-05 16:07:11 +00:00
chrome.app.window.create('../index.html', {
id: 'webogram-chat',
2014-10-01 11:13:50 +00:00
innerBounds: {
2014-05-08 20:06:08 +00:00
width: 1000,
2014-01-05 16:07:11 +00:00
height: 700
},
minWidth: 320,
2014-02-02 19:15:56 +00:00
minHeight: 400,
2014-01-05 16:07:11 +00:00
frame: 'chrome'
})
})