Skip to content

Commit d0073dc

Browse files
committed
new changes
1 parent 5d9fbaa commit d0073dc

4 files changed

Lines changed: 18 additions & 12 deletions

File tree

changes.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
IN DEVELOPMENT ======= 1.7.1 (HOTFIX)
22

3+
This version will work on `io.js` without problems.
4+
35
- added: framework.schedule(date/string/number, fn);
46
- added: (IMPORTANT) a prevention for the HeaderSent exception
57
- added: new option `sleep` for framework.http() & framework.https()
68

9+
- fixed: framework.versionNode (updated for io.js)
710
- fixed: (CRITICAL) if the controller middleware does not exist framework throws exception correctly
811
- fixed: Utils.validation() (for Arrays)
912
- fixed: authorization routing

minify/merged/total.js

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

minify/total.js/utils.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/test-framework-test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
var framework = require('../index');
22
var url = 'http://127.0.0.1:8001/';
3-
var mem = require('memwatch');
43

54
framework.onAuthorization = function(req, res, flags, cb) {
65
req.user = { alias: 'Peter Širka' };
76
req.session = { ready: true };
87
cb(req.url === '/a/');
98
};
109

10+
/*
11+
var mem = require('memwatch');
12+
1113
mem.on('leak', function(info) {
1214
console.log('LEAK ->', info);
1315
});
1416
1517
mem.on('stats', function(info) {
1618
console.log('STATS ->', JSON.stringify(info));
1719
});
20+
*/
1821

1922
framework.http('debug', { port: 8001 });

0 commit comments

Comments
 (0)