I like $extend(object original, object extension);, it gives you a better
idea of what the function and can do. The problem is that on some functions
you don't have well defined parameters, for example, getStyles can be used
like:
getStyles(mixed style, string style...); // returns the valus of the style
Which can be used like: getStyles('border', 'zIndex'), or
getStyles(['border', 'zIndex']), both will give same result.
So in this case it gets kind of confusing. But i still prefer it.
--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interfaces
On Mon, Nov 23, 2009 at 11:53 PM, pradador <[email protected]> wrote:
> Hey guys, I'm looking to update the MooTools syntax mode I wrote for
> Coda to the latest functions and features in MooTools 1.2.4
>
> Just wanted to get some input on how much to add to the autofill
> feature. My options are to stick with simple parentheses autofill
> after functions and just move the cursor inside for you to fill them
> up... or I can add the hints to the methods so the autofill would look
> something like:
>
> $extend(original, extension);
>
> instead of just:
>
> $extend();
>
> Another question would be whether people prefer to have the parameter
> type in the hint, so the example would become:
>
> $extend(object original, object extension);
>
> Anyway, I'd appreciate your input and help in making the MooMode
> better!
>