MCPcopy Create free account
hub / github.com/plotly/plotly.js / assertCircularDeps

Function assertCircularDeps

tasks/test_syntax.js:259–271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

257
258// check circular dependencies
259function assertCircularDeps() {
260 madge(constants.pathToSrc).then(function(res) {
261 var circularDeps = res.circular();
262 var logs = [];
263
264 if(circularDeps.length) {
265 console.log(circularDeps.join('\n'));
266 logs.push('some circular dependencies were found in src/');
267 }
268
269 log('circular dependencies: ' + circularDeps.length, logs);
270 });
271}
272
273function combineGlobs(arr) {
274 return '{' + arr.join(',') + '}';

Callers 1

test_syntax.jsFile · 0.85

Calls 1

logFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…