MCPcopy Create free account
hub / github.com/json-editor/json-editor / render

Method render

docs/scripts/ajv-validator.js:906–911  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

904 this.condition = condition;
905 }
906 render(opts) {
907 let code = `if(${this.condition})` + super.render(opts);
908 if (this.else)
909 code += "else " + this.else.render(opts);
910 return code;
911 }
912 optimizeNodes() {
913 super.optimizeNodes();
914 const cond = this.condition;

Callers 14

compileFunction · 0.45
compileFunction · 0.45
compileFunction · 0.45
renderMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45
renderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected