PHP Classes

File: public/js/tinymce/src/core/src/test/js/atomic/text/BidiTest.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   GoLavaCMS   public/js/tinymce/src/core/src/test/js/atomic/text/BidiTest.js   Download  
File: public/js/tinymce/src/core/src/test/js/atomic/text/BidiTest.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: GoLavaCMS
Publish content on Web pages with SEO support
Author: By
Last change:
Date: 6 years ago
Size: 769 bytes
 

Contents

Class file image Download
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); } );