src/aria/html/controllers/Suggestions.js
function PromisedHandler () {
        this.getSuggestions = function (entry, callback) {
            this.pendingSuggestion = {
                entry : entry,
                callback : callback
            };
        };
        this.getAllSuggestions = function (callback) {
            this.pendingSuggestion = {
                // there's no entry, in case you didn't notice
                callback : callback
            };
        };
        this.$dispose = Aria.empty;
    }
function PromisedHandler () {
        this.getSuggestions = function (entry, callback) {
            this.pendingSuggestion = {
                entry : entry,
                callback : callback
            };
        };
        this.getAllSuggestions = function (callback) {
            this.pendingSuggestion = {
                // there's no entry, in case you didn't notice
                callback : callback
            };
        };
        this.$dispose = Aria.empty;
    }
function PromisedHandler ( ) { this . getSuggestions = function ( entry , callback ) { this . pendingSuggestion = { entry : entry , callback : callback } ; } ; this . getAllSuggestions = function ( callback ) { this . pendingSuggestion = { // there's no entry, in case you didn't notice callback : callback } ; } ; this . $dispose = Aria . empty ; }
Mock for the resources handler. This is needed because loadResourcesHandler is called synchronously. This handler
has only methods to get suggestions. These methods queue the latest suggestValue in order to replay it when the correct
resources handler is loaded.
@private
Mock for the resources handler . This is needed because loadResourcesHandler is called synchronously . This handler has only methods to get suggestions . These methods queue the latest suggestValue in order to replay it when the correct resources handler is loaded .