|
|
@@ -36,14 +36,14 @@
|
|
|
<?js } ?>
|
|
|
<?js if (doc.codeExample) { ?>
|
|
|
<h2>Code Example</h2>
|
|
|
- <?js= doc.codeExample ?>
|
|
|
+ <div translate="no"><?js= doc.codeExample ?></div>
|
|
|
<?js } ?>
|
|
|
</header>
|
|
|
<article>
|
|
|
<?js if (doc.import) { ?>
|
|
|
<h2 class="subsection-title">Import</h2>
|
|
|
- <p><?js= doc.name ?> is an addon, and must be imported explicitly, see <a href="https://threejs.org/manual/#en/installation" target="_blank">Installation#Addons</a>.</p>
|
|
|
- <pre class="prettyprint source lang-js"><code><?js= doc.import ?></code></pre>
|
|
|
+ <p><span translate="no"><?js= doc.name ?></span> is an addon, and must be imported explicitly, see <a href="https://threejs.org/manual/#en/installation" target="_blank">Installation#Addons</a>.</p>
|
|
|
+ <pre class="prettyprint source lang-js" translate="no"><code><?js= doc.import ?></code></pre>
|
|
|
<?js } ?>
|
|
|
<div class="container-overview">
|
|
|
<?js if (doc.kind === 'module' && doc.modules) { ?>
|
|
|
@@ -156,7 +156,7 @@
|
|
|
<?js if (doc.meta && doc.meta.shortpath) { ?>
|
|
|
<h2 class="subsection-title">Source</h2>
|
|
|
<p>
|
|
|
- <a href="https://github.com/mrdoob/three.js/blob/master/<?js= doc.meta.shortpath ?>" target="_blank" rel="noopener"><?js= doc.meta.shortpath ?></a>
|
|
|
+ <a href="https://github.com/mrdoob/three.js/blob/master/<?js= doc.meta.shortpath ?>" target="_blank" rel="noopener" translate="no"><?js= doc.meta.shortpath ?></a>
|
|
|
</p>
|
|
|
<?js } ?>
|
|
|
</article>
|