Skip to content

Commit

Permalink
Clean web_accessible_resources list, inject material-freebox-os into …
Browse files Browse the repository at this point in the history
…page
  • Loading branch information
quentin-st committed Apr 23, 2016
1 parent 5019364 commit 841a7f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion data/js/injector.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
getDeps: function() {
return {
js: [
'data/js/material-freebox-os.js',
'data/js/script.js'
],
css: [
Expand Down Expand Up @@ -68,7 +69,6 @@
applyWallpaper: function() {
// Retrieve setting
chrome.storage.local.get('wallpaper', function(data) {
alert(data['wallpaper']);
var wallpaperUri = data['wallpaper'];
if (wallpaperUri === undefined)
wallpaperUri = MaterialFreeboxOS.wallpaper.defaultWallpaper.image;
Expand Down
7 changes: 2 additions & 5 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,11 @@
}
],
"web_accessible_resources": [
"data/js/content-script.js",
"data/js/material-freebox-os.js",
"data/js/script.js",

"data/img/wallpaper*.jpg",

"data/css/style.css",

"data/3d/css/materialdesignicons.min.css",
"data/3d/fonts/*"
"data/css/style.css"
]
}

0 comments on commit 841a7f3

Please sign in to comment.