Skip to content

Commit 2544962

Browse files
committed
Cleanup
1 parent a7532b9 commit 2544962

File tree

5 files changed

+9
-21
lines changed

5 files changed

+9
-21
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
This is the source code for "Go for Javascript Developers".
88

9-
The book can be found at [http://www.pazams.com/go-for-javascript-developers/](http://www.pazams.com/go-for-javascript-developers/)
9+
The book can be found at [http://www.pazams.com/Go-for-Javascript-Developers/](http://www.pazams.com/Go-for-Javascript-Developers/)
1010

1111

1212
## License

src/README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,5 @@ This document uses ECMAScript 2015 (ES6).
2525
Also, some subjects will note the run-time environment "NodeJS".
2626

2727
## Contributions
28-
This document is a work in progress. Contributions and PRs are most welcomed.
29-
If you edit the chapters layout, be sure to rebuild the table of contents by
30-
```bash
31-
npm install
32-
npm run toc
33-
```
34-
If you edit go code, be sure to format it with (requires [mdgofmt-cli](https://github.com/pazams/mdgofmt-cli))
35-
```bash
36-
npm run fmt
37-
```
38-
Or just run both commands with
39-
```bash
40-
npm run build
41-
```
28+
This book is friendly to suggestions, corrections and contributions.
29+
For these matters, please visit the source code for this book at [https://github.com/pazams/go-for-javascript-developers](https://github.com/pazams/go-for-javascript-developers) and open an issue or a pull-request.

src/_layouts/website/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<a href="{{ ('/' + glossary.path)|resolveFile }}" class="btn pull-left" aria-label="{{ "GLOSSARY_OPEN"|t }}"><i class="fa fa-sort-alpha-asc"></i></a>
55
{% endif %}
66

7-
<a class="btn pull-right" aria-label="" href="http://www.pazams.com/">
7+
<a class="btn pull-right" aria-label="" href="/">
88
<span class="logo-pazams">
99
</span>
1010
<span class="pull-right">

src/pages/concurrency-parallelism/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ async function fetchConcurrent() {
119119
120120
**Go**
121121
122-
For the following examples, assume `fetchB()` and `fetchC()` are defined as a sync function similarly to `fetchA` in the previous section (The full example is available here https://play.golang.org/p/2BVwtos4-j)
122+
For the following examples, assume `fetchB()` and `fetchC()` are defined as a sync function similarly to `fetchA` in the previous section (The full example is available at https://play.golang.org/p/2BVwtos4-j)
123123
124124
**Sequential**
125125

src/pages/keywords-syntax-comparison/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ Inside an object method, `this` refers to the object (with some exceptions).
1010
In Go, the closest analogy would be receivers inside method functions.
1111
You *may* use `this` as a receiver:
1212
```Go
13-
type Boo struct {
13+
type Bar struct {
1414
foo string
1515
}
1616

17-
func (this *Boo) Foo() string {
17+
func (this *Bar) Foo() string {
1818
return this.foo
1919
}
2020
```
@@ -38,12 +38,12 @@ timer := time.NewTimer(d) // timer is a *time.Timer
3838

3939
**JS**
4040
```Javascript
41-
var f = boo.foo.bind(boo2); // when calling f(), "this" will refer to boo2
41+
var f = bar.foo.bind(bar2); // when calling f(), "this" will refer to bar2
4242
```
4343

4444
**Go**
4545
```Go
46-
f := boo.foo // f(), is same as boo.foo()
46+
f := bar.foo // f(), is same as bar.foo()
4747
```
4848

4949
## (S) setTimeout / timer

0 commit comments

Comments
 (0)