src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/AbsoluteLayout.js
changeset 566 a1707c607eec
parent 565 318533413200
child 567 bca1726b1d85
--- a/src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/AbsoluteLayout.js	Sun Jul 19 02:02:20 2020 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-/**
- * AbsoluteLayout.js
- *
- * Copyright, Moxiecode Systems AB
- * Released under LGPL License.
- *
- * License: http://www.tinymce.com/license
- * Contributing: http://www.tinymce.com/contributing
- */
-
-/**
- * LayoutManager for absolute positioning. This layout manager is more of
- * a base class for other layouts but can be created and used directly.
- *
- * @-x-less AbsoluteLayout.less
- * @class tinymce.ui.AbsoluteLayout
- * @extends tinymce.ui.Layout
- */
-define("tinymce/ui/AbsoluteLayout", [
-	"tinymce/ui/Layout"
-], function(Layout) {
-	"use strict";
-
-	return Layout.extend({
-		Defaults: {
-			containerClass: 'abs-layout',
-			controlClass: 'abs-layout-item'
-		},
-
-		/**
-		 * Recalculates the positions of the controls in the specified container.
-		 *
-		 * @method recalc
-		 * @param {tinymce.ui.Container} container Container instance to recalc.
-		 */
-		recalc: function(container) {
-			container.items().filter(':visible').each(function(ctrl) {
-				var settings = ctrl.settings;
-
-				ctrl.layoutRect({
-					x: settings.x,
-					y: settings.y,
-					w: settings.w,
-					h: settings.h
-				});
-
-				if (ctrl.recalc) {
-					ctrl.recalc();
-				}
-			});
-		},
-
-		/**
-		 * Renders the specified container and any layout specific HTML.
-		 *
-		 * @method renderHtml
-		 * @param {tinymce.ui.Container} container Container to render HTML for.
-		 */
-		renderHtml: function(container) {
-			return '<div id="' + container._id + '-absend" class="' + container.classPrefix + 'abs-end"></div>' + this._super(container);
-		}
-	});
-});
\ No newline at end of file