Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
yamadashy committed Jan 21, 2019
1 parent f0c842a commit 6651a75
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 39 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*.*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
max_line_length = null
40 changes: 19 additions & 21 deletions app/manifest.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
{
"manifest_version": 2,
"name": "__MSG_appName__",
"short_name": "__MSG_appShortName__",
"description": "__MSG_appDescription__",
"version": "1.0.0",
"default_locale": "en",
"author": "Kazuki Yamada",
"icons": {
"16": "images/icon-16.png",
"48": "images/icon-48.png",
"128": "images/icon-128.png"
},
"minimum_chrome_version": "49.0",
"content_scripts": [
{
"matches": ["https://docs.google.com/spreadsheets/*/*"],
"js": ["./scripts/content.js"],
"run_at": "document_idle"
}
]
}
"manifest_version": 2,
"name": "__MSG_appName__",
"short_name": "__MSG_appShortName__",
"description": "__MSG_appDescription__",
"version": "1.0.0",
"default_locale": "en",
"author": "Kazuki Yamada",
"icons": {
"16": "images/icon-16.png",
"48": "images/icon-48.png",
"128": "images/icon-128.png"
},
"minimum_chrome_version": "49.0",
"content_scripts": [{
"matches": ["https://docs.google.com/spreadsheets/*/*"],
"js": ["./scripts/content.js"],
"run_at": "document_idle"
}]
}
8 changes: 4 additions & 4 deletions app/scripts/content.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(() => {
const gridBottomBar = document.getElementById("grid-bottom-bar");
const editorContainer = document.getElementById("docs-editor-container");
gridBottomBar.style.zIndex = 0;
document.body.insertBefore(gridBottomBar, editorContainer);
const gridBottomBar = document.getElementById("grid-bottom-bar");
const editorContainer = document.getElementById("docs-editor-container");
gridBottomBar.style.zIndex = 0;
document.body.insertBefore(gridBottomBar, editorContainer);
})();
27 changes: 13 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
"name": "sheets-tabs-on-top",
"version": "1.0.0",
"description": "Move Google Sheets tabs on top",
"scripts": {
"dev": "webextension-toolbox dev",
"build": "webextension-toolbox build"
},
"license": "MIT",
"dependencies": {
},
"devDependencies": {
"webextension-toolbox": "latest"
}
}
"name": "sheets-tabs-on-top",
"version": "1.0.0",
"description": "Move Google Sheets tabs on top",
"scripts": {
"dev": "webextension-toolbox dev",
"build": "webextension-toolbox build"
},
"license": "MIT",
"dependencies": {},
"devDependencies": {
"webextension-toolbox": "latest"
}
}

0 comments on commit 6651a75

Please sign in to comment.