Refactored code to comply with Google Style Guides
This commit refactors JS, MD and Bash files in order to comply with the
Google style guides.
Change-Id: I5bc9a175d2400fa1095ba9eb1c8cff3ebfef4b8f
diff --git a/src/console_inject_start.js b/src/console_inject_start.js
index 4b6a7ba..92ad72b 100644
--- a/src/console_inject_start.js
+++ b/src/console_inject_start.js
@@ -1,11 +1,13 @@
chrome.storage.sync.get(null, function(items) {
if (items.loaddrafts) {
- var startup = JSON.parse(document.querySelector("html").getAttribute("data-startup"));
+ var startup =
+ JSON.parse(document.querySelector('html').getAttribute('data-startup'));
if (items.loaddrafts) {
startup[4][13] = true;
}
- document.querySelector("html").setAttribute("data-startup", JSON.stringify(startup));
+ document.querySelector('html').setAttribute(
+ 'data-startup', JSON.stringify(startup));
}
});