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
I had to investigate to understand why this module doesn't worked "out of the box" just by adding data-fittext as a directive on my element.
It appears that Jade compiles data-fittext as data-fittext="data-fittext" in HTML in order to support older browser (they don't like empty attribute). I would suggest to use a specific attribute name for the compressor value instead of using the default directive attribute value.
It's not a big deal but Jade is quite popular and it will probably save some time to other people in the exact same situation :)
Regards,
The text was updated successfully, but these errors were encountered:
Hi, thank you for this module.
I had to investigate to understand why this module doesn't worked "out of the box" just by adding data-fittext as a directive on my element.
It appears that Jade compiles data-fittext as data-fittext="data-fittext" in HTML in order to support older browser (they don't like empty attribute). I would suggest to use a specific attribute name for the compressor value instead of using the default directive attribute value.
It's not a big deal but Jade is quite popular and it will probably save some time to other people in the exact same situation :)
Regards,
The text was updated successfully, but these errors were encountered: