Skip to content

Commit

Permalink
Do not mix function definition styles
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Sep 6, 2016
1 parent 2482cbd commit 608c9c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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 });
Expand Down

0 comments on commit 608c9c2

Please sign in to comment.