aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/web/javascript/reference
diff options
context:
space:
mode:
authorTanner Dolby <tannercdolby@gmail.com>2022-02-22 01:49:36 -0800
committerGitHub <noreply@github.com>2022-02-22 17:49:36 +0800
commit6e9fe98036090a37cc6247b873845505e5b512fb (patch)
tree5fc00117ddfd9f448eb9e8011b5bd7f6d8000e8d /files/pt-br/web/javascript/reference
parent70c3e11f3335e7701325f125fd712c84d6c1f9bf (diff)
downloadtranslated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.gz
translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.bz2
translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.zip
Removes empty <div> or <p> elements from pages (#3093)
* Removes all empty paragraph elements * Removes all empty div elements * Preserve empty div in code snippet * Preserve empty elements inside code snippets * Remove fr files which were converted into markdown * Web/CSS/transform-function/scaleX()/index.html The file is already renamed to index.md。 * remove not needed file * Resolve remaining conflict Co-authored-by: julieng <julien.gattelier@gmail.com> Co-authored-by: Masahiro FUJIMOTO <mfujimot@gmail.com>
Diffstat (limited to 'files/pt-br/web/javascript/reference')
-rw-r--r--files/pt-br/web/javascript/reference/classes/constructor/index.html4
-rw-r--r--files/pt-br/web/javascript/reference/global_objects/array/findindex/index.html2
-rw-r--r--files/pt-br/web/javascript/reference/global_objects/index.html2
-rw-r--r--files/pt-br/web/javascript/reference/global_objects/math/random/index.html2
-rw-r--r--files/pt-br/web/javascript/reference/global_objects/number/toprecision/index.html2
-rw-r--r--files/pt-br/web/javascript/reference/global_objects/object/defineproperty/index.html2
-rw-r--r--files/pt-br/web/javascript/reference/global_objects/regexp/ignorecase/index.html2
-rw-r--r--files/pt-br/web/javascript/reference/global_objects/string/endswith/index.html2
-rw-r--r--files/pt-br/web/javascript/reference/global_objects/string/trim/index.html2
-rw-r--r--files/pt-br/web/javascript/reference/operators/spread_syntax/index.html2
-rw-r--r--files/pt-br/web/javascript/reference/statements/do...while/index.html2
-rw-r--r--files/pt-br/web/javascript/reference/statements/function_star_/index.html2
12 files changed, 13 insertions, 13 deletions
diff --git a/files/pt-br/web/javascript/reference/classes/constructor/index.html b/files/pt-br/web/javascript/reference/classes/constructor/index.html
index df9eb7f023..cdf1293935 100644
--- a/files/pt-br/web/javascript/reference/classes/constructor/index.html
+++ b/files/pt-br/web/javascript/reference/classes/constructor/index.html
@@ -11,9 +11,9 @@ translation_of: Web/JavaScript/Reference/Classes/constructor
---
<div>O construtor é um método especial para criar e inicializar um objeto criado a partir de uma classe.</div>
-<div></div>
-<div></div>
+
+
<h2 id="Sintaxe">Sintaxe</h2>
diff --git a/files/pt-br/web/javascript/reference/global_objects/array/findindex/index.html b/files/pt-br/web/javascript/reference/global_objects/array/findindex/index.html
index b4af428f99..b6935ca2af 100644
--- a/files/pt-br/web/javascript/reference/global_objects/array/findindex/index.html
+++ b/files/pt-br/web/javascript/reference/global_objects/array/findindex/index.html
@@ -117,7 +117,7 @@ console.log([4, 6, 7, 12].findIndex(isPrime)); // 2
<div>{{Compat("javascript.builtins.Array.findIndex")}}</div>
-<div></div>
+
<div><span style="">Veja também</span></div>
diff --git a/files/pt-br/web/javascript/reference/global_objects/index.html b/files/pt-br/web/javascript/reference/global_objects/index.html
index cd7eb82608..21ab2869ff 100644
--- a/files/pt-br/web/javascript/reference/global_objects/index.html
+++ b/files/pt-br/web/javascript/reference/global_objects/index.html
@@ -7,7 +7,7 @@ tags:
- TopicStub
translation_of: Web/JavaScript/Reference/Global_Objects
---
-<p></p>
+
<div>{{jsSidebar("Objects")}}</div>
diff --git a/files/pt-br/web/javascript/reference/global_objects/math/random/index.html b/files/pt-br/web/javascript/reference/global_objects/math/random/index.html
index 018628db0e..cf0bec1709 100644
--- a/files/pt-br/web/javascript/reference/global_objects/math/random/index.html
+++ b/files/pt-br/web/javascript/reference/global_objects/math/random/index.html
@@ -54,7 +54,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/random
return Math.floor(Math.random() * (max - min)) + min;
}</pre>
-<p></p>
+
<div class="note">
<p>Pode ser tentandor usar <code>Math.round()</code> para arredondar <code>min</code> e <code>max,</code> mas dessa maneira a aleatoriedade dos números seguiria uma distribuição não-uniforme, que talvez não seja o que você precisa.</p>
diff --git a/files/pt-br/web/javascript/reference/global_objects/number/toprecision/index.html b/files/pt-br/web/javascript/reference/global_objects/number/toprecision/index.html
index d498fd84a8..47e8eba950 100644
--- a/files/pt-br/web/javascript/reference/global_objects/number/toprecision/index.html
+++ b/files/pt-br/web/javascript/reference/global_objects/number/toprecision/index.html
@@ -5,7 +5,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/toPrecision
---
<div>{{JSRef}}</div>
-<div></div>
+
<p>O método <strong><code>toPrecision()</code></strong> retorna uma string que representa o valor do objeto {{jsxref("Number")}} com uma precisão específica.</p>
diff --git a/files/pt-br/web/javascript/reference/global_objects/object/defineproperty/index.html b/files/pt-br/web/javascript/reference/global_objects/object/defineproperty/index.html
index 4ac45fb597..3b4f0b8418 100644
--- a/files/pt-br/web/javascript/reference/global_objects/object/defineproperty/index.html
+++ b/files/pt-br/web/javascript/reference/global_objects/object/defineproperty/index.html
@@ -10,7 +10,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Object/defineProperty
---
<div>{{JSRef}}</div>
-<div></div>
+
<p>O método <code><strong>Object.defineProperty()</strong></code> define uma nova propriedade diretamente em um objeto, ou modifica uma propriedade já existente em um objeto, e retorna o objeto.</p>
diff --git a/files/pt-br/web/javascript/reference/global_objects/regexp/ignorecase/index.html b/files/pt-br/web/javascript/reference/global_objects/regexp/ignorecase/index.html
index b54e70bf99..7891af569d 100644
--- a/files/pt-br/web/javascript/reference/global_objects/regexp/ignorecase/index.html
+++ b/files/pt-br/web/javascript/reference/global_objects/regexp/ignorecase/index.html
@@ -15,7 +15,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/RegExp/ignoreCase
<div>regular. </div>
-<div></div>
+
<p>{{EmbedInteractiveExample("pages/js/regexp-prototype-ignorecase.html")}}</p>
diff --git a/files/pt-br/web/javascript/reference/global_objects/string/endswith/index.html b/files/pt-br/web/javascript/reference/global_objects/string/endswith/index.html
index 215edd139a..af3a662883 100644
--- a/files/pt-br/web/javascript/reference/global_objects/string/endswith/index.html
+++ b/files/pt-br/web/javascript/reference/global_objects/string/endswith/index.html
@@ -12,7 +12,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/endsWith
---
<div>{{JSRef}}</div>
-<div></div>
+
<p>O método <strong><code>endsWith()</code></strong> indica se uma string termina com determinados caracteres, retornando <code>true</code> ou <code>false</code>.</p>
diff --git a/files/pt-br/web/javascript/reference/global_objects/string/trim/index.html b/files/pt-br/web/javascript/reference/global_objects/string/trim/index.html
index 285cd76427..80d9bf7d8a 100644
--- a/files/pt-br/web/javascript/reference/global_objects/string/trim/index.html
+++ b/files/pt-br/web/javascript/reference/global_objects/string/trim/index.html
@@ -16,7 +16,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/Trim
<div>O método <strong><code>trim()</code></strong> remove os espaços em branco (<a href="/pt-BR/docs/DOM/Referencia_do_DOM/Whitespace_in_the_DOM">whitespaces</a>) do início e/ou fim de um texto. É considerado espaço em branco (espaço, tabulação, espaço fixo/rígido, etc.) e todo sinal de fim de linha de texto (LF, CR, etc.).</div>
-<div></div>
+
<h2 id="Sintaxe">Sintaxe</h2>
diff --git a/files/pt-br/web/javascript/reference/operators/spread_syntax/index.html b/files/pt-br/web/javascript/reference/operators/spread_syntax/index.html
index dae68ed262..9485c58ff4 100644
--- a/files/pt-br/web/javascript/reference/operators/spread_syntax/index.html
+++ b/files/pt-br/web/javascript/reference/operators/spread_syntax/index.html
@@ -11,7 +11,7 @@ translation_of: Web/JavaScript/Reference/Operators/Spread_syntax
<div><strong>Sintaxe de Espalhamento (Spread syntax)</strong> permite que um objeto iterável, como uma expressão de array ou uma string seja expandido para ser usado onde zero ou mais argumentos (para chamadas de funções) ou elementos (para arrays <em>literais</em>) são esperados, ou que um objeto seja expandido onde zero ou mais pares <em>propriedade:valor</em> (para objetos <em>literais</em>) são esperados.</div>
-<div></div>
+
<div>{{EmbedInteractiveExample("pages/js/expressions-spreadsyntax.html")}}</div>
diff --git a/files/pt-br/web/javascript/reference/statements/do...while/index.html b/files/pt-br/web/javascript/reference/statements/do...while/index.html
index 7e720a3331..8e999a2e4e 100644
--- a/files/pt-br/web/javascript/reference/statements/do...while/index.html
+++ b/files/pt-br/web/javascript/reference/statements/do...while/index.html
@@ -5,7 +5,7 @@ translation_of: Web/JavaScript/Reference/Statements/do...while
---
<div>{{jsSidebar("Statements")}}</div>
-<div></div>
+
<div>A declaração <strong><code>do...while</code><code> </code></strong>cria um laço que executa uma declaração até que o teste da condição for falsa (false). A condição é avaliada depois que o bloco de código é executado, resultando que uma declaração seja executada pelo menos uma vez.</div>
diff --git a/files/pt-br/web/javascript/reference/statements/function_star_/index.html b/files/pt-br/web/javascript/reference/statements/function_star_/index.html
index 007f2d06bc..8fe1d2e2b5 100644
--- a/files/pt-br/web/javascript/reference/statements/function_star_/index.html
+++ b/files/pt-br/web/javascript/reference/statements/function_star_/index.html
@@ -166,7 +166,7 @@ console.log(bar.next()); // {value: 10, done: false}</code></pre>
<h2 id="Browser_compatibility">Compatibilidade com navegadores</h2>
-<div></div>
+
<div id="compat-mobile">{{Compat("javascript.statements.generator_function")}}</div>