src/aria/storage/UserData.js
function setMappedKey (generated, original) {
        if (generated) {
            allKeyMap[original] = generated;
        } else {
            delete allKeyMap[original];
        }

        storage.setAttribute("kMap", privateSerializer.serialize(allKeyMap));
        storage.save("JSONPersist");
    }
function setMappedKey (generated, original) {
        if (generated) {
            allKeyMap[original] = generated;
        } else {
            delete allKeyMap[original];
        }

        storage.setAttribute("kMap", privateSerializer.serialize(allKeyMap));
        storage.save("JSONPersist");
    }
function setMappedKey ( generated , original ) { if ( generated ) { allKeyMap [ original ] = generated ; } else { delete allKeyMap [ original ] ; } storage . setAttribute ( "kMap" , privateSerializer . serialize ( allKeyMap ) ) ; storage . save ( "JSONPersist" ) ; }
Store the newly generated key in the map of keys
@type {String} generated Key generated by the framework, safe to be used with setAttribute. If null, removes the
original key from the map
@type {String} original User defined key, it might contain unsafe characters
Store the newly generated key in the map of keys