@samitouri / QOS-React-2 / commits / e02bd0543f

add highlight to a line of code to tutorial20.js (all languages included)

Matthew committed Nov 24, 2015 at 01:23 UTC e02bd0543f801a793cb6bcbe7dfa5305cd2b22ed
5 files changed +5 -5
docs/docs/tutorial.it-IT.md
+1 -1
@@ -657,7 +657,7 @@ var CommentBox = React.createClass({
657
658 La nostra applicazione è adesso completa, ma aspettare che la richiesta completi prima di vedere il commento apparire nella lista la fa sembrare lenta. Possiamo aggiungere ottimisticamente questo commento alla lista per fare apparire l'applicazione più veloce.
659
660 -```javascript{17-19}
660 +```javascript{17-19,29}
661 // tutorial20.js
662 var CommentBox = React.createClass({
663 loadCommentsFromServer: function() {
docs/docs/tutorial.ja-JP.md
+1 -1
@@ -653,7 +653,7 @@ var CommentBox = React.createClass({
653
654 アプリケーションに必要な機能は一通り実装できました。しかし、フォームからコメントを送信しても、サーバからのレスポンスが来るまで自分のコメントはリストに載らないため、アプリの動作は遅く感じます。ここでは、送信したコメントをリストに先読みさせて、アプリの体感速度をアップさせましょう。
655
656 -```javascript{17-19}
656 +```javascript{17-19,29}
657 // tutorial20.js
658 var CommentBox = React.createClass({
659 loadCommentsFromServer: function() {
docs/docs/tutorial.ko-KR.md
+1 -1
@@ -662,7 +662,7 @@ var CommentBox = React.createClass({
662
663 우리의 애플리케이션은 이제 모든 기능을 갖추었습니다. 하지만 댓글이 목록에 업데이트되기 전에 완료요청을 기다리는 게 조금 느린듯한 느낌이 드네요. 우리는 낙관적 업데이트를 통해 댓글이 목록에 추가되도록 함으로써 앱이 좀 더 빨라진 것처럼 느껴지도록 할 수 있습니다.
664
665 -```javascript{17-19}
665 +```javascript{17-19,29}
666 // tutorial20.js
667 var CommentBox = React.createClass({
668 loadCommentsFromServer: function() {
docs/docs/tutorial.md
+1 -1
@@ -733,7 +733,7 @@ var CommentBox = React.createClass({
733
734 Our application is now feature complete but it feels slow to have to wait for the request to complete before your comment appears in the list. We can optimistically add this comment to the list to make the app feel faster.
735
736 -```javascript{17-23}
736 +```javascript{17-23,33}
737 // tutorial21.js
738 var CommentBox = React.createClass({
739 loadCommentsFromServer: function() {
docs/docs/tutorial.zh-CN.md
+1 -1
@@ -657,7 +657,7 @@ var CommentBox = React.createClass({
657
658 我们的应用现在已经功能完备,但是它感觉很慢,因为在评论出现在列表前必须等待请求完成。我们可以优化添加这条评论到列表以使应用感觉更快。
659
660 -```javascript{17-19}
660 +```javascript{17-19,29}
661 // tutorial20.js
662 var CommentBox = React.createClass({
663 loadCommentsFromServer: function() {