You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/06/23 19:47:39 UTC

[13/20] incubator-ignite git commit: #ignite-965: code style cache.js

#ignite-965: code style cache.js


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/905a3e6a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/905a3e6a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/905a3e6a

Branch: refs/heads/ignite-965
Commit: 905a3e6aa80c0510282ff1b342df6c8d0a2e505a
Parents: ac5434a
Author: ivasilinets <iv...@gridgain.com>
Authored: Tue Jun 23 20:12:57 2015 +0300
Committer: ivasilinets <iv...@gridgain.com>
Committed: Tue Jun 23 20:12:57 2015 +0300

----------------------------------------------------------------------
 modules/nodejs/src/main/js/cache.js  | 9 ++-------
 modules/nodejs/src/main/js/server.js | 5 +++++
 2 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/905a3e6a/modules/nodejs/src/main/js/cache.js
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/main/js/cache.js b/modules/nodejs/src/main/js/cache.js
index 8a62be9..78dd1d8 100644
--- a/modules/nodejs/src/main/js/cache.js
+++ b/modules/nodejs/src/main/js/cache.js
@@ -43,12 +43,6 @@ Cache.prototype.get = function(key, callback) {
 };
 
 /**
- * Callback for cache put
- * @callback noValue
- * @param {string} error Error
- */
-
-/**
  * Put cache value
  *
  * @this {Cache}
@@ -91,7 +85,7 @@ Cache.prototype.removeAll = function(keys, callback) {
  * Put keys to cache
  *
  * @this {Cache}
- * @param {Object.<string, string>} collection of entries to put in the cache
+ * @param {Object.<string, string>} map collection of entries to put in the cache
  * @param {noValue} callback Called on finish
  */
 Cache.prototype.putAll = function(map, callback) {
@@ -113,6 +107,7 @@ Cache.prototype.putAll = function(map, callback) {
 
 /**
  * Callback for cache get
+ *
  * @callback Cache~onGetAll
  * @param {string} error Error
  * @param {string[]} results Result values

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/905a3e6a/modules/nodejs/src/main/js/server.js
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/main/js/server.js b/modules/nodejs/src/main/js/server.js
index c1b52c0..910b7c3 100644
--- a/modules/nodejs/src/main/js/server.js
+++ b/modules/nodejs/src/main/js/server.js
@@ -49,6 +49,11 @@ Server.prototype.host = function() {
  */
 
 /**
+ * @callback noValue
+ * @param {string} error Error
+ */
+
+/**
  * Run http request
  *
  * @this {Server}