Skip to content

Commit c2d35fe

Browse files
committed
Remove extra spaces at the end of lines
1 parent ed67b50 commit c2d35fe

File tree

6 files changed

+21
-22
lines changed

6 files changed

+21
-22
lines changed

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ This is a standalone server for the javascript tutorial https://javascript.info.
66

77
You can use it to run the tutorial locally and translate it into your language.
88

9-
Windows, Unix systems and macOS are supported. For Windows, you'll need to call scripts with ".cmd" extension, that are present in the code alongside with Unix versions.
9+
Windows, Unix systems and macOS are supported. For Windows, you'll need to call scripts with ".cmd" extension, that are present in the code alongside with Unix versions.
1010

1111
# Installation
1212

1313
1. Install [Git](https://git-scm.com/downloads) and [Node.js](https://nodejs.org).
1414

1515
These are required to update and run the project.
1616
For Windows just download and install, otherwise use standard OS install tools (packages or whatever convenient).
17-
18-
Please use Node.js 10+.
19-
17+
18+
Please use Node.js 10+.
19+
2020
(Maybe later, optional) If you're going to change images, please install [GraphicsMagick](http://www.graphicsmagick.org/).
2121

2222
2. Install global Node modules:
@@ -58,7 +58,7 @@ Windows, Unix systems and macOS are supported. For Windows, you'll need to call
5858
cd /js/server
5959
npm install
6060
```
61-
61+
6262
Run the site with the same language. Above we cloned `en` tutorial, so:
6363
6464
```
@@ -73,10 +73,10 @@ Windows, Unix systems and macOS are supported. For Windows, you'll need to call
7373
7474
7. Edit the tutorial
7575
76-
As you edit text files in the tutorial text repository (cloned at step 5),
77-
the webpage will reload automatically.
76+
As you edit text files in the tutorial text repository (cloned at step 5),
77+
the webpage will reload automatically.
78+
7879
79-
8080
# Change server language
8181
8282
The server uses English by default for navigation and design.
@@ -91,7 +91,7 @@ cd /js/server
9191
```
9292
9393
Please note, the server must support that language. There must be corresponding locale files for that language in the code of the server, otherwise it exists with an error. As of now, `ru`, `en`, `zh` and `ja` are fully supported.
94-
94+
9595
# Dev mode
9696
9797
If you'd like to edit the server code (assuming you're familiar with Node.js), *not* the tutorial text, then there are two steps to do.
@@ -101,14 +101,14 @@ First, run the command that imports (and caches) the tutorial:
101101
```
102102
cd /js/server
103103
NODE_LANG=en TUTORIAL_ROOT=/js/en.javascript.info npm run gulp engine:koa:tutorial:import
104-
```
104+
```
105105
106106
For Windows: `npm i -g cross-env` and prepend the call with `cross-env` to pass environment variables, like this:
107107
108108
```
109109
cd /js/server
110110
cross-env NODE_LANG=en...
111-
```
111+
```
112112
113113
In the code above, `NODE_LANG` sets server language, while `TUTORIAL_ROOT` is the full path to tutorial repo, by default is `/js/$NODE_LANG.javascript.info`.
114114
@@ -119,12 +119,12 @@ cd /js/server
119119
./dev en
120120
```
121121
122-
Running `./dev` uses the tutorial that was imported and cached by the previous command.
122+
Running `./dev` uses the tutorial that was imported and cached by the previous command.
123123
124124
It does not "watch" tutorial text, but it reloads the server after code changes.
125-
125+
126126
Again, that's for developing the server code itself, not writing the tutorial.
127-
127+
128128
# Troubleshooting
129129
130130
If you have a very old copy of the English tutorial, please rename `1-js/05-data-types/09-destructuring-assignment/1-destructuring-assignment` to `1-js/05-data-types/09-destructuring-assignment/1-destruct-user`.
@@ -135,7 +135,7 @@ If it still doesn't work – [file an issue](https://github.com/javascript-tutor
135135
136136
Please pull the very latest git code and install latest NPM modules before publishing an issue.
137137
138-
--
139-
Yours,
140-
Ilya Kantor
138+
--
139+
Yours,
140+
Ilya Kantor
141141
iliakan@javascript.info

modules/styles/blocks/01-reset/reset.styl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ p
2525

2626
.invisible
2727
visibility hidden
28-

modules/styles/blocks/02-placeholders/clearfix.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$clearfix
2-
&::after
2+
&::after
33
content ""
44
display block
55
overflow hidden

modules/styles/blocks/summary/summary.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
padding 1px 0
1212
border-radius 4px
1313

14-
@media print
14+
@media print
1515
page-break-inside: avoid;

templates/blocks/textarea-input/index.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
mixin textarea-input(data)
22
- data = data || {}
3-
3+
44
+b('textarea').textarea-input(class={
55
'_color_red': data.color === 'red'
66
})&attributes(attributes)

templates/layouts/main.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ block main
99
include ../blocks/breadcrumbs
1010

1111
block over-title
12-
12+
1313
if title
1414
- var parts = title.split('\n');
1515
h1.main__header-title

0 commit comments

Comments
 (0)