PHP Classes

File: public/js/tinymce/src/core/src/main/js/api/Main.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   GoLavaCMS   public/js/tinymce/src/core/src/main/js/api/Main.js   Download  
File: public/js/tinymce/src/core/src/main/js/api/Main.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,139 bytes
 

Contents

Class file image Download
/** * Main.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.core.api.Main', [ 'ephox.katamari.api.Fun', 'global!window', 'tinymce.core.api.Tinymce' ], function (Fun, window, Tinymce) { /*eslint consistent-this: 0 */ var context = this || window; var exportToModuleLoaders = function (tinymce) { // Bolt if (typeof context.define === "function" && !context.define.amd) { context.define("ephox/tinymce", [], Fun.constant(tinymce)); context.define("tinymce.core.EditorManager", [], Fun.constant(tinymce)); } // CommonJS if (typeof module === 'object') { /* global module */ module.exports = tinymce; } }; var exportToWindowGlobal = function (tinymce) { window.tinymce = tinymce; window.tinyMCE = tinymce; }; return function () { exportToWindowGlobal(Tinymce); exportToModuleLoaders(Tinymce); return Tinymce; }; } );