get another version of prettier

This commit is contained in:
Your Name 2019-06-23 22:04:07 -07:00
parent a1bbf9bc81
commit 2206efba0a
5 changed files with 7 additions and 18 deletions

View file

@ -30,9 +30,7 @@ export default class extends utils.mixins(CommonMixin) {
) {
this.log(
`Requesting browser resize for new char dimensions: ` +
`${incoming.width}x${incoming.height} (old: ${this.char.width}x${
this.char.height
})`
`${incoming.width}x${incoming.height} (old: ${this.char.width}x${this.char.height})`
);
this.char = _.clone(incoming);
this.resizeBrowserWindow();

View file

@ -142,9 +142,7 @@ export default class extends utils.mixins(CommonMixin, TTYCommandsMixin) {
// until it knows its internally represented ID.
_newTabHandler(_request, sender, sendResponse) {
this.log(
`Tab ${sender.tab.id} (${
sender.tab.title
}) registered with background process`
`Tab ${sender.tab.id} (${sender.tab.title}) registered with background process`
);
// Send the tab back to itself, such that it can be enlightened unto its own nature
sendResponse(sender.tab);
@ -276,9 +274,7 @@ export default class extends utils.mixins(CommonMixin, TTYCommandsMixin) {
}
if (this.currentTab().channel === undefined) {
this.log(
`Active tab ${
this.active_tab_id
} does not have a channel, so not requesting a frame`
`Active tab ${this.active_tab_id} does not have a channel, so not requesting a frame`
);
return false;
}

View file

@ -105,9 +105,8 @@ export default class extends utils.mixins(CommonMixin, TabCommandsMixin) {
}
if (native_status === "complete" && !this._isConnected()) {
this.log(
`Automatically reloading tab ${
this.id
} that has loaded but not connected ` + "to the webextension"
`Automatically reloading tab ${this.id} that has loaded but not connected ` +
"to the webextension"
);
this.reload();
this._reload_count++;

View file

@ -175,9 +175,7 @@ export default class extends utils.mixins(CommonMixin) {
dom_rect.height != this._pre_calculated_char.height
) {
this.log(
`Using char dims ${this._pre_calculated_char.width}x${
this._pre_calculated_char.height
}`
`Using char dims ${this._pre_calculated_char.width}x${this._pre_calculated_char.height}`
);
this.log(`Actual char dims ${dom_rect.width}x${dom_rect.height}`);
}

View file

@ -179,9 +179,7 @@ export default MixinBase =>
_getFavicon() {
let el = document.querySelector("link[rel*='icon']");
if (el) {
return `<link rel="shortcut icon" type = "image/x-icon" href="${
el.href
}">`;
return `<link rel="shortcut icon" type = "image/x-icon" href="${el.href}">`;
} else {
return "";
}