403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/SolidCP/Portal/tinymce/themes/inlite/src/test/js/browser/core/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/SolidCP/Portal/tinymce/themes/inlite/src/test/js/browser/core/PredicateIdTest.js
test('browser/core/PredicateIdTest', [
	'ephox/tinymce',
	'tinymce/inlite/core/PredicateId'
], function (tinymce, 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();
});

Youez - 2016 - github.com/yon3zu
LinuXploit