Do not mix function definition styles

pull/1/head
Alex Beregszaszi 8 years ago
parent 2482cbdf8b
commit 608c9c2a2a
  1. 4
      src/app.js

@ -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 });

Loading…
Cancel
Save