From df88d82181ad9f08fd0722c9359a2b58bd4dfdf1 Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Tue, 22 Nov 2011 22:57:23 +0000 Subject: [PATCH] Using the full word Difference instead of Diff --- modules/es/models/es.TransactionModel.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/es/models/es.TransactionModel.js b/modules/es/models/es.TransactionModel.js index 6b09400cd6..c09ff9f9b0 100644 --- a/modules/es/models/es.TransactionModel.js +++ b/modules/es/models/es.TransactionModel.js @@ -7,7 +7,7 @@ */ es.TransactionModel = function( operations ) { this.operations = es.isArray( operations ) ? operations : []; - this.lengthDiff = 0; + this.lengthDifference = 0; }; /* Methods */ @@ -28,8 +28,8 @@ es.TransactionModel.prototype.getOperations = function() { * @method * @returns {Integer} Difference in content length */ -es.TransactionModel.prototype.getLengthDiff = function() { - return this.lengthDiff; +es.TransactionModel.prototype.getLengthDifference = function() { + return this.lengthDifference; }; /** @@ -83,7 +83,7 @@ es.TransactionModel.prototype.pushInsert = function( data ) { 'type': 'insert', 'data': data } ); - this.lengthDiff += data.length; + this.lengthDifference += data.length; }; /** @@ -97,7 +97,7 @@ es.TransactionModel.prototype.pushRemove = function( data ) { 'type': 'remove', 'data': data } ); - this.lengthDiff -= data.length; + this.lengthDifference -= data.length; }; /**