[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
05122024
/
htdocs
/
tracer
/
assets
/
tinymce
/
src
/
core
/
src
/
test
/
js
/
atomic
/
text
/
[
Home
]
File: BidiTest.js
asynctest( 'atomic.tinymce.core.text.BidiTest', [ 'ephox.agar.api.Assertions', 'ephox.agar.api.Pipeline', 'ephox.agar.api.Step', 'tinymce.core.text.Bidi' ], function (Assertions, Pipeline, Step, Bidi) { var success = arguments[arguments.length - 2]; var failure = arguments[arguments.length - 1]; var sTestHasStrongRtl = Step.sync(function () { Assertions.assertEq('Hebrew is strong rtl', true, Bidi.hasStrongRtl('\u05D4\u05E7\u05D3\u05E9')); Assertions.assertEq('Abc is not strong rtl', false, Bidi.hasStrongRtl('abc')); Assertions.assertEq('Dots are neutral', false, Bidi.hasStrongRtl('.')); }); Pipeline.async({}, [ sTestHasStrongRtl ], function () { success(); }, failure); } );