imgix / ember-cli-imgix

Easily add imgix functionality to your Ember application
https://imgix.github.io/ember-cli-imgix
MIT License
26 stars 13 forks source link

fix: ensure new ar implementation uses old format for deprecated attribute #68

Closed frederickfogerty closed 6 years ago

frederickfogerty commented 6 years ago

Description

Previously, the new implementation of AR for this library required the developer to change the format of the deprecated aspectRatio attribute.

This PR converts the aspectRatio attribute on the fly to the new format, so that developers are not required to update it themselves until they move to the new attribute.

New Feature

Steps to Test

Review changes to the unit tests.