aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/web/javascript/reference
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2021-02-25 08:31:36 -0500
committerPeter Bengtsson <mail@peterbe.com>2021-02-25 08:31:36 -0500
commit97065b2e68dd8768dc1ea092c893c57ebe205026 (patch)
tree11bf4a1114c543989c24c7a801ba379b2c20a30c /files/pt-br/web/javascript/reference
parentd1794f6b276285489b417053507f432a14be31df (diff)
downloadtranslated-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/reference')
-rw-r--r--files/pt-br/web/javascript/reference/global_objects/array/filter/index.html2
-rw-r--r--files/pt-br/web/javascript/reference/global_objects/array/sort/index.html2
-rw-r--r--files/pt-br/web/javascript/reference/global_objects/map/set/index.html4
-rw-r--r--files/pt-br/web/javascript/reference/global_objects/math/cos/index.html2
-rw-r--r--files/pt-br/web/javascript/reference/global_objects/number/index.html2
-rw-r--r--files/pt-br/web/javascript/reference/global_objects/promise/index.html3
6 files changed, 7 insertions, 8 deletions
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;">&lt;button id="btn"&gt;Make a promise!&lt;/button&gt;
&lt;div id="log"&gt;&lt;/div&gt;
</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);
}