You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.
The Image and OembedVideo partials are working differently. The Image accesses the image using mediaSlide.image.src, while the OembedVideo only has access to the mediaSlider.image because of the only parameter in the include statemnt.
I believe the two partials should loaded the same way. Any thoughts on which way would make most sense ?
The text was updated successfully, but these errors were encountered:
I agree. I would go with the shorter, non-nested variables and add the only statement to the parent. My reasoning is that a partial should not have to depend on the variable naming and structure of the parent.
The
Image
andOembedVideo
partials are working differently. TheImage
accesses the image usingmediaSlide.image.src
, while theOembedVideo
only has access to themediaSlider.image
because of theonly
parameter in theinclude
statemnt.I believe the two partials should loaded the same way. Any thoughts on which way would make most sense ?
The text was updated successfully, but these errors were encountered: