MCPcopy Index your code
hub / github.com/apache/echarts / cssNormalizeClass

Function cssNormalizeClass

test/lib/testHelper.js:2533–2535  ·  view source on GitHub ↗
(classes)

Source from the content-addressed store, hash-verified

2531 }
2532
2533 function cssNormalizeClass(classes) {
2534 return classes.replace(/^\s+|\s+$/g, '').replace(/\s+/g, ' ');
2535 }
2536
2537 /**
2538 * JSON.stringify(obj, null, 2) will vertically layout array, which takes too much space.

Callers 3

cssHasClassFunction · 0.85
cssAddClassFunction · 0.85
cssRemoveClassFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…