You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2-ui/3-event-details/3-mousemove-mouseover-mouseout-mouseenter-mouseleave/article.md
-12Lines changed: 0 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,11 +52,7 @@ That's good for performance, because there may be many intermediate elements. We
52
52
53
53
On the other hand, we should keep in mind that the mouse pointer doesn't "visit" all elements along the way. It can "jump".
54
54
55
-
<<<<<<< HEAD
56
-

57
-
=======
58
55
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
60
56
61
57

62
58
@@ -76,21 +72,13 @@ In case of fast mouse movements, intermediate elements may be ignored, but one t
76
72
77
73
## Mouseout when leaving for a child
78
74
79
-
<<<<<<< HEAD
80
-
<<<<<<< HEAD
81
-

82
-
=======
83
-
An important feature of `mouseout` -- it triggers, when the pointer moves from an element to its descendant.
84
-
>>>>>>> 852ee189170d9022f67ab6d387aeae76810b5923
85
-
=======
86
75
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:
87
76
88
77
```html
89
78
<div id="parent">
90
79
<div id="child">...</div>
91
80
</div>
92
81
```
93
-
>>>>>>> 29216730a877be28d0a75a459676db6e7f5c4834
94
82
95
83
If we're on `#parent` and then move the pointer deeper into `#child`, we get `mouseout` on `#parent`!
Copy file name to clipboardExpand all lines: 2-ui/99-ui-misc/03-event-loop/article.md
-11Lines changed: 0 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -303,18 +303,7 @@ Here's an example with "counting progress bar", similar to the one shown previou
303
303
304
304
## Summary
305
305
306
-
<<<<<<< HEAD
307
-
<<<<<<< HEAD
308
-
The richer event loop picture may look like this:
309
-
310
-

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
-
=======
316
306
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
318
307
319
308
1. Dequeue and run the oldest task from the *macrotask* queue (e.g. "script").
Copy file name to clipboardExpand all lines: README.md
+12-31Lines changed: 12 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff 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*
8
2
3
+
This repository hosts the Romanian content of the Modern JavaScript Tutorial, published in [https://javascript.info](https://javascript.info).
9
4
10
5
**That's how you can contribute:**
11
6
@@ -27,11 +22,7 @@ If maintainers do not respond, or if you'd like to become a maintainer, write us
27
22
28
23
🎉 Thank you!
29
24
30
-
<<<<<<< HEAD
31
-
Your name and the contribution size will appear in the "About project" page when the translation gets published.
32
-
=======
33
25
**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
35
26
36
27
P.S. The full list of languages can be found at <https://javascript.info/translate>.
37
28
@@ -43,9 +34,9 @@ The folder is named `N-url`, where `N` – is the number for sorting (articles a
43
34
44
35
The folder has one of files:
45
36
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)
49
40
50
41
A file starts with the `# Title Header`, and then the text in Markdown-like format, editable in a simple text editor.
0 commit comments