PHP Classes

File: WITheme/WICMS/admin/js/plugins/textEditor/tinymce_4.2.6_dev/tinymce/js/tinymce/plugins/table/classes/Utils.js

Recommend this page to a friend!
  Classes of Jules Warner   WICMS   WITheme/WICMS/admin/js/plugins/textEditor/tinymce_4.2.6_dev/tinymce/js/tinymce/plugins/table/classes/Utils.js   Download  
File: WITheme/WICMS/admin/js/plugins/textEditor/tinymce_4.2.6_dev/tinymce/js/tinymce/plugins/table/classes/Utils.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WICMS
Database driven content management system with PDO
Author: By
Last change:
Date: 7 years ago
Size: 643 bytes
 

Contents

Class file image Download
/** * Utils.js * * Released under LGPL License. * Copyright (c) 1999-2015 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /** * Various utility functions. * * @class tinymce.tableplugin.Utils * @private */ define("tinymce/tableplugin/Utils", [ "tinymce/Env" ], function(Env) { function getSpanVal(td, name) { return parseInt(td.getAttribute(name) || 1, 10); } function paddCell(cell) { if (!Env.ie || Env.ie > 10) { cell.innerHTML = '<br data-mce-bogus="1" />'; } } return { getSpanVal: getSpanVal, paddCell: paddCell }; });