yoyoyo 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -6
- data/_includes/post-card.html +2 -2
- data/_layouts/home.html +15 -1
- data/_sass/header.scss +3 -0
- data/_sass/main.scss +52 -1
- data/assets/css/styles.scss +1 -0
- data/assets/js/app.js +5924 -12
- data/assets/js/app.js.map +1 -1
- data/assets/ts/app.ts +18 -20
- metadata +4 -3
data/assets/ts/app.ts
CHANGED
@@ -1,23 +1,21 @@
|
|
1
|
-
|
2
|
-
fullName: string;
|
3
|
-
constructor(
|
4
|
-
public firstName: string,
|
5
|
-
public middleInitial: string,
|
6
|
-
public lastName: string
|
7
|
-
) {
|
8
|
-
this.fullName = firstName + " " + middleInitial + " " + lastName;
|
9
|
-
}
|
10
|
-
}
|
1
|
+
import { Observable } from "rxjs";
|
11
2
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
3
|
+
var observable = Observable.create((observer: any) => {
|
4
|
+
observer.next("Hello World!");
|
5
|
+
observer.next("Hello Again!");
|
6
|
+
observer.complete();
|
7
|
+
observer.next("Bye");
|
8
|
+
});
|
16
9
|
|
17
|
-
|
18
|
-
|
19
|
-
|
10
|
+
observable.subscribe(
|
11
|
+
(x: any) => logItem(x),
|
12
|
+
(error: any) => logItem("Error: " + error),
|
13
|
+
() => logItem("Completed")
|
14
|
+
);
|
20
15
|
|
21
|
-
|
22
|
-
|
23
|
-
document.
|
16
|
+
function logItem(val: any) {
|
17
|
+
var node = document.createElement("li");
|
18
|
+
var textnode = document.createTextNode(val);
|
19
|
+
node.appendChild(textnode);
|
20
|
+
document.body.appendChild(node);
|
21
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yoyoyo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hertz Zhang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -141,6 +141,7 @@ files:
|
|
141
141
|
- _sass/bootstrap-grid.scss
|
142
142
|
- _sass/bootstrap-reboot.scss
|
143
143
|
- _sass/bootstrap.scss
|
144
|
+
- _sass/header.scss
|
144
145
|
- _sass/main.scss
|
145
146
|
- _sass/mixins/_alert.scss
|
146
147
|
- _sass/mixins/_background-variant.scss
|
@@ -217,5 +218,5 @@ rubyforge_project:
|
|
217
218
|
rubygems_version: 2.5.2.3
|
218
219
|
signing_key:
|
219
220
|
specification_version: 4
|
220
|
-
summary:
|
221
|
+
summary: 一个漂亮的、自适应的、适合程序员的 Jekyll 主题。
|
221
222
|
test_files: []
|