Lots of updates

This commit is contained in:
baldo 2016-05-16 13:33:49 +02:00
parent e3cfff8310
commit 39e7af6238
454 changed files with 221168 additions and 36622 deletions

View file

@ -25,7 +25,7 @@ angular.module('ffffng').factory('app', function (fs, config, _) {
}
res.writeHead(200, {'Content-Type': mimeType});
res.end(_.template(body, { config: config.client }));
res.end(_.template(body)( { config: config.client }));
return null; // to suppress warning
});

View file

@ -13,7 +13,7 @@
});
}
lib('_', 'underscore');
lib('_', 'lodash');
lib('crypto');
lib('fs');
lib('glob');

View file

@ -2,7 +2,7 @@
'use strict';
// Dirty hack to allow usage of angular modules.
GLOBAL.angular = require('ng-di');
global.angular = require('ng-di');
angular.module('ffffng', []);