Browse code

tinyMCE '2' is now 2.1.2 - Seems tinyMCE '2' was actually 3.0.9 (my fault for not checking), so '2' is now 2.1.2, and '3' is now 3.4.8... eFiction 3.4.3 used tinyMCE 2.1.0, and 3.5 upgraded that to 3.0.9.

Clarissa Walker authored on 2026/07/28 07:20:33
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,36 @@
1
+/**
2
+ * $Id$
3
+ *
4
+ * @author Moxiecode
5
+ * @copyright Copyright � 2004-2007, Moxiecode Systems AB, All rights reserved.
6
+ *
7
+ * The contents of this file will be wrapped in a class later on.
8
+ */
9
+
10
+/**#@+
11
+ * @member TinyMCE_Engine
12
+ * @method
13
+ */
14
+tinyMCE.add(TinyMCE_Engine, {
15
+	/**
16
+	 * Debugs the specified message to devkit if it's loaded.
17
+	 *
18
+	 * @param {1..n} Numerous arguments that will be outputed.
19
+	 */
20
+	debug : function() {
21
+		var m = "", a, i, l = tinyMCE.log.length;
22
+
23
+		for (i=0, a = this.debug.arguments; i<a.length; i++) {
24
+			m += a[i];
25
+
26
+			if (i<a.length-1)
27
+				m += ', ';
28
+		}
29
+
30
+		if (l < 1000)
31
+			tinyMCE.log[l] = "[debug] " + m;
32
+	}
33
+
34
+	/**#@-*/
35
+});
36
+