2 new revisions:

Revision: 8158894a64b8
Author:   Tomaz Muraus <[email protected]>
Date:     Mon Jan  9 10:14:12 2012
Log:      Fix more scope leaks.
http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=8158894a64b8

Revision: bd17364e4f7b
Author:   Tomaz Muraus <[email protected]>
Date:     Mon Jan  9 10:29:09 2012
Log:      Export UUID.
http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=bd17364e4f7b

==============================================================================
Revision: 8158894a64b8
Author:   Tomaz Muraus <[email protected]>
Date:     Mon Jan  9 10:14:12 2012
Log:      Fix more scope leaks.

http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=8158894a64b8

Modified:
 /lib/bigint.js
 /lib/decoder.js
 /lib/driver.js

=======================================
--- /lib/bigint.js      Thu Apr 21 10:20:12 2011
+++ /lib/bigint.js      Mon Jan  9 10:14:12 2012
@@ -42,7 +42,7 @@
 var BI_F1 = BI_FP-dbits;
 var BI_F2 = 2*dbits-BI_FP;

-BigInteger = module.exports.BigInteger = function(a,b,c) {
+var BigInteger = module.exports.BigInteger = function(a,b,c) {
   this.array = new Array();
   if(a != null)
     if("number" == typeof a) this.fromNumber(a,b,c);
=======================================
--- /lib/decoder.js     Fri Nov 11 07:49:04 2011
+++ /lib/decoder.js     Mon Jan  9 10:14:12 2012
@@ -14,7 +14,6 @@
  *  limitations under the License.
  *
  */
-
 /** [en|de]coder for cassandra types. */
 var BigInteger = require('./bigint').BigInteger;
 var UUID = require('uuid-js');
@@ -89,7 +88,7 @@
* my_mother: 'org.apache.cassandra.db.marshal.BytesType'}}
  * todo: maybe this is complicated enough that a class is required.
  */
-Decoder = module.exports.Decoder = function(validators, options) {
+var Decoder = module.exports.Decoder = function(validators, options) {
   this.validators = validators;
   this.options = options ? options : {};
 };
=======================================
--- /lib/driver.js      Sun Dec 25 16:31:45 2011
+++ /lib/driver.js      Mon Jan  9 10:14:12 2012
@@ -118,12 +118,12 @@
 }


-System = module.exports.System = require('./system').System;
-KsDef = module.exports.KsDef = require('./system').KsDef;
-CfDef = module.exports.CfDef = require('./system').CfDef;
-ColumnDef = module.exports.ColumnDef = require('./system').ColumnDef;
-BigInteger = module.exports.BigInteger = require('./bigint').BigInteger;
-UUID = module.exports.UUID = require('uuid-js');
+var System = module.exports.System = require('./system').System;
+var KsDef = module.exports.KsDef = require('./system').KsDef;
+var CfDef = module.exports.CfDef = require('./system').CfDef;
+var ColumnDef = module.exports.ColumnDef = require('./system').ColumnDef;
+var BigInteger = module.exports.BigInteger = require('./bigint').BigInteger;
+var UUID = module.exports.UUID = require('uuid-js');


 /**
@@ -147,7 +147,7 @@
 }

 /** abstraction of a single row. */
-Row = module.exports.Row = function(row, decoder) {
+var Row = module.exports.Row = function(row, decoder) {
   // decoded key.
   this.key = decoder.decode(row.key, 'key');

@@ -203,7 +203,7 @@
  *
  * @param config an object used to control the creation of new instances.
  */
-PooledConnection = module.exports.PooledConnection = function(config) {
+var PooledConnection = module.exports.PooledConnection = function(config) {
   config = config || {};
   this.nodes = [];
   this.holdFor = 10000;
@@ -369,7 +369,7 @@
  * @param options: valid parts are:
  *  user, pass, host, port, keyspace, use_bigints, timeout, log_time
  */
-Connection = module.exports.Connection = function(options) {
+var Connection = module.exports.Connection = function(options) {
   options = options || {};
   log.info('connecting ' + options.host + ':' + options.port);
   this.validators = {};

==============================================================================
Revision: bd17364e4f7b
Author:   Tomaz Muraus <[email protected]>
Date:     Mon Jan  9 10:29:09 2012
Log:      Export UUID.

http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=bd17364e4f7b

Modified:
 /test/test_driver.js

=======================================
--- /test/test_driver.js        Tue Nov 29 04:24:56 2011
+++ /test/test_driver.js        Mon Jan  9 10:29:09 2012
@@ -33,6 +33,7 @@
 var System = require('../lib/system').System;
 var KsDef = require('../lib/system').KsDef;
 var CfDef = require('../lib/system').CfDef;
+var UUID = require('../lib/driver').UUID;

 var CASSANDRA_PORT = 19170;

Reply via email to