This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/master by this push:
     new c05418c  typo
c05418c is described below

commit c05418c9cbcb7eaa399bda2799470a382313e300
Author: sushuang <sushuang0...@gmail.com>
AuthorDate: Tue Apr 17 04:04:39 2018 +0800

    typo
---
 src/stream/Scheduler.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/stream/Scheduler.js b/src/stream/Scheduler.js
index beb5d88..19b3e4a 100644
--- a/src/stream/Scheduler.js
+++ b/src/stream/Scheduler.js
@@ -91,7 +91,7 @@ proto.getPerformArgs = function (task, isBlock) {
     var incremental = !isBlock
         && pipeline.progressiveEnabled
         && (!pCtx || pCtx.progressiveRender)
-        && task.__idxInPipeline > pipeline.bockIndex;
+        && task.__idxInPipeline > pipeline.blockIndex;
 
     var step = incremental ? pipeline.step : null;
     var modDataCount = pCtx && pCtx.modDataCount;
@@ -153,7 +153,7 @@ proto.restorePipelines = function (ecModel) {
             threshold: seriesModel.getProgressiveThreshold(),
             progressiveEnabled: progressive
                 && !(seriesModel.preventIncremental && 
seriesModel.preventIncremental()),
-            bockIndex: -1,
+            blockIndex: -1,
             step: Math.round(progressive || 700),
             count: 0
         });
@@ -273,7 +273,7 @@ proto.plan = function () {
         var task = pipeline.tail;
         do {
             if (task.__block) {
-                pipeline.bockIndex = task.__idxInPipeline;
+                pipeline.blockIndex = task.__idxInPipeline;
                 break;
             }
             task = task.getUpstream();

-- 
To stop receiving notification emails like this one, please contact
sushu...@apache.org.

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to