We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the below example, when POSTing data:
on end(item, oldIndex, newIndex) fetch /sort { method: 'post', body: { id: item@hx-id, oldIndex: oldIndex, newIndex: newIndex } as JSON }
it would be nice to be able to use ES6 object property shorthand notation:
on end(item, oldIndex, newIndex) fetch /sort { method: 'post', body: { id: item@hx-id, oldIndex, newIndex } as JSON }
(the difference being that { oldIndex: oldIndex, newIndex: newIndex } becomes { oldIndex, newIndex })
{ oldIndex: oldIndex, newIndex: newIndex }
{ oldIndex, newIndex }
I have no insight into how doable this it, but the rule is quite constrained, since it's only valid in a { ... } block
{ ... }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the below example, when POSTing data:
it would be nice to be able to use ES6 object property shorthand notation:
(the difference being that
{ oldIndex: oldIndex, newIndex: newIndex }
becomes{ oldIndex, newIndex }
)I have no insight into how doable this it, but the rule is quite constrained, since it's only valid in a
{ ... }
blockThe text was updated successfully, but these errors were encountered: