PHP Classes

File: public/js/tinymce/src/plugins/spellchecker/src/test/js/browser/SpellcheckerManyLanguagesTest.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   GoLavaCMS   public/js/tinymce/src/plugins/spellchecker/src/test/js/browser/SpellcheckerManyLanguagesTest.js   Download  
File: public/js/tinymce/src/plugins/spellchecker/src/test/js/browser/SpellcheckerManyLanguagesTest.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: 1,166 bytes
 

Contents

Class file image Download
asynctest( 'browser.tinymce.plugins.spellchecker.SpellcheckerTest', [ 'ephox.agar.api.Pipeline', 'ephox.agar.api.RawAssertions', 'ephox.agar.api.Step', 'ephox.mcagar.api.TinyLoader', 'tinymce.plugins.spellchecker.Plugin', 'tinymce.themes.modern.Theme' ], function (Pipeline, RawAssertions, Step, TinyLoader, SpellcheckerPlugin, ModernTheme) { var success = arguments[arguments.length - 2]; var failure = arguments[arguments.length - 1]; ModernTheme(); SpellcheckerPlugin(); var sCheckButtonType = function (editor, expected) { return Step.sync(function () { var button = editor.buttons.spellchecker; RawAssertions.assertEq('should have same type', expected, button.type); }); }; TinyLoader.setup(function (editor, onSuccess, onFailure) { Pipeline.async({}, [ sCheckButtonType(editor, 'splitbutton') ], onSuccess, onFailure); }, { plugins: 'spellchecker', toolbar: 'spellchecker', spellchecker_languages: 'English=en,French=fr,German=de', skin_url: '/project/src/skins/lightgray/dist/lightgray' }, success, failure); } );