PluginProbe
CSS & JavaScript Toolbox / 6.1.2
CSS & JavaScript Toolbox v6.1.2
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
css-javascript-toolbox / framework / js / ace / pluggable / pluggable.js

pluggable.js in CSS & JavaScript Toolbox 6.1.2, at framework/js/ace/pluggable/pluggable.js

44 lines 701 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 *
3 */
4
5 /**
6 *
7 */
8 (function($) {
9
10 /**
11 * put your comment there...
12 *
13 * @type Object
14 */
15 var ACEPluggable = {
16
17 /**
18 * put your comment there...
19 *
20 * @type Object
21 */
22 plugins : {},
23
24 /**
25 * Create ACE Plugins system.
26 *
27 * @returns void
28 */
29 init : function() {
30 // Couldnt find ace object!
31 if (ace == undefined) {
32 throw {code : 0x0001, msg: "Error while initializing ACEPluggabel class. ACE is not defined!!\nPlease check your Javascript loading order"};
33 }
34 else { // ace found!
35 // For now just assign ACEPluggable object reference.
36 ace.pluggable = this;
37 }
38 }
39
40 }; // End pluggable prototype.
41
42 // Intialize!
43 ACEPluggable.init();
44 })(jQuery);