All files / universal.klown/gpii/node_modules/gpii-oauth2/gpii-oauth2-utilities/src OAuth2Express.js

87.5% Statements 7/8
100% Branches 0/0
50% Functions 1/2
87.5% Lines 7/8

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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                            1x   1x   1x 1x   1x 49x     1x      
/*!
Copyright 2014 OCAD university
 
Licensed under the New BSD license. You may not use this file except in
compliance with this License.
 
The research leading to these results has received funding from the European Union's
Seventh Framework Programme (FP7/2007-2013) under grant agreement no. 289016.
 
You may obtain a copy of the License at
https://github.com/GPII/universal/blob/master/LICENSE.txt
*/
"use strict";
 
var express = require("express");
 
var fluid = require("infusion");
 
var gpii = fluid.registerNamespace("gpii");
fluid.registerNamespace("gpii.oauth2");
 
gpii.oauth2.createExpressApp = function () {
    return express();
};
 
gpii.oauth2.expressStatic = function (root) {
    return express["static"](root);
};