ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ivasilin...@apache.org
Subject incubator-ignite git commit: #ignite-961-promise: change nodejs examples.
Date Tue, 14 Jul 2015 14:36:41 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-961-promise f3fc1ea60 -> c5ea3bf42


#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/c5ea3bf4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/c5ea3bf4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/c5ea3bf4

Branch: refs/heads/ignite-961-promise
Commit: c5ea3bf42a911b6da66ac3e736c57aa4a8d65a11
Parents: f3fc1ea
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Tue Jul 14 17:36:36 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Tue Jul 14 17:36:36 2015 +0300

----------------------------------------------------------------------
 examples/src/main/js/cache-query-example.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c5ea3bf4/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 42eb0ea..8b455b5 100644
--- a/examples/src/main/js/cache-query-example.js
+++ b/examples/src/main/js/cache-query-example.js
@@ -72,6 +72,8 @@ main = function() {
             var cursor = ignite.cache(cacheName).query(qry);
 
             function onQuery(cursor) {
+                var page = cursor.page();
+
                 console.log(">>> Get result on page: " + JSON.stringify(page));
 
                 //Concat query page results.


Mime
View raw message