added document_id for sync identification

This commit is contained in:
azivner
2017-10-28 13:19:12 -04:00
parent c5f80051ae
commit 724f4b43b7
6 changed files with 32 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ function newNoteId() {
const ALPHA_NUMERIC = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
function randomString(length, chars) {
function randomString(length) {
let result = '';
for (let i = length; i > 0; --i) {