Author: pyaschenko
Date: 2008-10-08 06:40:33 -0400 (Wed, 08 Oct 2008)
New Revision: 10690
Modified:
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js
Log:
base component js class
Modified:
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js
===================================================================
---
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js 2008-10-08
09:10:54 UTC (rev 10689)
+++
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js 2008-10-08
10:40:33 UTC (rev 10690)
@@ -0,0 +1,19 @@
+if (!Richfaces) Richfaces = {};
+Richfaces.Editor = {};
+Richfaces.Editor.getResourceURL = function (baseURL, type) {
+ return Richfaces.Editor.ResourceHTML.replace("$1", baseURL);
+};
+
+Richfaces.Editor.ResourceHTML = "ghdfgsdfgsdfgsdfgdf sg sdfg$1fgsdfdfgdfg";
+
+RichEditor = Class.create();
+Object.extend(RichEditor.prototype, {
+ initialize: function(id,parameters) {
+ this["rich:destructor"] = "destructor";
+ },
+ destructor: function()
+ {
+
+ }
+});
+
\ No newline at end of file
Show replies by date