Commit b28eb622 authored by Iuri Matias's avatar Iuri Matias

comply with linter

parent 0a92ea29
......@@ -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')
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment