src/myams/resources/js/ext/tinymce/dev/plugins/example_dependency/plugin.js
changeset 0 f05d7aea098a
equal deleted inserted replaced
-1:000000000000 0:f05d7aea098a
       
     1 /**
       
     2  * plugin.js
       
     3  *
       
     4  * Copyright, Moxiecode Systems AB
       
     5  * Released under LGPL License.
       
     6  *
       
     7  * License: http://www.tinymce.com/license
       
     8  * Contributing: http://www.tinymce.com/contributing
       
     9  */
       
    10 
       
    11 /*jshint unused:false */
       
    12 /*global tinymce:true */
       
    13 
       
    14 /**
       
    15  * Register the plugin, specifying the list of the plugins that this plugin depends on.  They are specified in a list,
       
    16  * with the list loaded in order. plugins in this list will be initialised when this plugin is initialized. (before the
       
    17  * init method is called). plugins in a depends list should typically be specified using the short name). If necessary
       
    18  * this can be done with an object which has the url to the plugin and the shortname.
       
    19  */
       
    20 tinymce.PluginManager.add('example_dependency', function() {
       
    21 	// Example logic here
       
    22 }, ['example']);