From 6e9fe98036090a37cc6247b873845505e5b512fb Mon Sep 17 00:00:00 2001 From: Tanner Dolby Date: Tue, 22 Feb 2022 01:49:36 -0800 Subject: Removes empty
or

elements from pages (#3093) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 Co-authored-by: Masahiro FUJIMOTO --- files/pt-br/web/javascript/reference/classes/constructor/index.html | 4 ++-- .../javascript/reference/global_objects/array/findindex/index.html | 2 +- files/pt-br/web/javascript/reference/global_objects/index.html | 2 +- .../web/javascript/reference/global_objects/math/random/index.html | 2 +- .../javascript/reference/global_objects/number/toprecision/index.html | 2 +- .../reference/global_objects/object/defineproperty/index.html | 2 +- .../javascript/reference/global_objects/regexp/ignorecase/index.html | 2 +- .../javascript/reference/global_objects/string/endswith/index.html | 2 +- .../web/javascript/reference/global_objects/string/trim/index.html | 2 +- .../pt-br/web/javascript/reference/operators/spread_syntax/index.html | 2 +- files/pt-br/web/javascript/reference/statements/do...while/index.html | 2 +- .../web/javascript/reference/statements/function_star_/index.html | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) (limited to 'files/pt-br/web/javascript/reference') 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 ---

O construtor é um método especial para criar e inicializar um objeto criado a partir de uma classe.
-
-
+ +

Sintaxe

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
{{Compat("javascript.builtins.Array.findIndex")}}
-
+
Veja também
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 --- -

+
{{jsSidebar("Objects")}}
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; } -

+

Pode ser tentandor usar Math.round() para arredondar min e max, mas dessa maneira a aleatoriedade dos números seguiria uma distribuição não-uniforme, que talvez não seja o que você precisa.

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 ---
{{JSRef}}
-
+

O método toPrecision() retorna uma string que representa o valor do objeto {{jsxref("Number")}} com uma precisão específica.

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 ---
{{JSRef}}
-
+

O método Object.defineProperty() define uma nova propriedade diretamente em um objeto, ou modifica uma propriedade já existente em um objeto, e retorna o objeto.

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
regular. 
-
+

{{EmbedInteractiveExample("pages/js/regexp-prototype-ignorecase.html")}}

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 ---
{{JSRef}}
-
+

O método endsWith() indica se uma string termina com determinados caracteres, retornando true ou false.

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
O método trim() remove os espaços em branco (whitespaces) 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.).
-
+

Sintaxe

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
Sintaxe de Espalhamento (Spread syntax) 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 literais) são esperados, ou que um objeto seja expandido onde zero ou mais pares propriedade:valor (para objetos literais) são esperados.
-
+
{{EmbedInteractiveExample("pages/js/expressions-spreadsyntax.html")}}
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 ---
{{jsSidebar("Statements")}}
-
+
A declaração do...while 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.
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}

Compatibilidade com navegadores

-
+
{{Compat("javascript.statements.generator_function")}}
-- cgit v1.2.3-54-g00ecf