updates to camp and things

This commit is contained in:
Chris Cochrun 2023-08-21 10:15:59 -05:00
parent 16e1340a7c
commit 7724a42e73
442 changed files with 97335 additions and 8 deletions

View file

@ -0,0 +1,30 @@
goog.provide("goog.string.StringBuffer");
goog.string.StringBuffer = function(opt_a1, var_args) {
if (opt_a1 != null) {
this.append.apply(this, arguments);
}
};
goog.string.StringBuffer.prototype.buffer_ = "";
goog.string.StringBuffer.prototype.set = function(s) {
this.buffer_ = "" + s;
};
goog.string.StringBuffer.prototype.append = function(a1, opt_a2, var_args) {
this.buffer_ += String(a1);
if (opt_a2 != null) {
for (let i = 1; i < arguments.length; i++) {
this.buffer_ += arguments[i];
}
}
return this;
};
goog.string.StringBuffer.prototype.clear = function() {
this.buffer_ = "";
};
goog.string.StringBuffer.prototype.getLength = function() {
return this.buffer_.length;
};
goog.string.StringBuffer.prototype.toString = function() {
return this.buffer_;
};
//# sourceMappingURL=goog.string.stringbuffer.js.map