MCPcopy
hub / github.com/winjs/winjs / StringText

Function StringText

tools/dts-verifier/lib/typescript.js:3733–3742  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

3731 var StringText = (function (_super) {
3732 __extends(StringText, _super);
3733 function StringText(data) {
3734 _super.call(this);
3735 this.source = null;
3736
3737 if (data === null) {
3738 throw TypeScript.Errors.argumentNull("data");
3739 }
3740
3741 this.source = data;
3742 }
3743 StringText.prototype.length = function () {
3744 return this.source.length;
3745 };

Callers

nothing calls this directly

Calls 1

callMethod · 0.80

Tested by

no test coverage detected