UNPKG

jsts-ie

Version:

A JavaScript library of spatial predicates and functions for processing geometry

22 lines (17 loc) 423 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = StringBuffer; function StringBuffer(str) { this.str = str; } StringBuffer.prototype.append = function (e) { this.str += e; }; StringBuffer.prototype.setCharAt = function (i, c) { this.str = this.str.substr(0, i) + c + this.str.substr(i + 1); }; StringBuffer.prototype.toString = function (e) { return this.str; };