Skip to content
Browse files

App updates

  • Loading branch information...
1 parent 4eb5bf0 commit b1cab730238ac98a70b04401d2e53266a65b8812 @ebidel ebidel committed Aug 31, 2012
Showing with 9 additions and 16 deletions.
  1. +3 −6 FinalProject/js/background.js
  2. +6 −10 FinalProject/manifest.json
View
9 FinalProject/js/background.js
@@ -1,12 +1,9 @@
-var exp = chrome.experimental;
-
-exp.app.onLaunched.addListener(function() {
- chrome.appWindow.create('../index.html', {
+chrome.app.runtime.onLaunched.addListener(function(launchData) {
+ chrome.app.window.create('../index.html', {
width: 900,
height: 700,
left: 100,
- top: 100,
- type: 'shell'
+ top: 100
}, function(win) {
// win is DOMWindow.
});
View
16 FinalProject/manifest.json
@@ -1,25 +1,21 @@
{
"name": "wReader",
- "version": "0.0.1",
+ "version": "0.0.2",
"manifest_version": 2,
+ "minimum_chrome_version": "23",
"app": {
"background": {
"scripts": ["js/background.js"]
}
},
"permissions": [
"experimental",
- "appWindow",
"*://blog.chromium.org/feeds/*"
],
"intents": {
- "http://webintents.org/view": [
- {
- "type": ["application/rss+xml", "application/atom+xml"],
- "href": "/index.html",
- "title": "wReader",
- "disposition" : "inline"
- }
- ]
+ "http://webintents.org/view": [{
+ "type": ["application/rss+xml", "application/atom+xml"],
+ "title": "wReader"
+ }]
}
}

0 comments on commit b1cab73

Please sign in to comment.
Something went wrong with that request. Please try again.