bubble-wrap
bubble-wrap copied to clipboard
Use partially evaluated ux_language_text_source functions
This change avoids some string allocations when ux_language/fallback is defined, making it slightly more efficient (at least with duktape)
Looking at it again now: This change would break the fast-path for language updates I suggested :)
Edit: no this would still work - since on ES our JS StyleContext would need to be recreated after global changes.
'The first self-transforming map style'!
I think I understand what's going on in this PR, but requesting that @bcamper gives it some pro-level JavaScript review.