Skip to content

Commit ccc1ee6

Browse files
committed
added ChromeApp
1 parent a500085 commit ccc1ee6

14 files changed

Lines changed: 88 additions & 10 deletions

File tree

‎ChromeApp.zip‎

9.79 KB
Binary file not shown.

‎ChromeApp/assets/icon128.png‎

83.2 KB
Loading

‎ChromeApp/background.js‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
chrome.app.runtime.onLaunched.addListener(function(launchData) {
2+
chrome.app.window.create(
3+
'index.html',
4+
{
5+
id: 'mainWindow',
6+
bounds: {width: 980, height: 720}
7+
}
8+
);
9+
});

‎ChromeApp/index.html‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Codelf</title>
5+
<link rel="stylesheet" href="styles.css">
6+
</head>
7+
<body>
8+
<webview id="Codelf" src="http://unbug.github.io/codelf/" style="width:99%; height: 99%"></webview>
9+
</body>
10+
</html>

‎ChromeApp/main.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
window.onload = function() {
2+
console.log('https://github.com/unbug/codelf');
3+
};

‎ChromeApp/manifest.json‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"manifest_version": 2,
3+
"name": "Codelf-Best GitHub Stars organizer",
4+
"short_name": "Codelf-Best GitHub Stars organizer",
5+
"description": "Organize your GitHub stars and repositories.Search over projects from GitHub to find real-world usage variable names.",
6+
"version": "1.3.1",
7+
"minimum_chrome_version": "38",
8+
9+
"icons": {
10+
"128": "assets/icon128.png"
11+
},
12+
"permissions": ["webview"],
13+
"app": {
14+
"background": {
15+
"scripts": ["background.js"]
16+
}
17+
}
18+
}

‎ChromeApp/styles.css‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
html,body{
2+
width: 100%;
3+
height: 100%;
4+
-webkit-font-smoothing: antialiased;
5+
}

‎cache.manifest‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# Build: 20160122083112
2+
# Build: 20160123024922
33

44
CACHE:
55
resources/fonts/Dressedless_Three.svg

‎index.html‎

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Codelf",
33
"version": "0.0.3",
4-
"description": "Search over projects from Github, Bitbucket, Google Code, Codeplex, Sourceforge, Fedora Project to find real-world usage variable names. ",
4+
"description": "Organize your GitHub stars and repositories.Search over projects from GitHub, Bitbucket, Google Code, Codeplex, Sourceforge, Fedora Project to find real-world usage variable names.",
55
"dependencies": {},
66
"devDependencies": {
77
"browser-sync": "^2.2.4",

0 commit comments

Comments
 (0)