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

Update #37

Merged
merged 3 commits into from
Aug 10, 2017
Merged

Update #37

merged 3 commits into from
Aug 10, 2017

Conversation

ilyar
Copy link
Contributor

@ilyar ilyar commented Jun 8, 2017

From #26

  • Combine the two variables are both empty functions in variable noop
  • Remove useless check
  • Fix comment with obscene lexica

@ilyar ilyar mentioned this pull request Jun 8, 2017
Copy link
Contributor Author

@ilyar ilyar left a comment

Choose a reason for hiding this comment

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

:shipit: ready

lib/inherit.js Outdated
@@ -106,7 +104,7 @@ function applyMixins(mixins, res) {
inherit(mixins[0], mixin.prototype, mixin) :
inherit(mixins[0], mixin);
}
return res || mixins[0];
return res;
Copy link
Owner

Choose a reason for hiding this comment

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

Why have you deleted || mixins[0]?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did not find the case that can use it.
If I'm wrong, please show me this case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dfilatov ping

Copy link
Owner

Choose a reason for hiding this comment

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

Looks like the edge case is:

inherit([Base], ...);

Copy link
Contributor Author

@ilyar ilyar left a comment

Choose a reason for hiding this comment

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

up fix done

@dfilatov dfilatov merged commit 6a916d9 into dfilatov:master Aug 10, 2017
@dfilatov
Copy link
Owner

@ilyar thanks!

@ilyar ilyar deleted the update branch August 10, 2017 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants