Skip to content

Commit

Permalink
Update formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolalamacchia committed Mar 29, 2020
1 parent 40b37c1 commit 5743124
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"arrowParens": "avoid",
"singleQuote": true
}
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import './style.css'
;(function() {
;(function () {
// Default config
let CONFIG = {
defaultCommand: 'g',
Expand Down Expand Up @@ -447,7 +447,7 @@ import './style.css'
function fetchGist(gistID) {
let xhr = new XMLHttpRequest()
let url = `https://api.github.com/gists/${gistID}`
xhr.onreadystatechange = function() {
xhr.onreadystatechange = function () {
if (xhr.readyState == 4 && xhr.status == 200) {
let files = JSON.parse(xhr.responseText).files
if (files.length > 1) {
Expand Down

0 comments on commit 5743124

Please sign in to comment.