Skip to content

Commit 8e5cf74

Browse files
Merge pull request #139 from bogdanbacosca/sync-29216730
Sync 2921673
2 parents 4f19098 + 6d15fa5 commit 8e5cf74

File tree

3 files changed

+12
-54
lines changed

3 files changed

+12
-54
lines changed

2-ui/3-event-details/3-mousemove-mouseover-mouseout-mouseenter-mouseleave/article.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,7 @@ That's good for performance, because there may be many intermediate elements. We
5252
5353
On the other hand, we should keep in mind that the mouse pointer doesn't "visit" all elements along the way. It can "jump".
5454
55-
<<<<<<< HEAD
56-
![](mouseover-mouseout-from-outside.svg)
57-
=======
5855
In particular, it's possible that the pointer jumps right inside the middle of the page from out of the window. In that case `relatedTarget` is `null`, because it came from "nowhere":
59-
>>>>>>> 852ee189170d9022f67ab6d387aeae76810b5923
6056
6157
![](mouseover-mouseout-from-outside.svg)
6258
@@ -76,21 +72,13 @@ In case of fast mouse movements, intermediate elements may be ignored, but one t
7672
7773
## Mouseout when leaving for a child
7874
79-
<<<<<<< HEAD
80-
<<<<<<< HEAD
81-
![](mouseover-to-child.svg)
82-
=======
83-
An important feature of `mouseout` -- it triggers, when the pointer moves from an element to its descendant.
84-
>>>>>>> 852ee189170d9022f67ab6d387aeae76810b5923
85-
=======
8675
An important feature of `mouseout` -- it triggers, when the pointer moves from an element to its descendant, e.g. from `#parent` to `#child` in this HTML:
8776
8877
```html
8978
<div id="parent">
9079
<div id="child">...</div>
9180
</div>
9281
```
93-
>>>>>>> 29216730a877be28d0a75a459676db6e7f5c4834
9482

9583
If we're on `#parent` and then move the pointer deeper into `#child`, we get `mouseout` on `#parent`!
9684

2-ui/99-ui-misc/03-event-loop/article.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -303,18 +303,7 @@ Here's an example with "counting progress bar", similar to the one shown previou
303303

304304
## Summary
305305

306-
<<<<<<< HEAD
307-
<<<<<<< HEAD
308-
The richer event loop picture may look like this:
309-
310-
![](eventLoop-full.svg)
311-
312-
=======
313-
>>>>>>> 852ee189170d9022f67ab6d387aeae76810b5923
314-
The more detailed algorithm of the event loop (though still simplified compare to the [specification](https://html.spec.whatwg.org/multipage/webappapis.html#event-loop-processing-model)):
315-
=======
316306
A more detailed event loop algorithm (though still simplified compared to the [specification](https://html.spec.whatwg.org/multipage/webappapis.html#event-loop-processing-model)):
317-
>>>>>>> 29216730a877be28d0a75a459676db6e7f5c4834
318307

319308
1. Dequeue and run the oldest task from the *macrotask* queue (e.g. "script").
320309
2. Execute all *microtasks*:

README.md

Lines changed: 12 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
# The Modern JavaScript Tutorial in Romanian
2-
3-
<<<<<<< HEAD
4-
This repository hosts the translation of <https://javascript.info> in Romanian.
5-
=======
6-
This repository hosts the English content of the Modern JavaScript Tutorial, published in [https://javascript.info](https://javascript.info).
7-
>>>>>>> 29216730a877be28d0a75a459676db6e7f5c4834
1+
# The Modern JavaScript Tutorial in *Romanian*
82

3+
This repository hosts the Romanian content of the Modern JavaScript Tutorial, published in [https://javascript.info](https://javascript.info).
94

105
**That's how you can contribute:**
116

@@ -27,11 +22,7 @@ If maintainers do not respond, or if you'd like to become a maintainer, write us
2722

2823
🎉 Thank you!
2924

30-
<<<<<<< HEAD
31-
Your name and the contribution size will appear in the "About project" page when the translation gets published.
32-
=======
3325
**You can edit the text in any editor.** The tutorial uses enhanced "markdown" format, easy to grasp. And if you want to see how it looks on-site, there's a server to run the tutorial locally at <https://github.com/javascript-tutorial/server>.
34-
>>>>>>> 29216730a877be28d0a75a459676db6e7f5c4834
3526

3627
P.S. The full list of languages can be found at <https://javascript.info/translate>.
3728

@@ -43,9 +34,9 @@ The folder is named `N-url`, where `N` – is the number for sorting (articles a
4334

4435
The folder has one of files:
4536

46-
- `index.md` for a section,
47-
- `article.md` for an article,
48-
- `task.md` for a task formulation (+`solution.md` with the solution text if any).
37+
- `index.md` stands for a chapter
38+
- `article.md` stands for an article
39+
- `task.md` stands for a task (solution must be provided in `solution.md` file as well)
4940

5041
A file starts with the `# Title Header`, and then the text in Markdown-like format, editable in a simple text editor.
5142

@@ -81,26 +72,20 @@ document.querySelector('.hello').innerHTML = text;
8172
✅ DO (translate comment):
8273

8374
```js
84-
// Ejemplo
85-
const text = 'Hola mundo';
75+
// Exemplul
76+
const text = 'Bună ziua`
8677
document.querySelector('.hello').innerHTML = text;
8778
```
8879
8980
❌ DON'T (translate class):
9081

91-
<<<<<<< HEAD
9282
```js
93-
// Ejemplo
94-
const text = 'Hola mundo';
95-
// ".hello" is a class
83+
// Exemplu
84+
const text = 'Bună ziua lume';
85+
document.querySelector('.salut').innerHTML = text;
86+
// ".salut" is a class
9687
// DO NOT TRANSLATE
97-
document.querySelector('.hola').innerHTML = text;
9888
```
99-
=======
100-
- `index.md` stands for a chapter
101-
- `article.md` stands for an article
102-
- `task.md` stands for a task (solution must be provided in `solution.md` file as well)
103-
>>>>>>> 29216730a877be28d0a75a459676db6e7f5c4834
10489

10590
### External Links
10691

@@ -128,8 +113,6 @@ Some files, usually tasks, have YAML metadata at the top, delimited by `---`:
128113

129114
```md
130115
importance: 5
131-
132-
<<<<<<< HEAD
133116
---
134117
...
135118
```
@@ -151,8 +134,6 @@ Please don't translate or remove the `[#...]` part, it's for URL anchors.
151134
You can run the tutorial server locally to see how the translation looks.
152135
153136
The server and install instructions are at <https://github.com/javascript-tutorial/server>.
154-
=======
155-
---
156-
>>>>>>> 29216730a877be28d0a75a459676db6e7f5c4834
137+
157138
158139
Ilya Kantor @iliakan

0 commit comments

Comments
 (0)