|
|
|
@ -201,14 +201,18 @@ function run () { |
|
|
|
|
if (provider && provider.exists(url)) { |
|
|
|
|
return provider.get(url, cb) |
|
|
|
|
} |
|
|
|
|
handleImports.import(url, (error, content, cleanUrl, type, url) => { |
|
|
|
|
if (!error) { |
|
|
|
|
filesProviders[type].addReadOnly(cleanUrl, content, url) |
|
|
|
|
cb(null, content) |
|
|
|
|
} else { |
|
|
|
|
cb(error) |
|
|
|
|
handleImports.import(url,
|
|
|
|
|
(loadingMsg) => { |
|
|
|
|
$('#output').append($('<div/>').append($('<pre/>').text(loadingMsg))) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
(error, content, cleanUrl, type, url) => { |
|
|
|
|
if (!error) { |
|
|
|
|
filesProviders[type].addReadOnly(cleanUrl, content, url) |
|
|
|
|
cb(null, content) |
|
|
|
|
} else { |
|
|
|
|
cb(error) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
var offsetToLineColumnConverter = new OffsetToLineColumnConverter(compiler.event) |
|
|
|
|
|
|
|
|
|