Improved the logic of detectTextDirectionality, allowing for obscure edge cases to be supported as expected.
Improved the logic of detectTextDirectionality, allowing for obscure edge cases to be supported as expected.

Enyo-DCO-1.1-Signed-off-by: Blake Stephens <blake.stephens@lge.com>

mcanthony/enyo,zefsolutions/enyo,mcanthony/enyo,zefsolutions/enyo,beni55/enyo,bright-sparks/enyo,PKRoma/enyo,enyojs/enyo,soapdog/enyo,enyojs/enyo,beni55/enyo,kustomzone/enyo,PKRoma/enyo,kustomzone/enyo,soapdog/enyo,bright-sparks/enyo,wikieswan/enyo,wikieswan/enyo