Author: abelevich
Date: 2007-05-08 13:55:49 -0400 (Tue, 08 May 2007)
New Revision: 696
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/StringBuilder.js
Log:
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/StringBuilder.js
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/StringBuilder.js 2007-05-08
17:55:40 UTC (rev 695)
+++
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/StringBuilder.js 2007-05-08
17:55:49 UTC (rev 696)
@@ -18,11 +18,8 @@
StringBuilder = Class.create({
CLASSDEF: {
name: 'StringBuilder'
- }
+ },
-});
-
-Object.extend(StringBuilder.prototype, {
length: 0,
// private
@@ -47,7 +44,8 @@
// reset cache
this._string = null;
return this;
- },
+ },
+
toString: function () {
if (this._string != null)
return this._string;
@@ -59,6 +57,6 @@
return this._string = s;
}
-})
+});
Show replies by date