client.js
function load(query, callback) {
      if (!query.length) return callback();

      pagelet.complete(query, function complete(err, results) {
        if (err) return callback();

        callback(results);
      });
    }
function load(query, callback) {
      if (!query.length) return callback();

      pagelet.complete(query, function complete(err, results) {
        if (err) return callback();

        callback(results);
      });
    }
function load ( query , callback ) { if ( ! query . length ) return callback ( ) ; pagelet . complete ( query , function complete ( err , results ) { if ( err ) return callback ( ) ; callback ( results ) ; } ) ; }
Load the autocomplete results through the Pagelet's RPC methods.

@param {String} query Thing that we search for
@param {Function} callback Callback
@api private
Load the autocomplete results through the Pagelet s RPC methods .