-
-
Notifications
You must be signed in to change notification settings - Fork 697
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
Throw when calling _super on overwriteMethod if method is undefined #528
Conversation
09858fb
to
2f4cd16
Compare
Throw when calling _super on overwriteMethod if method is undefined
👍 thanks @wbyoung |
@keithamus sure thing. Sorry for such a long delay between submitting the issue & sending a PR — life's been busy. |
Can totally respect that. Thank you for taking the time to do it! I'll let you know when it is released 😄 |
@electricmonk yeah, that is a great point. Care to make a PR for it? All of the plugin guides in Chaijs.com are markdown files here on the chai-docs repo. Please, if you have any insight to put in to the guides (which I'm sure you do), then I encourage you to make a PR 😄 |
@keithamus Shall I make the PR to the |
Yes please!
Yup, totally. Have a look at #457 which makes small mention of that, you can also see #117 (comment) for some sketching on what a simpler plugin system would look like. I have some more code on my machine but I want to hash out a sensible design before we properly dive into that kind of refactoring. I think I'd like to see us have no "plugin interface", and plugins just export an object of methods which return assertion errors or something similar. |
Hmm. @keithamus, the chai-docs repo doesn't seem to have a |
@electricmonk sorry, for the chai-docs repo if you could please take a look at the |
hey, @keithamus - However, since this means a major overhaul of the |
@electricmonk I'd rather focus energy on #585. Also I'm not sure |
@keithamus so what should be the scope for my docs PR? maybe a note at the top of the page, in the spirit of
|
yes that might be a good idea, thanks. |
@keithamus It appears that the helpers page in the |
That certainly isn't intentional, the |
This fixes #467.