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

Small js cleanups #28

Merged
merged 4 commits into from
May 7, 2015
Merged

Small js cleanups #28

merged 4 commits into from
May 7, 2015

Conversation

Sinetheta
Copy link
Contributor

I went in looking to kill async: false but that's actually a bigger problem.

<tr class="line-item" id="line-item-<%= item.id %>">

<tr class="line-item" id="line-item-<%= item.id %>" data-line-item-id="<%= item.id %>">
<td class="line-item-image"><%= mini_image(item.variant) %></td>

Choose a reason for hiding this comment

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

I'd always prefer to not mix up ruby inside of html.

<%= content_tag :tr, class: 'line-item', id: "line-item-#{item.id}", data: { line_item_id: item.id } do %>

@athal7
Copy link

athal7 commented May 7, 2015

👍

@gmacdougall
Copy link
Member

👍

gmacdougall added a commit that referenced this pull request May 7, 2015
@gmacdougall gmacdougall merged commit a4d31ba into solidusio:master May 7, 2015
Senjai pushed a commit to Senjai/solidus that referenced this pull request Feb 17, 2016
mamhoff added a commit to mamhoff/solidus that referenced this pull request Jun 26, 2024
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.

4 participants