PHP Classes

File: public/js/tinymce/src/themes/mobile/src/main/js/util/UiDomFactory.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   GoLavaCMS   public/js/tinymce/src/themes/mobile/src/main/js/util/UiDomFactory.js   Download  
File: public/js/tinymce/src/themes/mobile/src/main/js/util/UiDomFactory.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: 575 bytes
 

Contents

Class file image Download
define( 'tinymce.themes.mobile.util.UiDomFactory', [ 'ephox.alloy.api.component.DomFactory', 'ephox.katamari.api.Strings', 'tinymce.themes.mobile.style.Styles' ], function (DomFactory, Strings, Styles) { var dom = function (rawHtml) { var html = Strings.supplant(rawHtml, { 'prefix': Styles.prefix() }); return DomFactory.fromHtml(html); }; var spec = function (rawHtml) { var sDom = dom(rawHtml); return { dom: sDom }; }; return { dom: dom, spec: spec }; } );