Skip to content
Permalink
Browse files

added Chrome app source

  • Loading branch information
pakastin committed Sep 8, 2015
1 parent 34ce054 commit 17559c4d6144fcff03058f122248635393c8fb3f
@@ -0,0 +1,3 @@
chrome.app.runtime.onLaunched.addListener(function () {
chrome.app.window.create('window.html')
})
BIN +11.4 KB chrome/icon128.png
Binary file not shown.
BIN +669 Bytes chrome/icon16.png
Binary file not shown.
BIN +2.57 KB chrome/icon48.png
Binary file not shown.
@@ -0,0 +1,24 @@
{
"app": {
"background": {
"scripts": ["background.js"]
}
},
"manifest_version": 2,
"name": "HTML5 Deck of Cards",
"version": "0.0.1",

"description": "Pure vanilla JS (+ CSS3) – no dependencies.",
"icons": {
"16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png"
},

"author": "Juha Lindstedt",
"short_name": "deck-of-cards",

"permissions": [
"webview"
]
}
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<title>HTML5 Deck of Cards</title>
<style>
body {
background-color: #000;
}
webview {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<webview id="webview" src="https://deck-of-cards.js.org" partition="persist:deck-of-cards"></webview>
</body>
</html>

3 comments on commit 17559c4

@sooei

This comment has been minimized.

Copy link

sooei replied Sep 10, 2015

Update

@sooei

This comment has been minimized.

Copy link

sooei replied Sep 10, 2015

@pakastin

This comment has been minimized.

Copy link
Member Author

pakastin replied Sep 10, 2015

?

Please sign in to comment.
You can’t perform that action at this time.