语法高亮,滚动条美化,设置页面调整

This commit is contained in:
fofolee
2019-04-19 02:41:09 +08:00
parent 1e8f76c000
commit 359d29ee0b
1590 changed files with 12328 additions and 11441 deletions

View File

@@ -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>