massautocomplete.js
function ensure_element_id(element) {
        if (!element.id || element.id === '') {
          element.id = config.generate_random_id('ac_element');
          return true;
        }
        return false;
      }
function ensure_element_id(element) {
        if (!element.id || element.id === '') {
          element.id = config.generate_random_id('ac_element');
          return true;
        }
        return false;
      }
function ensure_element_id ( element ) { if ( ! element . id || element . id === '' ) { element . id = config . generate_random_id ( 'ac_element' ) ; return true ; } return false ; }
Make sure an element has id. Return true if id was generated.
Make sure an element has id . Return true if id was generated .