-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Run ember watson: methodify
on addon/
and test/
#3926
Conversation
@@ -49,7 +49,7 @@ export default Ember.Mixin.create({ | |||
@param {Object} query object of query parameters to send for query requests. | |||
@return {String} url | |||
*/ | |||
buildURL: function(modelName, id, snapshot, requestType, query) { | |||
buildURL(modelName, id, snapshot, requestType, query) { |
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.
I'm not a big fan of the concise method definitions because I find it makes it harder to search for the method definition in a file.
That said, if others prefer this syntax I don't want to stand in the way of it being merged. cc @igorT @wecc @fivetanley
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.
I'm fine with either
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.
either is fine with me.
Hi @seanpdoyle, can you rerun the commands? There are merge conflicts, but we agreed to merge this. |
Convert function declaration into ES6 syntax.
Convert to ES6 function declarations in tests.
f4f869c
to
9a57fa0
Compare
Run `ember watson: methodify` on `addon/` and `test/`
👍 it works! |
[CLEANUP]
ember watson:methodify addon/
Convert function declaration into ES6 syntax.
[CLEANUP]
ember watson:methodify tests/
Convert to ES6 function declarations in tests.