Skip to content

Commit

Permalink
remove notranslate 3 (#2509)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe authored Feb 19, 2021
1 parent f6f11d2 commit 56d9a67
Show file tree
Hide file tree
Showing 1,000 changed files with 1,699 additions and 1,699 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/accelerometer/accelerometer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <var>accelerometer</var> = new Accelerometer([<em>options</em>])</pre>
<pre class="brush: js">var <var>accelerometer</var> = new Accelerometer([<em>options</em>])</pre>

<h3 id="Parameters">Parameters</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/accelerometer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h2 id="Example">Example</h2>

<p>Acceleration is typically read in the {{domxref('Sensor.onreading')}} event callback. In the example below this occurs sixty times a second.</p>

<pre class="brush: js notranslate">let acl = new Accelerometer({frequency: 60});
<pre class="brush: js">let acl = new Accelerometer({frequency: 60});

acl.addEventListener('reading', () =&gt; {
  console.log("Acceleration along the X-axis " + acl.x);
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/accelerometer/x/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <var>xAcceleration</var> = <var>accelerometer</var>.x</pre>
<pre class="brush: js">var <var>xAcceleration</var> = <var>accelerometer</var>.x</pre>

<h3 id="Value">Value</h3>

Expand All @@ -31,7 +31,7 @@ <h2 id="Example">Example</h2>

<p>Acceleration is typically read in the {{domxref('Sensor.onreading')}} event callback. In the example below this occurs sixty times a second.</p>

<pre class="brush: js notranslate">let accelerometer = new Accelerometer({frequency: 60});
<pre class="brush: js">let accelerometer = new Accelerometer({frequency: 60});

accelerometer.addEventListener('reading', e =&gt; {
  console.log("Acceleration along the X-axis " + accelerometer.x);
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/accelerometer/y/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <var>yAcceleration</var> = <var>accelerometer</var>.y</pre>
<pre class="brush: js">var <var>yAcceleration</var> = <var>accelerometer</var>.y</pre>

<h3 id="Value">Value</h3>

Expand All @@ -31,7 +31,7 @@ <h2 id="Example">Example</h2>

<p>Acceleration is typically read in the {{domxref('Sensor.onreading')}} event callback. In the example below this occurs sixty times a second.</p>

<pre class="brush: js notranslate">let accelerometer = new Accelerometer({frequency: 60});
<pre class="brush: js">let accelerometer = new Accelerometer({frequency: 60});

accelerometer.addEventListener('reading', e =&gt; {
  console.log("Acceleration along the X-axis " + accelerometer.x);
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/accelerometer/z/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <var>zAcceleration</var> = <var>accelerometer</var>.z</pre>
<pre class="brush: js">var <var>zAcceleration</var> = <var>accelerometer</var>.z</pre>

<h3 id="Value">Value</h3>

Expand All @@ -31,7 +31,7 @@ <h2 id="Example">Example</h2>

<p>Acceleration is typically read in the {{domxref('Sensor.onreading')}} event callback. In the example below this occurs sixty times a second.</p>

<pre class="brush: js notranslate">let accelerometer = new Accelerometer({frequency: 60});
<pre class="brush: js">let accelerometer = new Accelerometer({frequency: 60});

accelerometer.addEventListener('reading', e =&gt; {
  console.log("Acceleration along the X-axis " + accelerometer.x);
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/analysernode/analysernode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <var>analyserNode</var> = new AnalyserNode(<var>context</var>, ?<var>options</var>);</pre>
<pre class="brush: js">var <var>analyserNode</var> = new AnalyserNode(<var>context</var>, ?<var>options</var>);</pre>

<h3 id="Parameters">Parameters</h3>

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/analysernode/fftsize/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>curValue</em> = <em>analyserNode</em>.fftSize;
<pre class="brush: js">var <em>curValue</em> = <em>analyserNode</em>.fftSize;
<em>analyserNode</em>.fftSize = <em>newValue</em>;
</pre>

Expand All @@ -31,7 +31,7 @@ <h2 id="Example">Example</h2>

<p>The following example shows basic usage of an {{domxref("AudioContext")}} to create an <code>AnalyserNode</code>, then {{domxref("window.requestAnimationFrame()","requestAnimationFrame")}} and {{htmlelement("canvas")}} to collect time domain data repeatedly and draw an "oscilloscope style" output of the current audio input. For more complete applied examples/information, check out our <a href="https://mdn.github.io/voice-change-o-matic/">Voice-change-O-matic</a> demo (see <a href="https://github.com/mdn/voice-change-o-matic/blob/gh-pages/scripts/app.js#L128-L205">app.js lines 128–205</a> for relevant code).</p>

<pre class="brush: js notranslate">var audioCtx = new (window.AudioContext || window.webkitAudioContext)();
<pre class="brush: js">var audioCtx = new (window.AudioContext || window.webkitAudioContext)();
var analyser = audioCtx.createAnalyser();

...
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/analysernode/frequencybincount/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>arrayLength</em> = <em>analyserNode</em>.frequencyBinCount;
<pre class="brush: js">var <em>arrayLength</em> = <em>analyserNode</em>.frequencyBinCount;
</pre>

<h3 id="Value">Value</h3>
Expand All @@ -28,7 +28,7 @@ <h2 id="Example">Example</h2>

<p>The following example shows basic usage of an {{domxref("AudioContext")}} to create an <code>AnalyserNode</code>, then {{domxref("window.requestAnimationFrame()","requestAnimationFrame")}} and {{htmlelement("canvas")}} to collect frequency data repeatedly and draw a "winamp bargraph style" output of the current audio input. For more complete applied examples/information, check out our <a href="https://mdn.github.io/voice-change-o-matic/">Voice-change-O-matic</a> demo (see <a href="https://github.com/mdn/voice-change-o-matic/blob/gh-pages/scripts/app.js#L128-L205">app.js lines 128–205</a> for relevant code).</p>

<pre class="brush: js notranslate">var audioCtx = new (window.AudioContext || window.webkitAudioContext)();
<pre class="brush: js">var audioCtx = new (window.AudioContext || window.webkitAudioContext)();
var analyser = audioCtx.createAnalyser();
analyser.minDecibels = -90;
analyser.maxDecibels = -10;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var audioCtx = new AudioContext();
<pre class="brush: js">var audioCtx = new AudioContext();
var analyser = audioCtx.createAnalyser();
var dataArray = new Float32Array(analyser.frequencyBinCount); // Float32Array should be the same length as the frequencyBinCount

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/analysernode/maxdecibels/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>curValue</em> = <em>analyserNode</em>.maxDecibels;
<pre class="brush: js">var <em>curValue</em> = <em>analyserNode</em>.maxDecibels;
<em>analyserNode</em>.maxDecibels = <em>newValue</em>;
</pre>

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/animation/animation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>animation</em> = new Animation([<em>effect</em>][, <em>timeline</em>]);</pre>
<pre class="brush: js">var <em>animation</em> = new Animation([<em>effect</em>][, <em>timeline</em>]);</pre>

<h3 id="Parameters">Parameters</h3>

Expand All @@ -30,7 +30,7 @@ <h2 id="Examples">Examples</h2>

<p>In the <a href="http://codepen.io/rachelnabors/pen/eJyWzm/?editors=0010">Follow the White Rabbit example</a>, the <code>Animation()</code> constructor is used to create an <code>Animation</code> for the <code>rabbitDownKeyframes</code> using the document's <code>timeline</code>:</p>

<pre class="brush: js notranslate">var rabbitDownAnimation = new Animation(rabbitDownKeyframes, document.timeline);
<pre class="brush: js">var rabbitDownAnimation = new Animation(rabbitDownKeyframes, document.timeline);
</pre>

<h2 id="Specifications">Specifications</h2>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/cancel/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate"><em>Animation</em>.cancel();</pre>
<pre class="brush: js"><em>Animation</em>.cancel();</pre>

<h3 id="Parameters">Parameters</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/commitstyles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate"><em>animation</em>.commitStyles();</pre>
<pre class="brush: js"><em>animation</em>.commitStyles();</pre>

<h3 id="Parameters">Parameters</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/currenttime/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>currentTime</em> = <em>Animation</em>.currentTime;
<pre class="brush: js">var <em>currentTime</em> = <em>Animation</em>.currentTime;
<em>Animation</em>.currentTime =<em> newTime;</em></pre>

<h3 id="Value">Value</h3>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/effect/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>effect</em> = <em>Animation</em>.effect;
<pre class="brush: js">var <em>effect</em> = <em>Animation</em>.effect;

<em>Animation</em>.effect = <em>{{domxref("AnimationEffect")}}</em></pre>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/finish/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate"><em>Animation</em>.finish(); </pre>
<pre class="brush: js"><em>Animation</em>.finish(); </pre>

<h3 id="Parameters">Parameters</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/finished/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>animationsPromise</em> = <em>Animation.</em>finished;
<pre class="brush: js">var <em>animationsPromise</em> = <em>Animation.</em>finished;
</pre>

<h3 id="Value">Value</h3>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/id/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>animationsId</em> = <em>Animation</em>.id;
<pre class="brush: js">var <em>animationsId</em> = <em>Animation</em>.id;

<em>Animation</em>.id = <em>newIdString</em>;
</pre>
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/animation/oncancel/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>cancelHandler</em> = <em>Animation</em>.oncancel;
<pre class="brush: js">var <em>cancelHandler</em> = <em>Animation</em>.oncancel;

<em>Animation</em>.oncancel = <em>cancelHandler</em>;</pre>

Expand All @@ -35,7 +35,7 @@ <h2 id="Examples">Examples</h2>

<p>If this animation is canceled, remove its element.</p>

<pre class="brush: js notranslate">animation.oncancel = function() { animation.effect.target.remove(); };
<pre class="brush: js">animation.oncancel = function() { animation.effect.target.remove(); };
</pre>

<h2 id="Specifications">Specifications</h2>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/onfinish/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>finishHandler</em> = <em>Animation</em>.onfinish;
<pre class="brush: js">var <em>finishHandler</em> = <em>Animation</em>.onfinish;

<em>Animation</em>.onfinish = <em>finishHandler</em>;</pre>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/onremove/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>removeHandler</em> = <em>animation</em>.onremove;
<pre class="brush: js">var <em>removeHandler</em> = <em>animation</em>.onremove;

<em>animation</em>.onremove = <em>removeHandler</em>;</pre>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/pause/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">animation.pause();
<pre class="brush: js">animation.pause();
</pre>

<h3 id="Parameters">Parameters</h3>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/pending/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>pending</em> = <em>Animation</em>.pending;
<pre class="brush: js">var <em>pending</em> = <em>Animation</em>.pending;
</pre>

<h3 id="Value">Value</h3>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/persist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate"><em>animation</em>.persist(); </pre>
<pre class="brush: js"><em>animation</em>.persist(); </pre>

<h3 id="Parameters">Parameters</h3>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/play/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">animation.play();
<pre class="brush: js">animation.play();
</pre>

<h3 id="Parameters">Parameters</h3>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/playbackrate/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>currentPlaybackRate</em> = <em>Animation</em>.playbackRate;
<pre class="brush: js">var <em>currentPlaybackRate</em> = <em>Animation</em>.playbackRate;

<em>Animation</em>.playbackRate = <em>newRate</em>;
</pre>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/playstate/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>currentPlayState</em> = <em>Animation</em>.playState;
<pre class="brush: js">var <em>currentPlayState</em> = <em>Animation</em>.playState;

<em>Animation</em>.playState = <em>newState</em>;
</pre>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/ready/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>readyPromise</em> = <em>Animation</em>.ready;
<pre class="brush: js">var <em>readyPromise</em> = <em>Animation</em>.ready;
</pre>

<h3 id="Value">Value</h3>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/replacestate/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">let <em>myReplaceState</em> = <em>Animation</em>.replaceState;
<pre class="brush: js">let <em>myReplaceState</em> = <em>Animation</em>.replaceState;
</pre>

<h3 id="Value">Value</h3>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/reverse/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">animation.reverse();
<pre class="brush: js">animation.reverse();
</pre>

<h3 id="Parameters">Parameters</h3>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/starttime/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>animationStartedWhen</em> = <em>Animation</em>.startTime;
<pre class="brush: js">var <em>animationStartedWhen</em> = <em>Animation</em>.startTime;

<em>Animation</em>.startTime = <em>newStartTime</em>;</pre>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animation/timeline/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate">var <em>animationsTimeline</em> = <em>Animation</em>.timeline;
<pre class="brush: js">var <em>animationsTimeline</em> = <em>Animation</em>.timeline;

<em>Animation</em>.timeline = <em>newTimeline</em>;</pre>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<h2 id="Syntax">Syntax</h2>

<pre
class="brush: js notranslate"><em>Animation</em>.updatePlaybackRate(2); </pre>
class="brush: js"><em>Animation</em>.updatePlaybackRate(2); </pre>

<h3 id="Parameters">Parameters</h3>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<h2 id="Syntax">Syntax</h2>

<pre class="brush: js notranslate"><em>animationEvent</em> = new AnimationEvent(<em>type</em>, {animationName: <em>aPropertyName</em>,
<pre class="brush: js"><em>animationEvent</em> = new AnimationEvent(<em>type</em>, {animationName: <em>aPropertyName</em>,
elapsedTime : <em>aFloat</em>,
pseudoElement: <em>aPseudoElementName</em>});
</pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<h2 id="Syntax">Syntax</h2>

<pre
class="brush: js notranslate"><em>name</em> = <em>AnimationEvent</em>.animationName</pre>
class="brush: js"><em>name</em> = <em>AnimationEvent</em>.animationName</pre>

<h2 id="Specifications">Specifications</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/animationevent/elapsedtime/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<h2 id="Syntax">Syntax</h2>

<pre
class="brush: js notranslate">time = <em>AnimationEvent</em>.elapsedTime</pre>
class="brush: js">time = <em>AnimationEvent</em>.elapsedTime</pre>

<h2 id="Specifications">Specifications</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h2 id="Summary">Summary</h2>
<h2 id="Syntax">Syntax</h2>

<pre
class="brush: js notranslate"><em>animationEvent</em>.initAnimationEvent(<em>typeArg</em>, <em>canBubbleArg</em>, <em>cancelableArg</em>, <em>animationNameArg</em>, <em>elapsedTimeArg</em>);</pre>
class="brush: js"><em>animationEvent</em>.initAnimationEvent(<em>typeArg</em>, <em>canBubbleArg</em>, <em>cancelableArg</em>, <em>animationNameArg</em>, <em>elapsedTimeArg</em>);</pre>

<h3 id="Parameters">Parameters</h3>

Expand Down
Loading

0 comments on commit 56d9a67

Please sign in to comment.