OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2014 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
| 7 'use strict'; |
| 8 |
7 function onLaunched(launchData) { | 9 function onLaunched(launchData) { |
8 chrome.app.window.create('index.html', { | 10 chrome.app.window.create('index.html', { |
9 width: 640, | 11 width: 640, |
10 height: 800, | 12 height: 800, |
11 }); | 13 }); |
12 } | 14 } |
13 | 15 |
14 chrome.app.runtime.onLaunched.addListener(onLaunched); | 16 chrome.app.runtime.onLaunched.addListener(onLaunched); |
OLD | NEW |