This repository has been archived by the owner on Nov 21, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
52 changed files
with
390 additions
and
390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ | |
|
||
<div class="content clearfix"><h1>io.js 运行 ES6</h1> | ||
<p>io.js 是基于 <a href="https://code.google.com/p/v8/">V8</a> 引擎的较新版本构建的。通过持续跟进最新版的 V8 引擎,我们可以保证及时地为开发者带来最新的 <a href="http://www.ecma-international.org/publications/standards/Ecma-262.htm">JavaScript ECMA-262 规范</a> 中的语言特性,同时也能得到性能和稳定性的提升。</p> | ||
<p>io.js 1.4.2 集成了 V8 4.1.0.21 版本,其中包含的 ES6 特性远超 joyent/[email protected] 集成的 3.26.33 版本所包含的。</p> | ||
<p>io.js 1.4.3 集成了 V8 4.1.0.21 版本,其中包含的 ES6 特性远超 joyent/[email protected] 集成的 3.26.33 版本所包含的。</p> | ||
<h2>干掉 --harmony</h2> | ||
<p>在 joyent/[email protected] (V8 3.26) 版本中,<code>--harmony</code> 运行时参数会一并开启所有 <strong>已完成</strong>,<strong>待完成</strong> 和 <strong>修订中</strong> 的 ES6 的一大堆特性 (除了 <code>typeof</code> 的非标准/不确定的特性需要通过 <code>--harmony-typeof</code> 开启之外)。这就意味着一些真正鸡肋甚至废弃的特性,譬如 <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy">proxies</a> 都会像 <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*">generators</a> 那样开放给开发者,它们很偏门,甚至缺少相关资料。因此,最好的做法是,要么通过加特定参数(例如 <code>--harmony-generators</code>) 开启稳定的特性,要么直接开启全部但严格地使用特定部分特性。</p> | ||
<p>使用 [email protected] (V8 4.1+),妈妈再也不担心我了。所有的特性在逻辑上被分为 <strong>已完成</strong>,<strong>待完成</strong> 和 <strong>修订中</strong> 三部分:</p> | ||
|
@@ -136,11 +136,11 @@ <h2>如何查阅某一版本的 io.js 所集成的 V8 的版本?</h2> | |
<!-- | ||
=========== BUILD INFORMATION =========== | ||
Build Time: 2015-03-01 00:47:46 UTC | ||
Build Time: 2015-03-01 00:59:13 UTC | ||
Commit Sha: e00b7f5270dc4ea17df8c6a6dccdd124244b2fff | ||
Commit Msg: Fixes to the order for when handlebars should execute on markdown | ||
Hashsum: 83b91f97b2f161c4b80e9cba3e9cf8d83cbcccbb | ||
Commit Sha: 94d6715bb4c3660b4177c84ad0c8234e8e5ac00d | ||
Commit Msg: Generated public/ with latest version (1.4.2) | ||
Hashsum: eb2b33d6d6bd1e1a91d2c6037af5fe610dbf3b8c | ||
=========== END BUILD INFORMATION =========== | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ | |
|
||
<div class="content clearfix"><h1>ES6 on io.js</h1> | ||
<p>io.js is built against modern versions of <a href="https://code.google.com/p/v8/">V8</a>. By keeping up-to-date with the latest releases of this engine we ensure new features from the <a href="http://www.ecma-international.org/publications/standards/Ecma-262.htm">JavaScript ECMA-262 specification</a> are brought to io.js developers in a timely manner, as well as continued performance and stability improvements.</p> | ||
<p>Version 1.4.2 of io.js ships with V8 4.1.0.21, which includes ES6 features well beyond version 3.26.33 that will be shipped with joyent/[email protected].</p> | ||
<p>Version 1.4.3 of io.js ships with V8 4.1.0.21, which includes ES6 features well beyond version 3.26.33 that will be shipped with joyent/[email protected].</p> | ||
<h2>No more --harmony flag</h2> | ||
<p>On joyent/[email protected] (V8 3.26), the <code>--harmony</code> runtime flag enabled all <strong>completed</strong>, <strong>staged</strong> and <strong>in progress</strong> ES6 features together, in bulk (with the exception of nonstandard/non-harmonious semantics for <code>typeof</code> which were hidden under <code>--harmony-typeof</code>). This meant that some really buggy or even broken features like <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy">proxies</a> were just as readily available for developers as <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*">generators</a>, which had very little or even no known-issues. As such, it was best practice to either enable only certain features by using specific runtime harmony feature flags (e.g. <code>--harmony-generators</code>), or simply enable all of them and then use a restricted subset.</p> | ||
<p>With [email protected] (V8 4.1+), all that complexity goes away. All harmony features are now logically split into three groups for <strong>shipping</strong>, <strong>staged</strong> and <strong>in progress</strong> features:</p> | ||
|
@@ -136,11 +136,11 @@ <h2>How do I find which version of V8 ships with a particular version of io.js?< | |
<!-- | ||
=========== BUILD INFORMATION =========== | ||
Build Time: 2015-03-01 00:47:46 UTC | ||
Build Time: 2015-03-01 00:59:13 UTC | ||
Commit Sha: e00b7f5270dc4ea17df8c6a6dccdd124244b2fff | ||
Commit Msg: Fixes to the order for when handlebars should execute on markdown | ||
Hashsum: 6948ad511e9fd56b306edffbbb6c6d07f651e31f | ||
Commit Sha: 94d6715bb4c3660b4177c84ad0c8234e8e5ac00d | ||
Commit Msg: Generated public/ with latest version (1.4.2) | ||
Hashsum: 06df43c27dbdb481d58f78ce82cf765eb7943bcd | ||
=========== END BUILD INFORMATION =========== | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ | |
|
||
<div class="content clearfix"><h1>ES6 on io.js</h1> | ||
<p>io.js is built against modern versions of <a href="https://code.google.com/p/v8/">V8</a>. By keeping up-to-date with the latest releases of this engine we ensure new features from the <a href="http://www.ecma-international.org/publications/standards/Ecma-262.htm">JavaScript ECMA-262 specification</a> are brought to io.js developers in a timely manner, as well as continued performance and stability improvements.</p> | ||
<p>Version 1.4.2 of io.js ships with V8 4.1.0.21, which includes ES6 features well beyond version 3.26.33 that will be shipped with joyent/[email protected].</p> | ||
<p>Version 1.4.3 of io.js ships with V8 4.1.0.21, which includes ES6 features well beyond version 3.26.33 that will be shipped with joyent/[email protected].</p> | ||
<h2>No more --harmony flag</h2> | ||
<p>On joyent/[email protected] (V8 3.26), the <code>--harmony</code> runtime flag enabled all <strong>completed</strong>, <strong>staged</strong> and <strong>in progress</strong> ES6 features together, in bulk (with the exception of nonstandard/non-harmonious semantics for <code>typeof</code> which were hidden under <code>--harmony-typeof</code>). This meant that some really buggy or even broken features like <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy">proxies</a> were just as readily available for developers as <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*">generators</a>, which had very little or even no known-issues. As such, it was best practice to either enable only certain features by using specific runtime harmony feature flags (e.g. <code>--harmony-generators</code>), or simply enable all of them and then use a restricted subset.</p> | ||
<p>With [email protected] (V8 4.1+), all that complexity goes away. All harmony features are now logically split into three groups for <strong>shipping</strong>, <strong>staged</strong> and <strong>in progress</strong> features:</p> | ||
|
@@ -136,11 +136,11 @@ <h2>How do I find which version of V8 ships with a particular version of io.js?< | |
<!-- | ||
=========== BUILD INFORMATION =========== | ||
Build Time: 2015-03-01 00:47:46 UTC | ||
Build Time: 2015-03-01 00:59:13 UTC | ||
Commit Sha: e00b7f5270dc4ea17df8c6a6dccdd124244b2fff | ||
Commit Msg: Fixes to the order for when handlebars should execute on markdown | ||
Hashsum: 1c86f776229a964c85207bd88c1eab74a918b0da | ||
Commit Sha: 94d6715bb4c3660b4177c84ad0c8234e8e5ac00d | ||
Commit Msg: Generated public/ with latest version (1.4.2) | ||
Hashsum: b6e28ffb11196e3a751f2a8f15c1cbb9836c3b82 | ||
=========== END BUILD INFORMATION =========== | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ | |
|
||
<div class="content clearfix"><h1>ES6 on io.js</h1> | ||
<p>io.js is built against modern versions of <a href="https://code.google.com/p/v8/">V8</a>. By keeping up-to-date with the latest releases of this engine we ensure new features from the <a href="http://www.ecma-international.org/publications/standards/Ecma-262.htm">JavaScript ECMA-262 specification</a> are brought to io.js developers in a timely manner, as well as continued performance and stability improvements.</p> | ||
<p>Version 1.4.2 of io.js ships with V8 4.1.0.21, which includes ES6 features well beyond version 3.26.33 that will be shipped with joyent/[email protected].</p> | ||
<p>Version 1.4.3 of io.js ships with V8 4.1.0.21, which includes ES6 features well beyond version 3.26.33 that will be shipped with joyent/[email protected].</p> | ||
<h2>No more --harmony flag</h2> | ||
<p>On joyent/[email protected] (V8 3.26), the <code>--harmony</code> runtime flag enabled all <strong>completed</strong>, <strong>staged</strong> and <strong>in progress</strong> ES6 features together, in bulk (with the exception of nonstandard/non-harmonious semantics for <code>typeof</code> which were hidden under <code>--harmony-typeof</code>). This meant that some really buggy or even broken features like <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy">proxies</a> were just as readily available for developers as <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*">generators</a>, which had very little or even no known-issues. As such, it was best practice to either enable only certain features by using specific runtime harmony feature flags (e.g. <code>--harmony-generators</code>), or simply enable all of them and then use a restricted subset.</p> | ||
<p>With [email protected] (V8 4.1+), all that complexity goes away. All harmony features are now logically split into three groups for <strong>shipping</strong>, <strong>staged</strong> and <strong>in progress</strong> features:</p> | ||
|
@@ -136,11 +136,11 @@ <h2>How do I find which version of V8 ships with a particular version of io.js?< | |
<!-- | ||
=========== BUILD INFORMATION =========== | ||
Build Time: 2015-03-01 00:47:46 UTC | ||
Build Time: 2015-03-01 00:59:13 UTC | ||
Commit Sha: e00b7f5270dc4ea17df8c6a6dccdd124244b2fff | ||
Commit Msg: Fixes to the order for when handlebars should execute on markdown | ||
Hashsum: 354820e84f3c74ebf320914bb9d14f739e394b30 | ||
Commit Sha: 94d6715bb4c3660b4177c84ad0c8234e8e5ac00d | ||
Commit Msg: Generated public/ with latest version (1.4.2) | ||
Hashsum: 0763a32cc8b4bce7c56c7ada10a695af09b20834 | ||
=========== END BUILD INFORMATION =========== | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.