Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZERO circular dependency #2429

Merged
merged 17 commits into from
Mar 2, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions tasks/test_syntax.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,9 @@ function assertCircularDeps() {
var circularDeps = res.circular();
var logs = [];

// see https://github.com/plotly/plotly.js/milestone/9
var MAX_ALLOWED_CIRCULAR_DEPS = 16;

if(circularDeps.length > MAX_ALLOWED_CIRCULAR_DEPS) {
if(circularDeps.length) {
console.log(circularDeps.join('\n'));
logs.push('some new circular dependencies were added to src/');
logs.push('some circular dependencies were found to src/');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

found in src/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good 👁️ done in d27b3ba

}

log('circular dependencies: ' + circularDeps.length, logs);
Expand Down