2014-05-12 20:08:19 +02:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
(function () {
|
|
|
|
var module = angular.module('ffffng');
|
|
|
|
|
|
|
|
function lib(name, nodeModule) {
|
|
|
|
if (!nodeModule) {
|
|
|
|
nodeModule = name;
|
|
|
|
}
|
|
|
|
|
|
|
|
module.factory(name, function () {
|
|
|
|
return require(nodeModule);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2016-05-16 13:33:49 +02:00
|
|
|
lib('_', 'lodash');
|
2016-05-21 17:06:24 +02:00
|
|
|
lib('async');
|
2014-05-12 20:08:19 +02:00
|
|
|
lib('crypto');
|
2016-05-21 17:06:24 +02:00
|
|
|
lib('deepExtend', 'deep-extend');
|
2016-06-21 22:59:37 +02:00
|
|
|
lib('fs', 'graceful-fs');
|
2014-05-12 20:08:19 +02:00
|
|
|
lib('glob');
|
2016-05-21 17:06:24 +02:00
|
|
|
lib('moment');
|
2016-05-24 14:42:25 +02:00
|
|
|
lib('request');
|
2014-05-12 20:08:19 +02:00
|
|
|
})();
|