diff options
author | Peter Bengtsson <mail@peterbe.com> | 2021-02-25 08:31:36 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2021-02-25 08:31:36 -0500 |
commit | 97065b2e68dd8768dc1ea092c893c57ebe205026 (patch) | |
tree | 11bf4a1114c543989c24c7a801ba379b2c20a30c /files/pt-br/web/javascript | |
parent | d1794f6b276285489b417053507f432a14be31df (diff) | |
download | translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.gz translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.bz2 translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.zip |
use class="hidden" not style="display:none"
Diffstat (limited to 'files/pt-br/web/javascript')
7 files changed, 8 insertions, 9 deletions
diff --git a/files/pt-br/web/javascript/guide/regular_expressions/index.html b/files/pt-br/web/javascript/guide/regular_expressions/index.html index 41cc239d94..038cccb762 100644 --- a/files/pt-br/web/javascript/guide/regular_expressions/index.html +++ b/files/pt-br/web/javascript/guide/regular_expressions/index.html @@ -58,7 +58,7 @@ translation_of: Web/JavaScript/Guide/Regular_Expressions <p>A tabela abaixo fornece uma lista completa dos caracteres especiais que podem ser utilizados nas expressões regulares, com sua respectiva descrição. Para testar os exemplos de expressão regular você pode usar o <a href="http://regexr.com/">regExr</a>.</p> <table class="fullwidth-table"> - <caption>Caracteres especiais utilizados em expressões regulares.<span style="display: none;"> </span><span style="display: none;"> </span></caption> + <caption>Caracteres especiais utilizados em expressões regulares.<span class="hidden"> </span><span class="hidden"> </span></caption> <thead> <tr> <th scope="col">Caractere</th> diff --git a/files/pt-br/web/javascript/reference/global_objects/array/filter/index.html b/files/pt-br/web/javascript/reference/global_objects/array/filter/index.html index ce591d2cac..9daed5325a 100644 --- a/files/pt-br/web/javascript/reference/global_objects/array/filter/index.html +++ b/files/pt-br/web/javascript/reference/global_objects/array/filter/index.html @@ -225,4 +225,4 @@ console.log(filterItems('an')); // ['banana', 'mango', 'orange']</pre> <li>{{jsxref("Array.prototype.reduce()")}}</li> </ul> -<div id="link64_adl_tabid" style="display: none;">24</div> +<div id="link64_adl_tabid" class="hidden">24</div> diff --git a/files/pt-br/web/javascript/reference/global_objects/array/sort/index.html b/files/pt-br/web/javascript/reference/global_objects/array/sort/index.html index 6b1f8fcc15..12f2fc1fcc 100644 --- a/files/pt-br/web/javascript/reference/global_objects/array/sort/index.html +++ b/files/pt-br/web/javascript/reference/global_objects/array/sort/index.html @@ -229,4 +229,4 @@ var result = mapped.map(function(el){ <li>{{jsxref("String.prototype.localeCompare()")}}</li> </ul> -<div id="link64_adl_tabid" style="display: none;">253</div> +<div id="link64_adl_tabid" class="hidden">253</div> diff --git a/files/pt-br/web/javascript/reference/global_objects/map/set/index.html b/files/pt-br/web/javascript/reference/global_objects/map/set/index.html index e161bb2926..2f50555333 100644 --- a/files/pt-br/web/javascript/reference/global_objects/map/set/index.html +++ b/files/pt-br/web/javascript/reference/global_objects/map/set/index.html @@ -56,10 +56,10 @@ myMap.set('bar', 'baz'); <tr> <td>{{SpecName('ES2015', '#sec-map.prototype.set', 'Map.prototype.set')}}</td> <td>{{Spec2('ES2015')}}</td> - <td><span style="display: none;"> </span>Definição inicial.</td> + <td><span class="hidden"> </span>Definição inicial.</td> </tr> <tr> - <td><span style="display: none;"> </span>{{SpecName('ESDraft', '#sec-map.prototype.set', 'Map.prototype.set')}}</td> + <td><span class="hidden"> </span>{{SpecName('ESDraft', '#sec-map.prototype.set', 'Map.prototype.set')}}</td> <td>{{Spec2('ESDraft')}}</td> <td> </td> </tr> diff --git a/files/pt-br/web/javascript/reference/global_objects/math/cos/index.html b/files/pt-br/web/javascript/reference/global_objects/math/cos/index.html index c0b0662477..566f343230 100644 --- a/files/pt-br/web/javascript/reference/global_objects/math/cos/index.html +++ b/files/pt-br/web/javascript/reference/global_objects/math/cos/index.html @@ -14,7 +14,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/cos --- <div>{{JSRef}}</div> -<p><span style="display: none;"> </span><span class="seoSummary">A função <strong><code>Math.cos()</code></strong> ,que é estatica, retorna o {{interwiki("wikipedia", "cosseno")}} de um ângulo, que deve estar em {{interwiki("wikipedia", "radianos")}}. A expressão é </span><math style="display: inline;"> <mstyle displaystyle="true"> <mfrac> <msub> <mrow> <mtext>length</mtext> </mrow> <mrow> <mrow> <mtext>adjacent</mtext> </mrow> </mrow> </msub> <msub> <mrow> <mtext>length</mtext> </mrow> <mrow> <mrow> <mtext>hypotenuse</mtext> </mrow> </mrow> </msub> </mfrac> </mstyle> </math>.<span style="display: none;"> </span></p> +<p><span class="hidden"> </span><span class="seoSummary">A função <strong><code>Math.cos()</code></strong> ,que é estatica, retorna o {{interwiki("wikipedia", "cosseno")}} de um ângulo, que deve estar em {{interwiki("wikipedia", "radianos")}}. A expressão é </span><math style="display: inline;"> <mstyle displaystyle="true"> <mfrac> <msub> <mrow> <mtext>length</mtext> </mrow> <mrow> <mrow> <mtext>adjacent</mtext> </mrow> </mrow> </msub> <msub> <mrow> <mtext>length</mtext> </mrow> <mrow> <mrow> <mtext>hypotenuse</mtext> </mrow> </mrow> </msub> </mfrac> </mstyle> </math>.<span class="hidden"> </span></p> <div>{{EmbedInteractiveExample("pages/js/math-cos.html")}}</div> diff --git a/files/pt-br/web/javascript/reference/global_objects/number/index.html b/files/pt-br/web/javascript/reference/global_objects/number/index.html index a21a4264af..b7d967a8f1 100644 --- a/files/pt-br/web/javascript/reference/global_objects/number/index.html +++ b/files/pt-br/web/javascript/reference/global_objects/number/index.html @@ -110,7 +110,7 @@ var minInt = -9007199254740992; <p>Ao analisar dados que foram serializados para JSON, valores inteiros que caem fora desse intervalo podem ser corrompidos quando o analisador JSON os converte ao tipo <code>Number</code>. Usando <code>String </code>em vez disso é uma possível alternativa para se evitar um resultado indesejado.</p> -<h3 id="Example:_Using_Number_to_convert_a_Date_object" name="Example:_Using_Number_to_convert_a_Date_object"><span style="display: none;"> </span>Exemplo: Usando <code>Number para converter um objeto</code> <code>Date</code></h3> +<h3 id="Example:_Using_Number_to_convert_a_Date_object" name="Example:_Using_Number_to_convert_a_Date_object"><span class="hidden"> </span>Exemplo: Usando <code>Number para converter um objeto</code> <code>Date</code></h3> <p>O exemplo a seguir converte o objeto <code>Date</code> para um valor numérico usando <code>Number como uma função</code>:</p> diff --git a/files/pt-br/web/javascript/reference/global_objects/promise/index.html b/files/pt-br/web/javascript/reference/global_objects/promise/index.html index d3d0e76322..37453735b1 100644 --- a/files/pt-br/web/javascript/reference/global_objects/promise/index.html +++ b/files/pt-br/web/javascript/reference/global_objects/promise/index.html @@ -75,7 +75,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise <h3 id="Criando_uma_Promise">Criando uma Promise</h3> -<pre class="brush: html notranslate" style="display: none;"><button id="btn">Make a promise!</button> <div id="log"></div> </pre> @@ -119,7 +118,7 @@ function testPromise() { } </pre> -<pre class="brush:js notranslate" style="display: none;">if ("Promise" in window) { +<pre class="brush:js notranslate" class="hidden">if ("Promise" in window) { btn = document.getElementById("btn"); btn.addEventListener("click",testPromise); } |