Ah cool thx :)
Hi everybody,
I was just trying to execute this example from Mootools docs:
http://mootools.net/docs/more/Utilities/Group
var xhr1 = new Request({url: 'data.js', evalScripts: true});
var xhr2 = new Request({url: 'abstraction.js', evalScripts: true});
var xhr3 = new Request({url: 'template.js', eva
Just an info,
If you are using Mootools version < 1.3. You have to replace
typeOf(fn) to $type(fn)
eful way of
> > writing classes as it allows editor like eclipse to outline your methods.
>
> > On Thu, Mar 10, 2011 at 8:30 PM, אריה גלזר wrote:
>
> >> Porting Resig's idea won't be very hard. It would require some monkey
> >> patching though. I might be
Hi Slik,
That is exactly, what I have looked for. But It's no Mootools. I found
also a solution from John Resig
http://ejohn.org/blog/javascript-method-overloading/
. But is still no Mootools ;) I thought with Mootools would be
possible. Thank you anyway ;)
On Mar 10, 12:11 pm, Slik wrote:
> Oh,
,
> _draw_overloaded_2: function(extra){
> return 'filled star' + extra;
> }
>
>
>
>
>
>
>
> });
> On Thu, Mar 10, 2011 at 12:01, remram wrote:
> > Hi everybody,
> > I searched the web for a solution for my problem but I'
Hi everybody,
I searched the web for a solution for my problem but I'm still
unsuccessful. What I would like to do, is to do overloading my methods
in my class (in my case draw). I have no idea if it is possible to do
that with MooTools (version 1.2.4).
Please have a look at my code below.
Thank yo