MCPcopy Index your code
hub / github.com/prettydiff/prettydiff / string

Function string

beautify/script.ts:1666–1675  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1664 }
1665 },
1666 string = function beautify_script_level_string():void {
1667 if (ctoke.indexOf("#!/") === 0) {
1668 level.push(indent);
1669 } else {
1670 level.push(-10);
1671 }
1672 if ((ltoke === "," || ltype === "start") && (data.stack[a] === "object" || data.stack[a] === "array") && destruct[destruct.length - 1] === false && a > 0) {
1673 level[a - 1] = indent;
1674 }
1675 },
1676 template = function beautify_script_level_template():void {
1677 if (ctype === "template_else") {
1678 level[a - 1] = indent - 1;

Callers 1

scriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected