[Moo] Re: IDE that can show an outline/list of mootools functions?

2010-12-01 Thread Matt Thomson
"Mootools API Catalogs 1.2.1 could not be installed because it is not compatible with Komodo IDE 6.0.2." Cant find Komodo v5 on the activestate site either, never easy... Are you using Komodo v5? On Dec 2, 2:58 pm, Dimitar Christoff wrote: > Komodo IDE does a godo job of working with mootools c

Re: [Moo] IDE that can show an outline/list of mootools functions?

2010-12-01 Thread Dimitar Christoff
Komodo IDE does a godo job of working with mootools classes (once you install the plugin, even though it's a dated 1.2 api. Regards -- Dimitar Christoff blog: http://fragged.org/ twitter: http://twitter.com/D_mitar

[Moo] Re: IDE that can show an outline/list of mootools functions?

2010-12-01 Thread Matt Thomson
Hi doubleTap, The method you described works well, Thanks! Chris, I wish I used a mac, but I need windows for complicated reasons, so I can't use Panic. I'm wondering if it would be best to make a request to Aptana to support mootools classes out of the box, writing code this way seems more of a

Re: [Moo] Re: Mootools 1.3, Request, post(), and data broken?

2010-12-01 Thread Sean McArthur
Nope, his issue was that Request objects can be sent with "get","post", but it wasn't working properly. ex: new Request(opts).post(); On Wed, Dec 1, 2010 at 3:29 PM, doubleTap wrote: > Hey Y'all, > > I just noticed this also but the situation I have seen is quite odd. > Opening my file locall

[Moo] Re: Mootools 1.3, Request, post(), and data broken?

2010-12-01 Thread doubleTap
Hey Y'all, I just noticed this also but the situation I have seen is quite odd. Opening my file locally like file:///Users/myUser/Sites/Remora/index.html allows Request to function but when I use a domain like http://10.0.1.11/~myUser/Remora/index.html, it will not fire. Is this the same issue yo

[Moo] Re: Passing arguments to bound function

2010-12-01 Thread doubleTap
Holy Poppp That was a pain in the ass. So, I found it. The difference is the 1.3.0.1 versus the Google Ajax API Mootools 1.3.0. As soon as I switch to a local copy from mootools.net of 1.3.0.1 it works. I didn't even have to get under the hood. I just had to look at the paint color. I have

Re: [Moo] Re: Passing arguments to bound function

2010-12-01 Thread Sanford Whiteman
> Maybe I do not understand my problem or I am not conveying it well > enough. I will work up a better example. Try this on: http://jsfiddle.net/JDCBL/1/ -- S.

[Moo] Re: IE Browser 7/8/9 Checked attribute issue

2010-12-01 Thread Christoph Pojer
thanks all for discussing this. I have pulled the fix by Sean for Core 1.3.1 On Dec 1, 8:00 pm, Gafa wrote: > ok, thanks > > It's important because as the users/developers of Mootools upgrade > their framework same use functionality should exist unless otherwise > documented as with the many new

Re: [Moo] Re: Mootools 1.3, Request, post(), and data broken?

2010-12-01 Thread Jon Baker
Perfect, thank you! On Dec 1, 2010, at 2:42 PM, Christoph Pojer wrote: I fixed this for 1.3.1: https://github.com/mootools/mootools-core/commit/92a0d19faffbb806bea3c716aa59cace1e3b969b Until then you can use the Request.js directly from the latest master on github and update this method yours

[Moo] Re: Mootools 1.3, Request, post(), and data broken?

2010-12-01 Thread Christoph Pojer
I fixed this for 1.3.1: https://github.com/mootools/mootools-core/commit/92a0d19faffbb806bea3c716aa59cace1e3b969b Until then you can use the Request.js directly from the latest master on github and update this method yourself. On Dec 1, 9:34 pm, jdavidbakr wrote: > I finally started biting off

[Moo] Mootools 1.3, Request, post(), and data broken?

2010-12-01 Thread jdavidbakr
I finally started biting off attempting to upgrade my sites to 1.3, but am running into an issue with the Request object. I have been using this in my 1.2 code: var req = new Request({ 'url':url, 'data':data,

[Moo] Re: IE Browser 7/8/9 Checked attribute issue

2010-12-01 Thread Gafa
ok, thanks It's important because as the users/developers of Mootools upgrade their framework same use functionality should exist unless otherwise documented as with the many new features of mootools 1.3 Gafa On Nov 30, 5:15 pm, Sean McArthur wrote: > So, I was largely wrong in whats happening

Re: [Moo] Re: Passing arguments to bound function

2010-12-01 Thread Sean McArthur
Um, looking at the source of 1.3 (no compat), Function.bind already does some currying. http://jsfiddle.net/seanmonstar/cMez9/ On Wed, Dec 1, 2010 at 9:58 AM, doubleTap wrote: > Hey Aaron, > > Maybe I do not understand my problem or I am not conveying it well > enough. I will work up a better

[Moo] Re: Passing arguments to bound function

2010-12-01 Thread doubleTap
Hey Aaron, Maybe I do not understand my problem or I am not conveying it well enough. I will work up a better example. Thank you, -doubleTap On Dec 1, 9:19 am, Aaron Newton wrote: > I thought the requirement was to pass arguments AND accept them? I.E. pass > x,y,z but the function is called by

Re: [Moo] Re: Passing arguments to bound function

2010-12-01 Thread Aaron Newton
I thought the requirement was to pass arguments AND accept them? I.E. pass x,y,z but the function is called by request and is passed variables by that (response text and whatnot) and that you want your function to receive both of them. If that's the case, you need to wrap. There's no function meth

[Moo] Re: Passing arguments to bound function

2010-12-01 Thread Robert
Yes, it looks pass does the same thing, missed this one... thanks On Dec 1, 8:27 am, אריה גלזר wrote: > On Wed, Dec 1, 2010 at 9:27 AM, אריה גלזר wrote: > > isn't this whay#pass is for? > >http://mootools.net/docs/core/Types/Function#Function:pass > > typos... what Function#pass is for > > > >

[Moo] Re: Passing arguments to bound function

2010-12-01 Thread Robert
I believe You are searching for curry: Function.prototype.curry = function() { var args = Array.prototype.slice.apply(arguments); var that = this; return function() { return that.apply(null, args.concat(Array.prototype.slice.apply(arguments))); } }; Use it like this: new Request({ url

[Moo] Re: IDE that can show an outline/list of mootools functions?

2010-12-01 Thread cbolson
I realise that this thread has moved off on a slight tangent, but I just wanted to add that I use Coda by Panic (http://www.panic.com/ coda/) and it does exactly what you are saying - creates a clickable list of all the Mootools (or whatever) functions in the side panel. Chris On 1 dic, 00:17, Ma

Re: [Moo] Re: IDE that can show an outline/list of mootools functions?

2010-12-01 Thread Sean McArthur
Either break up into smaller classes, or try using search more. I tend to use lighter-weight editors with bigger files, such as Notepad++ or UltraEdit. Scrolls fast, and searches far faster than some Java-based editors. On Wed, Dec 1, 2010 at 12:14 AM, Andrea Dessì wrote: > I used to write co

Re: [Moo] Re: IDE that can show an outline/list of mootools functions?

2010-12-01 Thread Andrea Dessì
I used to write code like that :P it helps the editor to find the right funcion list for the outline :D I know it suKs but when you have to write a lot of code it's the best way :) Personally I use eclipse + aptana, It's good if you have to develop not only JS, especially if J2EE. :) -- Andrea D