Commit 608c9c2a authored by Alex Beregszaszi's avatar Alex Beregszaszi

Do not mix function definition styles

parent 2482cbdf
......@@ -475,7 +475,7 @@ var run = function () {
$('#version').text(text);
}
var loadVersion = function (version) {
function loadVersion (version) {
setVersionText('(loading)');
queryParams.update({version: version});
if (window.soljsonReleases !== undefined && window.soljsonReleases[version] !== undefined) {
......@@ -496,7 +496,7 @@ var run = function () {
} else {
compiler.loadVersion(false, url);
}
};
}
document.querySelector('#optimize').addEventListener('change', function () {
queryParams.update({ optimize: document.querySelector('#optimize').checked });
......
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