mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
Fixed local storage for HCJQ framework challenges
This commit is contained in:
parent
f3410a3a95
commit
d42afc8f10
@ -253,13 +253,14 @@ var allSeeds = '';
|
||||
editorValue = (codeStorage.isAlive())? codeStorage.getEditorValue() : allSeeds;
|
||||
|
||||
editor.setValue(editorValue);
|
||||
editor.refresh();
|
||||
|
||||
var resetEditor = function resetEditor() {
|
||||
editor.setValue(allSeeds);
|
||||
updatePreview();
|
||||
codeStorage.updateStorage();
|
||||
};
|
||||
|
||||
/*
|
||||
var challengeSeed = challengeSeed || null;
|
||||
var allSeeds = '';
|
||||
(function() {
|
||||
@ -273,3 +274,4 @@ var allSeeds = '';
|
||||
}, 200);
|
||||
})();
|
||||
})();
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user