daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Uncaught TypeError: Cannot read property 'onLaunched' of undefined
  2.    
  3. {
  4. "name": "Hello World!",
  5. "description": "My first packaged app.",
  6. "manifest_version": 2,
  7.  
  8. "version": "0.1",
  9. "app": {
  10.     "background": {
  11.         "scripts": ["background.js"]
  12.     }
  13. },
  14. "icons": {
  15.     "16": "calculator-16.png",
  16.     "128": "calculator-128.png"
  17. }
  18.    
  19. chrome.app.runtime.onLaunched.addListener(function() {
  20.     chrome.app.window.create('window.html', {
  21.         'width': 400,
  22.         'height': 500
  23.     });
  24. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top