Splitted the node server in modules

This commit is contained in:
Gaël Métais
2014-08-07 19:26:58 +02:00
parent 9b6b0f39f0
commit 7fcdf2aaa2
17 changed files with 407 additions and 250 deletions
@@ -1,11 +1,11 @@
/**
* Meters the number of page errors, and provides traces as offenders for "jsErrors" metric
*/
'use strict';
exports.version = '0.0';
exports.module = function(phantomas) {
'use strict';
phantomas.on('recv', function(entry, res) {
if (!entry.isJS) {