Elegant require calls

This commit is contained in:
Petros Aggelatos 2013-12-23 04:26:56 +00:00 committed by Pablo Carranza Vélez
parent 469777c232
commit 1dc26396a2

View File

@ -1,11 +1,11 @@
Promise = require('bluebird')
_ = require('lodash')
fs = Promise.promisifyAll(require('fs'))
url = require('url')
Promise = require 'bluebird'
_ = require 'lodash'
fs = Promise.promisifyAll require 'fs'
url = require 'url'
knex = require './db'
crypto = require('crypto')
csrgen = Promise.promisify(require('csr-gen'))
request = Promise.promisify(require('request'))
crypto = require 'crypto'
csrgen = Promise.promisify require 'csr-gen'
request = Promise.promisify require 'request'
module.exports = (uuid) ->
# Load config file