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
[x] If this is a big feature with breaking changes, consider [opening an issue][issues] to discuss first. This is completely up to you, but please keep in mind that your PR might not be accepted.
[x] Run unit tests to ensure all existing tests are still passing
[x] Add new passing unit tests to cover the code introduced by your PR
[x] Update the readme
[x] Add some steps so we can test your cool new feature!
[x] The PR title is in the conventional commit format: e.g. feat(<area>): added new way to do this cool thing #issue-number
[x] Add your info to the contributors array in package.json!
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
feat(<area>): added new way to do this cool thing #issue-number
Steps to Test
Review changes to the unit tests.