Ah, ok, it might be to support either HTML or plain text content.
IIRC, there are a couple of ITextModels and one takes the time to initialize
_text = "" and one doesn't. The component sets that care less about PAYG can
use the NonNull TextModel by default.
-Alex
On 1/3/20, 12:04 AM, "Harbs"
What happens if the html property is set? In that case, I think the textNode
does not reference anything valid.
That’s probably broken wither way though…
> On Jan 3, 2020, at 7:55 AM, Alex Harui wrote:
>
> I noticed that "if (textNode)" the other day and wondered why it was there
> but didn't
I noticed that "if (textNode)" the other day and wondered why it was there but
didn't have time to look. If you have time, it might be worth going back
through history to see if was added for some reason.
-Alex
On 1/2/20, 8:38 PM, "Greg Dove" wrote:
I plan to gradually work on a compreh
I plan to gradually work on a comprehensive set of unit-ish tests for
Bindings (it's less easy than other things, but I believe I have an
approach to do it which will work as unit style tests), from the ground up.
I started looking at this today, just with simple bindings and first up
comparing be