Cool, thanks for the explanation.
On 21 September 2015 at 11:57, Harbs wrote:
> Yes. It’s a coding style I picked up quite some time ago. It assigns the
> value to itself if destinationLeaf is null.
>
> It avoids writing an extra “if” (and keeps everything in one line while
> keeping the declar
Yes. It’s a coding style I picked up quite some time ago. It assigns the value
to itself if destinationLeaf is null.
It avoids writing an extra “if” (and keeps everything in one line while keeping
the declaration at the beginning of the line).
It might be a bit confusing the first time you see
Is this line only confusing for me? var
destinationParagraph:ParagraphElement = destinationLeaf ?
destinationLeaf.getParagraph() : destinationParagraph;
Is this the intention? if (destinationLeaf) destinationParagraph =
destinationLeaf.getParagraph();
On 19 September 2015 at 21:52, wrote:
> Rep