]> git.sur5r.net Git - bacula/bacula/blob - gui/baculum/debian/missing-sources/framework/Web/Javascripts/source/tinymce-405/classes/Compat.js
baculum: Add missing-sources directory in debian metadata structure
[bacula/bacula] / gui / baculum / debian / missing-sources / framework / Web / Javascripts / source / tinymce-405 / classes / Compat.js
1 /**
2  * Compat.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 /**
12  * TinyMCE core class.
13  *
14  * @static
15  * @class tinymce
16  * @borrow-members tinymce.EditorManager
17  * @borrow-members tinymce.util.Tools
18  */
19 define("tinymce/Compat", [
20         "tinymce/dom/DOMUtils",
21         "tinymce/dom/EventUtils",
22         "tinymce/dom/ScriptLoader",
23         "tinymce/AddOnManager",
24         "tinymce/util/Tools",
25         "tinymce/Env"
26 ], function(DOMUtils, EventUtils, ScriptLoader, AddOnManager, Tools, Env) {
27         var tinymce = window.tinymce;
28
29         /**
30          * @property {tinymce.dom.DOMUtils} DOM Global DOM instance.
31          * @property {tinymce.dom.ScriptLoader} ScriptLoader Global ScriptLoader instance.
32          * @property {tinymce.AddOnManager} PluginManager Global PluginManager instance.
33          * @property {tinymce.AddOnManager} ThemeManager Global ThemeManager instance.
34          */
35         tinymce.DOM = DOMUtils.DOM;
36         tinymce.ScriptLoader = ScriptLoader.ScriptLoader;
37         tinymce.PluginManager = AddOnManager.PluginManager;
38         tinymce.ThemeManager = AddOnManager.ThemeManager;
39
40         tinymce.dom = tinymce.dom || {};
41         tinymce.dom.Event = EventUtils.Event;
42
43         Tools.each(Tools, function(func, key) {
44                 tinymce[key] = func;
45         });
46
47         Tools.each('isOpera isWebKit isIE isGecko isMac'.split(' '), function(name) {
48                 tinymce[name] = Env[name.substr(2).toLowerCase()];
49         });
50
51         return {};
52 });
53
54 // Describe the different namespaces
55
56 /**
57  * Root level namespace this contains classes directly releated to the TinyMCE editor.
58  *
59  * @namespace tinymce
60  */
61
62 /**
63  * Contains classes for handling the browsers DOM.
64  *
65  * @namespace tinymce.dom
66  */
67
68 /**
69  * Contains html parser and serializer logic.
70  *
71  * @namespace tinymce.html
72  */
73
74 /**
75  * Contains the different UI types such as buttons, listboxes etc.
76  *
77  * @namespace tinymce.ui
78  */
79
80 /**
81  * Contains various utility classes such as json parser, cookies etc.
82  *
83  * @namespace tinymce.util
84  */