Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
17 lines
360 B
JavaScript
Executable file
17 lines
360 B
JavaScript
Executable file
'use strict';
|
|
|
|
window.Search = {
|
|
_port: null,
|
|
providers: {},
|
|
init: function() {},
|
|
provider: function(provider) {
|
|
this.providers[provider.name] = provider;
|
|
},
|
|
onSearchInput: function() {},
|
|
close: function() {},
|
|
navigate: function() {},
|
|
setInput: function() {},
|
|
collect: function(provider, results) {
|
|
provider.render(results);
|
|
}
|
|
};
|