Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Code cleanup on MooEditable.Group
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeaun committed Feb 14, 2009
1 parent 55b3c41 commit c67ffc0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Source/MooEditable/MooEditable.Group.js
@@ -1,14 +1,16 @@
/*
Script: MooEditable.Group.js
Class for having multiple MooEditable instances on a page controlled by one toolbar.
MooEditableGroup
Class for having multiple MooEditable instances on a page controlled by one toolbar
License:
MIT-style license.
*/
var MooEditableGroup = new Class({

MooEditable.Group = new Class({

Extends: MooEditable,

initialize: function(toolbarEl,editorEl,options){
initialize: function(toolbarEl, editorEl, options){
this.setOptions(options);
this.options.toolbar = false; // no toolbars for the editors
this.addInstance(editorEl);
Expand Down Expand Up @@ -38,7 +40,6 @@ var MooEditableGroup = new Class({
this.self.textarea = this.self.iframe.getParent().getChildren("textarea")[0];
this.self.mode = 'iframe';
}.bindWithEvent({self:this, win:this.win}));

}

});

0 comments on commit c67ffc0

Please sign in to comment.