Guest User

Untitled

a guest
May 22nd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. 'use strict';
  2. const {serverConfig} = require('./config');
  3. const {init} = require('./dependency');
  4. const services = require('../services');
  5. # bind makes the parametrs permenantly part of the object.
  6. const initDependency = init.bind(null,{serverConfig, services});
  7. module.exports = Object.assign({}, {initDependency});
Add Comment
Please, Sign In to add comment