PHP Classes

File: public/js/tinymce/config/bolt/prod.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra  >  GoLavaCMS  >  public/js/tinymce/config/bolt/prod.js  >  Download  
File: public/js/tinymce/config/bolt/prod.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: 4 years ago
Size: 1,734 bytes
 

Contents

Class file image Download
configure({
  sources: [
    source('amd', 'ephox', '../../node_modules/@ephox', mapper.repo('src/main/js', mapper.hierarchical)),
    source('amd', 'tinymce.core', '../../src/core', function (id) {
      var parts = id.split('.');
      var suffix = parts.slice(2);

      if (parts[2] === 'test') return ['src/test/js/module'].concat(suffix).join('/');
      if (parts[2] === 'demo') return ['src/demo/js'].concat(suffix).join('/');
      else return ['src/main/js'].concat(suffix).join('/');
    }),
    source('amd', 'tinymce.ui', '../../src/ui', function (id) {
      var parts = id.split('.');
      var suffix = parts.slice(2);

      if (parts[2] === 'test') return ['src/test/js/module'].concat(suffix).join('/');
      if (parts[2] === 'demo') return ['src/demo/js'].concat(suffix).join('/');
      else return ['src/main/js'].concat(suffix).join('/');
    }),
    source('amd', 'tinymce.plugins', '../../src/plugins', function (id) {
      var parts = id.split('.');
      var suffix = parts.slice(3);
      var plugin = parts[2];

      if (parts[3] === 'test') return [plugin, 'src/test/js/module'].concat(suffix).join('/');
      if (parts[3] === 'demo') return [plugin, 'src/demo/js'].concat(suffix).join('/');
      else return [plugin, 'src/main/js'].concat(suffix).join('/');
    }),
    source('amd', 'tinymce.themes', '../../src/themes', function (id) {
      var parts = id.split('.');
      var suffix = parts.slice(3);
      var theme = parts[2];

      if (parts[3] === 'test') return [theme, 'src/test/js/module'].concat(suffix).join('/');
      if (parts[3] === 'demo') return [theme, 'src/demo/js'].concat(suffix).join('/');
      else return [theme, 'src/main/js'].concat(suffix).join('/');
    })
  ]
});
For more information send a message to info at phpclasses dot org.