htdocs/assets/js/views/searches/search/load.js
"use strict";
define(function(require) {
var SearchView = require('views/searches/search'),
NullSearchView = require('views/searches/search/null'),
PingSearchView = require('views/searches/search/ping'),
HTTPSearchView = require('views/searches/search/http'),
GraphiteSearchView = require('views/searches/search/graphite'),
ThreatexchangeSearchView = require('views/searches/search/threatexchange'),
ElasticsearchSearchView = require('views/searches/search/elasticsearch'),
ECLSearchView = require('views/searches/search/ecl'),
PushSearchView = require('views/searches/search/push');
/**
* Loader for SearchView subclasses.
*/
SearchView.registerSubclass('null', NullSearchView);
SearchView.registerSubclass('ping', PingSearchView);
SearchView.registerSubclass('http', HTTPSearchView);
SearchView.registerSubclass('graphite', GraphiteSearchView);
SearchView.registerSubclass('threatexchange', ThreatexchangeSearchView);
SearchView.registerSubclass('es', ElasticsearchSearchView);
SearchView.registerSubclass('alert', ElasticsearchSearchView);
SearchView.registerSubclass('ecl', ECLSearchView);
SearchView.registerSubclass('push', PushSearchView);
});