lib/modules/apostrophe-widgets/public/js/user.js
function checkOrGenerateId (data) {
        data = data || {};
        if (!data._id) {
          data._id = apos.utils.generateId();
        }
        return data;
      }
function checkOrGenerateId (data) {
        data = data || {};
        if (!data._id) {
          data._id = apos.utils.generateId();
        }
        return data;
      }
function checkOrGenerateId ( data ) { data = data || { } ; if ( ! data . _id ) { data . _id = apos . utils . generateId ( ) ; } return data ; }
Checks for an id or assign a generated one
Checks for an id or assign a generated one