+++ /dev/null
-/*\r
- * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
- * Copyright (C) 2003-2009 Frederico Caldeira Knabben\r
- *\r
- * == BEGIN LICENSE ==\r
- *\r
- * Licensed under the terms of any of the following licenses at your\r
- * choice:\r
- *\r
- * - GNU General Public License Version 2 or later (the "GPL")\r
- * http://www.gnu.org/licenses/gpl.html\r
- *\r
- * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r
- * http://www.gnu.org/licenses/lgpl.html\r
- *\r
- * - Mozilla Public License Version 1.1 or later (the "MPL")\r
- * http://www.mozilla.org/MPL/MPL-1.1.html\r
- *\r
- * == END LICENSE ==\r
- *\r
- * Debug window control and operations.\r
- */\r
-\r
-// Public function defined here must be declared in fckdebug_empty.js.\r
-\r
-var FCKDebug =\r
-{\r
- Output : function( message, color, noParse )\r
- {\r
- if ( ! FCKConfig.Debug )\r
- return ;\r
-\r
- try\r
- {\r
- this._GetWindow().Output( message, color, noParse ) ;\r
- }\r
- catch ( e ) {} // Ignore errors\r
- },\r
-\r
- OutputObject : function( anyObject, color )\r
- {\r
- if ( ! FCKConfig.Debug )\r
- return ;\r
-\r
- try\r
- {\r
- this._GetWindow().OutputObject( anyObject, color ) ;\r
- }\r
- catch ( e ) {} // Ignore errors\r
- },\r
-\r
- _GetWindow : function()\r
- {\r
- if ( !this.DebugWindow || this.DebugWindow.closed )\r
- this.DebugWindow = window.open( FCKConfig.BasePath + 'fckdebug.html', 'FCKeditorDebug', 'menubar=no,scrollbars=yes,resizable=yes,location=no,toolbar=no,width=600,height=500', true ) ;\r
-\r
- return this.DebugWindow ;\r
- }\r
-} ;\r