MCPcopy
hub / github.com/apache/echarts / createObjectHTML

Function createObjectHTML

test/lib/testHelper.js:3090–3102  ·  view source on GitHub ↗
(obj, key)

Source from the content-addressed store, hash-verified

3088 }
3089
3090 function createObjectHTML(obj, key) {
3091 var html = isObject(obj)
3092 ? encodeHTML(printObject(obj, key))
3093 : obj
3094 ? obj.toString()
3095 : '';
3096
3097 return [
3098 '<pre class="test-print-object">',
3099 html,
3100 '</pre>'
3101 ].join('');
3102 }
3103
3104 var getDom = testHelper.getDom = function (domOrId) {
3105 return getType(domOrId) === 'string' ? document.getElementById(domOrId) : domOrId;

Callers 1

updateInfoFunction · 0.85

Calls 2

encodeHTMLFunction · 0.85
isObjectFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…