]> Lady’s Gitweb - Etiquette/commit
Always return (the same) objects for langstrings
authorLady <redacted>
Wed, 14 Jun 2023 02:02:55 +0000 (19:02 -0700)
committerLady <redacted>
Wed, 14 Jun 2023 02:08:05 +0000 (19:08 -0700)
commit771a1ca8d8302b01060db00de7f588093e8805ec
tree79f3f0de39137fd0d6c154c5fa19a6c28ffadf57
parent6365487166d73a75e1c66b7c8d5683ac46741ed2
Always return (the same) objects for langstrings

Instead of returning a string literal in some cases and a `String`
object in others, always return an object when processing language
strings. Use a cache and registry to always return the same object for
any given value and language, to allow `Set` operations to work as
expected.
model.js
model.test.js
This page took 0.032173 seconds and 4 git commands to generate.