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

Remove srcset function in Image class #422

Merged
merged 1 commit into from
Jun 28, 2019

Conversation

piotr-bajer
Copy link
Contributor

Currently, the srcset does the same as the parent version. Also, it has a bug because $size parameter is used anywhere.

Currently, the `srcset` does the same as the parent version. Also, it has a bug because `$size` parameter is used anywhere.
Copy link
Contributor

@JakubSzajna JakubSzajna left a comment

Choose a reason for hiding this comment

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

The srcset method wasn't in the Timber Image class initially, this is why we have it here. But it is now, so we can safely remove this from our code.

@luboskmetko luboskmetko merged commit e4f810e into xfiveco:master Jun 28, 2019
@piotr-bajer piotr-bajer deleted the patch-2 branch November 8, 2019 11:45
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.

3 participants