Closed yiiqii closed 5 months ago
The changes primarily focus on renaming the function isFontFamily
to isValidFontFamily
across multiple files in the effects-core
module. This includes updating imports, conditional checks, and warning messages. Additionally, a new set of tests for isValidFontFamily
has been added to ensure its proper functionality.
Files | Change Summary |
---|---|
packages/effects-core/src/asset-manager.ts |
Updated import, conditional check, warning message, and logging method. |
packages/effects-core/src/plugins/text/text-item.ts |
Renamed isFontFamily to isValidFontFamily in the setFontFamily method. |
packages/effects-core/src/utils/index.ts |
Added export of text module. |
web-packages/test/unit/src/effects-core/index.ts |
Added import for utils.spec for testing. |
web-packages/test/unit/src/effects-core/utils.spec.ts |
Added new test cases for isValidFontFamily . |
🐇 In the land of code, a change took flight,
isFontFamily
renamed toisValidFontFamily
overnight. Warnings now more cautious, logs more wise, Tests ensure no bugs arise. With each tweak, our software grows, Like a garden where the rabbit sows. 🌸
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
Tests
isValidFontFamily
function to ensure consistent and reliable font validation.