PHP Classes

File: public/js/tinymce/src/themes/inlite/src/test/js/browser/core/PredicateIdTest.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   GoLavaCMS   public/js/tinymce/src/themes/inlite/src/test/js/browser/core/PredicateIdTest.js   Download  
File: public/js/tinymce/src/themes/inlite/src/test/js/browser/core/PredicateIdTest.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: 643 bytes
 

Contents

Class file image Download
test( 'browser.core.PredicateIdTest', [ 'tinymce.themes.inlite.core.PredicateId' ], function (PredicateId) { var testFromContextToolbars = function () { var isTrue = function () { return true; }; var isFalse = function () { return false; }; var predIds = PredicateId.fromContextToolbars([ { toolbar: 'a b c', predicate: isTrue, id: 'a' }, { toolbar: 'd e', predicate: isFalse, id: 'b' } ]); assert.eq([ PredicateId.create('a', isTrue), PredicateId.create('b', isFalse) ], predIds); }; testFromContextToolbars(); } );