Fully eliminate debug from imported data (#1556)

FREEBIE
pull/749/head
Scott Nonnenberg 8 years ago committed by GitHub
parent 26bff0db52
commit e2d9d855fb

@ -173,7 +173,8 @@
function importFromJsonString(idb_db, jsonString) {
return new Promise(function(resolve, reject) {
var importObject = JSON.parse(jsonString);
var storeNames = _.without(_.keys(importObject), ['debug']);
delete importObject.debug;
var storeNames = _.keys(importObject);
console.log('Importing to these stores:', storeNames.join(', '));

Loading…
Cancel
Save