forked from fluid-project/fluid-express
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.js
More file actions
22 lines (18 loc) · 675 Bytes
/
index.js
File metadata and controls
22 lines (18 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// The main file that is included when you run `require("fluid-express")`.
//
// You can optionally load testing support by assigning a variable to the results of `require` and calling
// `loadTestingSupport`, as in:
//
// var fluidExpress = require("fluid-express");
// fluidExpress.loadTestingSupport();
//
"use strict";
var fluid = require("infusion");
fluid.registerNamespace("fluid.express");
fluid.module.register("fluid-express", __dirname, require);
require("./mainIncludes.js");
// Provide a function to optionally load test support.
fluid.express.loadTestingSupport = function () {
require("./testIncludes.js");
};
module.exports = fluid.express;