Skip to content

Commit f7f28ee

Browse files
committed
fixed: code
1 parent a855343 commit f7f28ee

File tree

56 files changed

+38
-300
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+38
-300
lines changed

angularjs-bootstrap/tmp/app.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

angularjs-bootstrap/tmp/controllers-home.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

angularjs-bootstrap/tmp/controllers-user.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

angularjs-bootstrap/tmp/css-app.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

angularjs-bootstrap/views/_layout.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
1414
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />
1515
@{head}
16+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
1617
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
1718
@{favicon('favicon.ico')}
1819

angularjs-common/views/app.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@{ngStyle('app')}
55

66
<!-- cdnjs -->
7-
@{ngLocale('~en-us')}
7+
@{ngLocale('en-us')}
88

99
<!-- /app/controllers/ -->
1010
@{ngController('home', 'user')}

assertion-testing/tests/default.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,16 @@ exports.run = function(framework, name) {
1212
});
1313

1414
framework.assert('Test URL 1', '/1/', ['GET'], function(error, data, code, headers, cookies, name) {
15-
console.log(data, code)
1615
assert.ok(code === 200 && data === '1', name);
17-
console.log('1');
1816
});
1917

2018
framework.assert('Test URL 2', '/2/', ['GET'], function(error, data, code, headers, cookies, name) {
2119
assert.ok(code === 200 && data === '2', name);
22-
console.log('2');
2320
});
2421

2522
framework.assert('Test URL 3', '/3/', ['GET'], function(error, data, code, headers, cookies, name) {
2623
// throws error, data === 4
2724
assert.ok(code === 200 && data === '3', name);
28-
console.log('3');
2925
});
3026

3127
};

async/views/homepage.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
</head>
1919
<body>
2020

21-
@{!model.join('<br />')}
21+
@{foreach m in model}
22+
<div>@{m}</div>
23+
@{end}
2224

2325
</body>
2426
</html>

authorization-www-basic/controllers/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exports.install = function(framework) {
55
function authorization() {
66

77
var self = this;
8-
var user = self.baa('This is secure area');
8+
var user = self.baa('This is secured area');
99

1010
if (user === null) {
1111
// self.baa() automatically will send a response to an authentication.

authorization/databases/users-logs.nosql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
{"id":1,"email":"petersirka@gmail.com","ip":"127.0.0.1","date":"2013-12-27T22:33:40.839Z"}
99
{"id":1,"email":"petersirka@gmail.com","ip":"127.0.0.1","date":"2013-12-27T22:34:38.823Z"}
1010
{"id":1,"email":"petersirka@gmail.com","ip":"127.0.0.1","date":"2014-03-02T08:10:29.987Z"}
11+
{"id":1,"email":"petersirka@gmail.com","ip":"127.0.0.1","date":"2014-05-29T06:01:40.119Z"}

0 commit comments

Comments
 (0)