Skip to content

Commit fc7a94b

Browse files
committed
small changes
1 parent 00d771d commit fc7a94b

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

assertion-testing/test.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,4 @@ var framework = require('total.js');
22
var http = require('http');
33

44
framework.run(http, true, parseInt(process.argv[2]));
5-
6-
framework.test(true, function() {
7-
console.log('');
8-
console.log('====================================================');
9-
console.log('Congratulations, the test was successful!');
10-
console.log('====================================================');
11-
console.log('');
12-
});
5+
framework.test();

controller-proxy/proxy-user/controllers/default.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
exports.install = function(framework) {
2+
framework.route('/users/', json_users);
23
framework.route('/', json_users, ['proxy']);
34
};
45

56
function json_users() {
6-
7+
78
var self = this;
8-
9+
910
var users = [
1011
{ name: 'Peter', age: 30 },
1112
{ name: 'Jano', age: 23 },
@@ -22,5 +23,5 @@ function json_users() {
2223
});
2324

2425
self.json(output);
25-
26+
2627
};

cors/controllers/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function cors_time_preflight() {
88
var self = this;
99

1010
if (!self.cors('*', ['GET'])) {
11-
self.plain('Not allowed');
11+
self.plain('NOT ALLOWED - OPTIONS - PREFLIGHT');
1212
return;
1313
}
1414

websocket/views/_layout.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
@{meta}
55
<meta charset="utf-8" />
66
<meta http-equiv="content-language" content="sk" />
7-
<meta http-equiv="X-UA-Compatible" content="IE=10" />
87
<meta name="format-detection" content="telephone=no"/>
98
<meta name="viewport" content="width=1024, user-scalable=yes" />
109
<meta name="robots" content="all,follow" />

0 commit comments

Comments
 (0)