MCPcopy
hub / github.com/GetmeUK/ContentTools / Character

Function Character

external/scripts/content-edit.js:1190–1197  ·  view source on GitHub ↗
(c, tags)

Source from the content-addressed store, hash-verified

1188
1189 HTMLString.Character = (function() {
1190 function Character(c, tags) {
1191 this._c = c;
1192 if (c.length > 1) {
1193 this._c = c.toLowerCase();
1194 }
1195 this._tags = [];
1196 this.addTags.apply(this, tags);
1197 }
1198
1199 Character.prototype.c = function() {
1200 return this._c;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected