comply with linter

pull/1/head
Iuri Matias 7 years ago
parent 0a92ea29c3
commit b28eb6222a
  1. 2
      src/app.js
  2. 8
      src/app/compiler/compiler-imports.js

@ -204,7 +204,7 @@ function run () {
handleImports.import(url,
(loadingMsg) => {
$('#output').append($('<div/>').append($('<pre/>').text(loadingMsg)))
}
},
(error, content, cleanUrl, type, url) => {
if (!error) {
filesProviders[type].addReadOnly(cleanUrl, content, url)

@ -12,7 +12,8 @@ module.exports = {
headers: {
'User-Agent': 'Remix'
}
}, (err, r, data) => {
},
(err, r, data) => {
if (err) {
return cb(err || 'Unknown transport error')
}
@ -21,7 +22,7 @@ module.exports = {
} else {
cb('Content not received')
}
});
})
},
handleSwarmImport: function (url, cb) {
@ -40,7 +41,8 @@ module.exports = {
headers: {
'User-Agent': 'Remix'
}
}, (err, r, data) => {
},
(err, r, data) => {
if (err) {
return cb(err || 'Unknown transport error')
}

Loading…
Cancel
Save