chore(root) rm iife

This commit is contained in:
coderaiser 2016-11-10 15:32:58 +02:00
parent 7c4a6caa9a
commit 6b26b26115

View file

@ -1,15 +1,11 @@
(function() {
'use strict';
'use strict';
var config = require('./config');
var mellow = require('mellow');
module.exports = function(dir) {
var root = config('root') || '/';
var DIR = './',
config = require(DIR + 'config'),
mellow = require('mellow');
module.exports = function(dir) {
var root = config('root') || '/';
dir = mellow.pathToWin(dir, root);
return dir;
};
})();
return mellow.pathToWin(dir, root);
};