Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Fix typo and variable declaration order in product.js #264

Merged
merged 1 commit into from
Aug 30, 2017

Conversation

saudslm
Copy link
Contributor

@saudslm saudslm commented Aug 30, 2017

  • scripts/sections/product.js, this.productSingleObject needs to be initialized before using it in options object.

  • line 59, scripts/sections/product.js, this.$featured_image is not a defined variable (it's a typo), needs to be replaced with this.$featuredImage

What are you trying to accomplish with this PR?

Some basic fixes in scripts/sections/product.js

Please provide a link to the associated GitHub issue.

Checklist

For contributors:

For maintainers:

  • I have 🎩'd these changes.

…nitialized before using it in options object.

- line 59, scripts/sections/product.js, this.$featured_image is not a defined variable (it's a typo), needs to be replaced with this.$featuredImage
@t-kelly t-kelly changed the title - scripts/sections/product.js, this.productSingleObject needs to be i… Fix typo and variable declaration order in product.js Aug 30, 2017
@t-kelly t-kelly self-assigned this Aug 30, 2017
@t-kelly t-kelly added the bug label Aug 30, 2017
@t-kelly
Copy link
Contributor

t-kelly commented Aug 30, 2017

Good catch. Thanks! Will deploy a patch release now.

@t-kelly t-kelly merged commit eccdb05 into Shopify:master Aug 30, 2017
@saudslm
Copy link
Contributor Author

saudslm commented Aug 30, 2017

sweet!

@sebpettersson
Copy link

The same typo as on line 59 can be found on line 127 as well: this.$featured_image should be this.$featuredImage.

@t-kelly
Copy link
Contributor

t-kelly commented Sep 6, 2017

@sebpettersson on it!

@lock
Copy link

lock bot commented Oct 26, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants