PHP Classes

File: public/js/tinymce/src/plugins/table/src/main/js/selection/Ephemera.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   GoLavaCMS   public/js/tinymce/src/plugins/table/src/main/js/selection/Ephemera.js   Download  
File: public/js/tinymce/src/plugins/table/src/main/js/selection/Ephemera.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,202 bytes
 

Contents

Class file image Download
/** * Ephemera.js * * Released under LGPL License. * Copyright (c) 1999-2017 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ define( 'tinymce.plugins.table.selection.Ephemera', [ 'ephox.katamari.api.Fun' ], function (Fun) { var selected = 'data-mce-selected'; var selectedSelector = 'td[' + selected + '],th[' + selected + ']'; // used with not selectors var attributeSelector = '[' + selected + ']'; var firstSelected = 'data-mce-first-selected'; var firstSelectedSelector = 'td[' + firstSelected + '],th[' + firstSelected + ']'; var lastSelected = 'data-mce-last-selected'; var lastSelectedSelector = 'td[' + lastSelected + '],th[' + lastSelected + ']'; return { selected: Fun.constant(selected), selectedSelector: Fun.constant(selectedSelector), attributeSelector: Fun.constant(attributeSelector), firstSelected: Fun.constant(firstSelected), firstSelectedSelector: Fun.constant(firstSelectedSelector), lastSelected: Fun.constant(lastSelected), lastSelectedSelector: Fun.constant(lastSelectedSelector) }; } );