mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-12-15 23:37:25 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<div class="warning">
|
||||
<p><strong>重要提示:</strong>由于大型模块的编译可能很消耗资源,开发人员只有在绝对需要同步编译时,才使用 <code>Module()</code> 构造函数;其他情况下,应该使用异步 <a href="Reference/Global_Objects/WebAssembly/compile" title="WebAssembly.compile() 方法编译WebAssembly二进制代码到一个WebAssembly.Module 对象。如果在实例化之前有必要去编译一个模块,那么这个方法是有用的(否则,将会使用WebAssembly.instantiate() 方法)"><code>WebAssembly.compile()</code></a> 方法。</p>
|
||||
</div>
|
||||
<pre class="syntaxbox">var myModule = new WebAssembly.Module(bufferSource);</pre>
|
||||
<pre><code class="language-javascript">var myModule = new WebAssembly.Module(bufferSource);</code></pre>
|
||||
<h3 id="参数">参数</h3>
|
||||
<dl>
|
||||
<dt><em>bufferSource</em></dt>
|
||||
|
||||
Reference in New Issue
Block a user