Issue 14: MooEditable constructor issue
Status:  Fixed
Owner: ----
Closed:  Nov 2008
Reported by nickolas...@gmail.com, Nov 22, 2008
This works;

    m = new MooEditable($('textarea-1'));

But this

    m = new MooEditable('textarea-1');

results in the error;
    "this.textarea.getSize is not a function" (Line 93)

It seems to be the convention that mootools classes can accept an extended
element or just the id string and the class will extend the element
automatically. Just for consistency this would be nice.

Although I'm only instantiating MooEditable like this due to  Issue 13 ,
rather than;
    m = $('textarea-1').mooEditable();

I guess either is OK.

Keep up the good work :)

Nov 29, 2008
Project Member #1 cheeaun
(No comment was entered for this change.)
Status: Fixed