-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
35 lines (28 loc) · 1.11 KB
/
config.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
/**
* Routing configuration.
* You can provide your own versions of internal classes and setup some behavior.
* @namespace {Configuration} configuration
*/
const config = {
/**
* options for initializing the Routing instance
* @type {routingOptions}
*/
routingOptions: {},
/** use hashes instead of urls */
useHashes: false,
/** @type {Router} - Router class will be used internally by routing. Replace it with your extended version if you need */
Router: void 0,
/** @type {RouteHandler} - RouteHandler class will be used internally by routing. Replace it with your extended version if you need */
RouteHandler: void 0,
/** @type {RequestContext} - RequestContext class will be used internally by routing. Replace it with your extended version if you need */
RequestContext: void 0,
/** @type {ResponseContext} - RequestContext class will be used internally by routing. Replace it with your extended version if you need */
ResponseContext: void 0,
/**
* indicates if routing started
* @private
*/
isStarted: false
};
export default config;