root/trunk/common/Editor/Test.js

Revision 185, 0.6 kB (checked in by ydnar, 3 years ago)

bugid:47825; toolbar, iframe and textarea are now initialized based on DOM ID instead of position or separately (in the case of toolbar)

  • Property svn:keywords set to Id
Line 
1/*
2$Id$
3
4Copyright Six Apart, Ltd. All rights reserved.
5Redistribution and use in source and binary forms is
6subject to the Six Apart JavaScript license:
7
8http://code.sixapart.com/svn/js/trunk/LICENSE.txt
9*/
10
11
12App.singletonConstructor =
13Editor.Test = new Class( App, {   
14    initComponents: function() {
15        arguments.callee.applySuper( this, arguments );
16        this.editor = new Editor( "editor" );
17        this.addComponent( this.editor );
18    },
19   
20   
21    destroyObject: function() {
22        this.editor = null;
23        this.editorToolbar = null;
24        arguments.callee.applySuper( this, arguments );
25    }
26} );
Note: See TracBrowser for help on using the browser.