waigo
Version:
Node.js ES6 framework for reactive, data-driven apps and APIs (Koa, RethinkDB)
26 lines (18 loc) • 362 B
JavaScript
const waigo = global.waigo,
_ = waigo._;
/**
* Setup app-level template variables.
*
* This startup step should run after all others.
*
* @param {Object} App The application.
*/
module.exports = function*(App) {
App.templateVars = {
_: _,
routeUrl: App.routes,
staticUrl: App.staticUrl,
config: App.config,
};
};
;