-
-
Notifications
You must be signed in to change notification settings - Fork 682
Replace requirejs with webpack to enable ES6+ and non-AMD modules #366
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
Conversation
Webpack cant seem to keep track of which method belongs to which class, but YUIDoc gives us a way to do that with the "for" secondary tag https://yui.github.io/yuidoc/syntax/index.html
TravisCI pointed this out, thanks TravisCI
Some relevant issues: https://github.com/processing/p5.js-sound/issues/228#issuecomment-373515799 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great except for the commented-out filter classes!
src/filter.js
Outdated
// p5.LowPass = function() { | ||
// p5.Filter.call(this, 'lowpass'); | ||
// }; | ||
// p5.LowPass.prototype = Object.create(p5.Filter.prototype); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@therewasaguy do we want to leave these classes commented out or do we just need to add @for
to the jsdoc comments?
src/filter.js
Outdated
// p5.HighPass = function() { | ||
// p5.Filter.call(this, 'highpass'); | ||
// }; | ||
// p5.HighPass.prototype = Object.create(p5.Filter.prototype); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see above comment re: @for
src/filter.js
Outdated
// p5.BandPass = function() { | ||
// p5.Filter.call(this, 'bandpass'); | ||
// }; | ||
// p5.BandPass.prototype = Object.create(p5.Filter.prototype); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see above comment re: @for
@for <className>
to satisfy the YUIDoc build step in p5.js repo (cc @Spongman, thought you might have insight on this in case there is anything we're missing be9410a )TO DO (perhaps in a separate PR):