Skip to content

Commit 095a7c3

Browse files
committed
Resolve conflicts.
1 parent 8073fc7 commit 095a7c3

File tree

3 files changed

+1
-41
lines changed

3 files changed

+1
-41
lines changed

1-js/02-first-steps/01-hello-world/article.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ Então, primeiro, vamos ver como anexar um script a uma página. Para ambientes
99

1010
## A tag "script"
1111

12-
<<<<<<< HEAD
13-
Os programas JavaScript podem ser inseridos em qualquer parte de um documento HTML com a ajuda da tag `<script>`.
14-
=======
15-
JavaScript programs can be inserted almost anywhere into an HTML document using the `<script>` tag.
16-
>>>>>>> 23da191b58643387783f38e999f5b05be87d3d93
12+
Os programas JavaScript podem ser inseridos em quase qualquer parte de um documento HTML com a ajuda da tag `<script>`.
1713

1814
Por exemplo:
1915

1-js/04-object-basics/01-object/article.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -92,35 +92,7 @@ let user = {
9292
```
9393
Esta é chamada de vírgula à direita (*trailing comma*) ou "vírgula pendurada" (*hanging comma*). Ela facilita o adicionar/remover/mover propriedades, porque todas as linhas se tornam semelhantes.
9494

95-
<<<<<<< HEAD
96-
````smart header="Objeto com const pode ser alterado"
97-
Por favor, note: um objeto declarado como `const` *pode* ser modificado.
98-
99-
Por exemplo:
100-
101-
```js run
102-
const user = {
103-
name: "John"
104-
};
105-
106-
*!*
107-
user.name = "Pete"; // (*)
108-
*/!*
109-
110-
alert(user.name); // Pete
111-
```
112-
113-
Poderá parecer que a linha `(*)` irá causar um erro, mas não. A `const` fixa o valor de `user`, mas não o seu conteúdo.
114-
115-
A `const` dará um erro apenas se tentarmos mudar `user=...` como um todo.
116-
117-
Há outra forma para tornar constantes as propriedades de um objeto, que iremos ver mais adiante no capítulo <info:property-descriptors>.
118-
````
119-
12095
## Parênteses retos
121-
=======
122-
## Square brackets
123-
>>>>>>> 23da191b58643387783f38e999f5b05be87d3d93
12496

12597
Para propriedades com múltiplas palavras, o acesso por ponto não funciona:
12698

2-ui/4-forms-controls/3-events-change-input/article.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,6 @@ For instance, the code below prevents all such events and shows what we are tryi
6262
</script>
6363
```
6464

65-
<<<<<<< HEAD
66-
Technically, we can copy/paste everything. For instance, we can copy a file in the OS file manager, and paste it.
67-
68-
There's a list of methods [in the specification](https://www.w3.org/TR/clipboard-apis/#dfn-datatransfer) to work with different data types, read/write to the clipboard.
69-
70-
But please note that clipboard is a "global" OS-level thing. Most browsers allow read/write access to the clipboard only in the scope of certain user actions for the safety. Also it is forbidden to create "custom" clipboard events in all browsers except Firefox.
71-
=======
7265
Please note, that it's possible to copy/paste not just text, but everything. For instance, we can copy a file in the OS file manager, and paste it.
7366

7467
That's because `clipboardData` implements `DataTransfer` interface, commonly used for drag'n'drop and copy/pasting. It's bit beyound our scope now, but you can find its methods [in the specification](https://html.spec.whatwg.org/multipage/dnd.html#the-datatransfer-interface).
@@ -78,7 +71,6 @@ The clipboard is a "global" OS-level thing. So most browsers allow read/write ac
7871
7972
Also it's forbidden to generate "custom" clipboard events with `dispatchEvent` in all browsers except Firefox.
8073
```
81-
>>>>>>> 23da191b58643387783f38e999f5b05be87d3d93
8274

8375
## Summary
8476

0 commit comments

Comments
 (0)