[Moo] Re: xhr1.request is not a function

2011-05-09 Thread remram
Ah cool thx :)

[Moo] xhr1.request is not a function

2011-05-09 Thread remram
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

[Moo] Re: Overloading method

2011-03-11 Thread remram
Just an info, If you are using Mootools version < 1.3. You have to replace typeOf(fn) to $type(fn)

[Moo] Re: Overloading method

2011-03-11 Thread remram
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

[Moo] Re: Overloading method

2011-03-10 Thread remram
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,

[Moo] Re: Overloading method

2011-03-10 Thread remram
, >     _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'

[Moo] Overloading method

2011-03-10 Thread remram
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