refactor
Matt Godbolt 11 years ago
parent 8fb8a8ca24
commit 42945b4bb3

@ -186,7 +186,7 @@ function Compiler(domRoot, origFilters) {
function deserialiseState(state) {
try {
var state = $.parseJSON(decodeURIComponent(state));
state = $.parseJSON(decodeURIComponent(state));
if (state.version == 1) {
state.filterAsm = {};
}
@ -217,6 +217,9 @@ function Compiler(domRoot, origFilters) {
compilersByExe[arg.exe] = arg;
$('.compiler').append($('<option value="' + arg.exe + '">' + arg.version + '</option>'));
});
if (window.localStorage['compiler']) {
domRoot.find('.compiler').val(window.localStorage['compiler']);
}
onCompilerChange();
}

@ -174,7 +174,6 @@ function initialise() {
loadFromHash();
});
loadFromHash();
ignoreChanges = false;
}
function getAsmFilters() {

Loading…
Cancel
Save