Sfoglia il codice sorgente

Added import functionality of Arduino code (without disturbing whitespaces and empty lines)

dds
Manfred Müller-Späth 9 anni fa
parent
commit
90aad62e30
1 ha cambiato i file con 9 aggiunte e 1 eliminazioni
  1. +9
    -1
      gui/red/storage.js

+ 9
- 1
gui/red/storage.js Vedi File

@@ -18,8 +18,16 @@ RED.storage = (function() {
if (data) RED.nodes.import(data, false);
}
}
function clear() {
// TOOD: use setTimeout to limit the rate of changes?
if (localStorage) {
localStorage.removeItem("audio_library_guitool");
//console.log("localStorage write");
}
}
return {
update: update,
load: load
load: load,
clear: clear
}
})();

Loading…
Annulla
Salva