src/aria/html/controllers/Suggestions.js
function resourcesHandlerLoaded (args) {
        var scope = args.scope, handler = Aria.getClassInstance(args.classpath);
        var pendingSuggestion = scope._resourcesHandler.pendingSuggestion;

        scope._resourcesHandler = handler;
        scope._autoDisposeHandler = true;

        if (pendingSuggestion) {
            if (pendingSuggestion.entry) {
                handler.getSuggestions(pendingSuggestion.entry, pendingSuggestion.callback);
            } else {
                handler.getAllSuggestions(pendingSuggestion.callback);
            }
        }
    }
function resourcesHandlerLoaded (args) {
        var scope = args.scope, handler = Aria.getClassInstance(args.classpath);
        var pendingSuggestion = scope._resourcesHandler.pendingSuggestion;

        scope._resourcesHandler = handler;
        scope._autoDisposeHandler = true;

        if (pendingSuggestion) {
            if (pendingSuggestion.entry) {
                handler.getSuggestions(pendingSuggestion.entry, pendingSuggestion.callback);
            } else {
                handler.getAllSuggestions(pendingSuggestion.callback);
            }
        }
    }
function resourcesHandlerLoaded ( args ) { var scope = args . scope , handler = Aria . getClassInstance ( args . classpath ) ; var pendingSuggestion = scope . _resourcesHandler . pendingSuggestion ; scope . _resourcesHandler = handler ; scope . _autoDisposeHandler = true ; if ( pendingSuggestion ) { if ( pendingSuggestion . entry ) { handler . getSuggestions ( pendingSuggestion . entry , pendingSuggestion . callback ) ; } else { handler . getAllSuggestions ( pendingSuggestion . callback ) ; } } }
Callback for Aria.load. Instantiate the ResourcesHandler class and set it on Suggestions controller
@param {Object} args Callback arguments
@private
Callback for Aria . load . Instantiate the ResourcesHandler class and set it on Suggestions controller