-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathapp.js
43 lines (40 loc) · 1.4 KB
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import Fluxible from 'fluxible';
import fetchrPlugin from 'fluxible-plugin-fetchr';
import authPlugin from './plugins/authentication';
import Application from './components/Application';
import RouteStore from './stores/RouteStore';
import ApplicationStore from './stores/ApplicationStore';
import DatasetStore from './stores/DatasetStore';
import UserStore from './stores/UserStore';
import ResourceStore from './stores/ResourceStore';
import IndividualObjectStore from './stores/IndividualObjectStore';
import DBpediaStore from './stores/DBpediaStore';
import DBpediaGMapStore from './stores/DBpediaGMapStore';
import FacetedBrowserStore from './stores/FacetedBrowserStore';
import DatasetsStore from './stores/DatasetsStore';
import DatasetAnnotationStore from './stores/DatasetAnnotationStore';
import QueryImportStore from './stores/QueryImportStore';
import ImportStore from './stores/ImportStore';
let app = new Fluxible({
component: Application,
stores: [
RouteStore,
ApplicationStore,
DatasetsStore,
DatasetStore,
UserStore,
ResourceStore,
IndividualObjectStore,
DBpediaStore,
DBpediaGMapStore,
FacetedBrowserStore,
DatasetAnnotationStore,
QueryImportStore,
ImportStore
]
});
app.plug(fetchrPlugin({
xhrPath: '/api' // Path for XHR to be served from
}));
app.plug(authPlugin({}));
export default app;