Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2725417EDE for ; Tue, 14 Jul 2015 14:35:24 +0000 (UTC) Received: (qmail 44462 invoked by uid 500); 14 Jul 2015 14:35:02 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 44431 invoked by uid 500); 14 Jul 2015 14:35:02 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 44422 invoked by uid 99); 14 Jul 2015 14:35:01 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2015 14:35:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7CC861801DB for ; Tue, 14 Jul 2015 14:35:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.771 X-Spam-Level: * X-Spam-Status: No, score=1.771 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id DdskSQR3dnIY for ; Tue, 14 Jul 2015 14:34:55 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id 482F62092B for ; Tue, 14 Jul 2015 14:34:55 +0000 (UTC) Received: (qmail 44372 invoked by uid 99); 14 Jul 2015 14:34:55 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2015 14:34:55 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 13981E025B; Tue, 14 Jul 2015 14:34:55 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ivasilinets@apache.org To: commits@ignite.incubator.apache.org Message-Id: <633f66b625d04279b33844e86d21262a@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-ignite git commit: #ignite-961-promise: change nodejs examples. Date: Tue, 14 Jul 2015 14:34:55 +0000 (UTC) Repository: incubator-ignite Updated Branches: refs/heads/ignite-961-promise a501ff8f7 -> 205322da9 #ignite-961-promise: change nodejs examples. Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/205322da Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/205322da Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/205322da Branch: refs/heads/ignite-961-promise Commit: 205322da96210d9913ed454132a260ad85cec3e4 Parents: a501ff8 Author: ivasilinets Authored: Tue Jul 14 17:34:50 2015 +0300 Committer: ivasilinets Committed: Tue Jul 14 17:34:50 2015 +0300 ---------------------------------------------------------------------- examples/src/main/js/cache-query-example.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/205322da/examples/src/main/js/cache-query-example.js ---------------------------------------------------------------------- diff --git a/examples/src/main/js/cache-query-example.js b/examples/src/main/js/cache-query-example.js index 9256079..0f0eb62 100644 --- a/examples/src/main/js/cache-query-example.js +++ b/examples/src/main/js/cache-query-example.js @@ -88,7 +88,7 @@ main = function() { } //Get Promise for next page. - var nextPromise = cursor.next(); + var nextPromise = cursor.nextPage(); return nextPromise.then(onQuery); }).then(function(){