[mochikit] Re: Random Ideas for Mochikit.DOM

2008-08-20 Thread Amit Mendapara
I don't understand why MochiKit team says somewhere (http:// trac.mochikit.com/wiki/StyleGuide) not to use aliases and short names while enabling them by default. I personally don't like short names and particularly the aliases `$` and `$$`. In my opinion, only fully qualified names should be

[mochikit] Re: Random Ideas for Mochikit.DOM

2008-08-21 Thread Amit Mendapara
On Aug 21, 11:08 am, Per Cederberg [EMAIL PROTECTED] wrote: Could you provide a simple example on how this MochiKit.DOMSelector class is supposed to be used. Compared to the current way to do things. pre // hide all DIV elements with CLASS hideme MochiKit.get('div.hideme').fade({from: 1.0,

[mochikit] Re: Random Ideas for Mochikit.DOM

2008-08-27 Thread Amit Mendapara
functionality 2. MochiKit.Query.select - a function that returns instance or Query 3. MochiKit.select = MochiKit.Query.select Regards .. Amit Mendapara On Aug 27, 3:39 pm, Per Cederberg [EMAIL PROTECTED] wrote: Ok, I think I understand how you mean. Don't think it is a bad idea, but it is partially

[mochikit] Re: Random Ideas for Mochikit.DOM

2008-08-27 Thread Amit Mendapara
Yes, it seems promising. If this is going to be happen, I will continue on other things... Regards -- Amit Mendapara On Aug 27, 8:18 pm, Arnar Birgisson [EMAIL PROTECTED] wrote: On Wed, Aug 27, 2008 at 14:28, Amit Mendapara [EMAIL PROTECTED] wrote: I'm working on this during my spare time

[mochikit] Re: Random Ideas for Mochikit.DOM

2008-08-27 Thread Amit Mendapara
for a PlotKit patchset and it enables others to clone my repo very easily (once they learn how to use Git of course :-) I am using Launchpad.net which provides Bazzar vcs, which is similar to git. Regards -- Amit Mendapara Cheers, /Per On Wed, Aug 27, 2008 at 4:28 PM, Amit Mendapara [EMAIL

[mochikit] Re: Random Ideas for Mochikit.DOM

2008-08-27 Thread Amit Mendapara
On Aug 27, 11:25 pm, machineghost [EMAIL PROTECTED] wrote: Arnar, I apologize; I confused you with Amit (in my defense, you both have unusual names starting with A and both of you were interested in adding JQuery like functionality to MochiKit). I warned him that trying to add  JQuery-like

[mochikit] Re: Selector speedup by using John Resig's Sizzle

2008-08-27 Thread Amit Mendapara
my code under any FSF approved licenses like MIT or GLP. Do you see any difficulties of including these sources to MochiKit particularly under AFL? Regards .. Amit Mendapara On Aug 25, 9:06 pm, Arnar Birgisson [EMAIL PROTECTED] wrote: Hey all, Some of you may have seen on reddit that John Resig

[mochikit] MochiKit Extensions

2008-09-02 Thread Amit Mendapara
... Regards .. Amit Mendapara --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED

[mochikit] Re: MochiKit Extensions

2008-09-05 Thread Amit Mendapara
. MochiKit.Remote.get(url[, data, options]) 3. MochiKit.Remote.post(url[, data, options]) 4. MochiKit.Remote.JSON.get(url[, data, options]) 5. MochiKit.Remote.JSON.post(url[, data, options]) All these functions are similar to MochiKit.Async functions and returns MochiKit.Async.Deferred. Regards .. Amit Mendapara

[mochikit] Re: Ajax Dom Replacement

2008-09-08 Thread Amit Mendapara
executes JavaScript within the text if any. Though almost finished, the module is still not made public. I'm reviewing some of the code and will release the code within a week or so... Regards .. Amit Mendapara On Sep 8, 4:43 pm, gregor [EMAIL PROTECTED] wrote: I would like to change a DOM

[mochikit] Re: Ajax Dom Replacement

2008-09-08 Thread Amit Mendapara
); }); removeElement(old); Regards .. Amit Mendapara On Sep 8, 5:52 pm, Arnar Birgisson [EMAIL PROTECTED] wrote: Hey there, On Mon, Sep 8, 2008 at 13:43, gregor [EMAIL PROTECTED] wrote: I would like to change a DOM Object with a turbogears ajax call. At the moment the ajax call returns a string

[mochikit] Re: Ajax Dom Replacement

2008-09-08 Thread Amit Mendapara
On Sep 8, 6:48 pm, Per Cederberg [EMAIL PROTECTED] wrote: I guess it is just a matter of taste, but I'd use MochiKit.DOM.replaceChildNodes instead of multiple insert and remove calls. Yes, me too if I have to replace all children ;) Regards .. Amit Mendapara

[mochikit] Re: MochiKit Extensions

2008-09-10 Thread Amit Mendapara
lp:mochikit-ext Regards -- Amit Mendapara --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL

[mochikit] Re: Selector speedup by using John Resig's Sizzle

2008-10-07 Thread Amit Mendapara
be there: 1) a[fakeattribute] 2) :enabled 3) :disabled 4) :checked 5) ... more form selectors (see jQuery doc) Regards -- Amit Mendapara --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send

[mochikit] Re: Selector speedup by using John Resig's Sizzle

2008-10-13 Thread Amit Mendapara
MochiKit 1.5)... - Amit Mendapara --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL

[mochikit] Re: Selector speedup by using John Resig's Sizzle

2008-10-13 Thread Amit Mendapara
), but I was unable to change/comment it later. That's why I never submitted again. Anyway, I will prepare one on MochiKit.Selector this night and will post here in this thread instead... - Amit Mendapara --~--~-~--~~~---~--~~ You received this message because you

[mochikit] Re: Selector speedup by using John Resig's Sizzle

2008-10-13 Thread Amit Mendapara
vcs, bug tracking, blueprints and more. Launchpad team has already created a project for MochiKit (so that no one then MochiKit team can claim the ownership, you can contact Launchpad team to get ownership rights). - Amit Mendapara On Oct 13, 6:24 pm, Per Cederberg [EMAIL PROTECTED] wrote

[mochikit] Re: Selector speedup by using John Resig's Sizzle

2008-10-14 Thread Amit Mendapara
Whatever you prefer Bob. But users who want to contribute by means of codding, reporting/fixing bugs, suggesting new ideas or anything should never been restricted anyway because of those few spammers... - Amit Mendapara On Oct 13, 8:19 pm, Bob Ippolito [EMAIL PROTECTED] wrote: Well, the login

[mochikit] Re: MochiKit 1.4 released

2008-10-21 Thread Amit Mendapara
Congrats and many thanks to all who made it possible. I'm sure we could reveal even better next time. Thanks Per... - Amit Mendapara On Oct 21, 3:32 pm, Per Cederberg [EMAIL PROTECTED] wrote: MochiKit 1.4 has now been released and is available on the web site:    http://mochikit.com

[mochikit] Re: MochiKit 1.4 released

2008-10-24 Thread Amit Mendapara
Hello Per, Several files in the downloadable zip package have permission issues (on Linux). Please make sure that it's packaged properly with correct access permissions. - Amit Mendapara On Oct 21, 3:32 pm, Per Cederberg [EMAIL PROTECTED] wrote: MochiKit 1.4 has now been released

[mochikit] Re: Suggested API:s for MochiKit 1.5

2008-11-03 Thread Amit Mendapara
possible and contains little code from jQuery where it can't (that's why, I have released ME under the GPL/MIT licences. Though, personally I always prefer FSF approved licenses). Regards -- Amit Mendapara On Oct 27, 2:49 pm, Per Cederberg [EMAIL PROTECTED] wrote: Hi everyone, Development

[mochikit] Re: Suggested API:s for MochiKit 1.5

2008-11-03 Thread Amit Mendapara
compatibility issues. If you compare them both, you might found that MochiKit.Query tries to imitate jQuery using MochiKit functions as much as possible and there are room to remove those jQuery code from the current implementation. Regards -- Amit Mendapara

[mochikit] Re: connectEach shortcut

2008-12-14 Thread Amit Mendapara
Look at the MochiKit.Query module of the MochiKit Extensions (http:// launchpad.net/mochikit-ext). It provides jQuery style signal functions... MochiKit.Query('#my-ul li').click(function(evt){ // handle events here }); or MochiKit.Query('#my-ul li').click(some_callback); then you can

[mochikit] Re: Weird bug in MochiKit.Style.getElementPosition

2008-12-15 Thread Amit Mendapara
What does this line really intended for? relativeTo = arguments.callee(relativeTo); I have removed this line and that error was gone... - Amit On Dec 12, 8:08 pm, Per Cederberg cederb...@gmail.com wrote: Hi, I ran across a weird bug in MochiKit.Style.getElementPosition causing FF to throw

[mochikit] Re: Curry and uncurry

2008-12-17 Thread Amit Mendapara
I think, for functional programming, we should keep things simple. It's better to keep code simple and readable. Can you explain few more use cases of the proposed functions? Regards -- Amit On Dec 17, 9:22 pm, Arnar Birgisson arna...@gmail.com wrote: One thing I think could be useful is to

[mochikit] Re: Introducing the MochiKit.Text module

2008-12-17 Thread Amit Mendapara
It's very good addition :) especially the new formating functions. I'll improve my MochiKit.String module so that one can create String instance with the new formating patterns. Again, I'm too, agree with Arner. Try to follow Python conventions as much as possible. startsWith = startswith

[mochikit] Defered.setFinal

2009-02-10 Thread Amit Mendapara
Hi Per, I have just started again improving the MochiKit Extensions. While creating tests for the Ajax module, I found one problem (not bug, but specific to the feature I'm trying to implement). I registered a callback which should be fired at the end of all registered callbacks. I achieved by

[mochikit] Re: Defered.setFinal

2009-02-10 Thread Amit Mendapara
formally correct solution would probably be a good idea. Cheers, /Per On Tue, Feb 10, 2009 at 2:30 PM, Amit Mendapara mendapara.a...@gmail.com wrote: Hi Per, I have just started again improving the MochiKit Extensions. While creating tests for the Ajax module, I found one problem (not bug

[mochikit] Re: Defered.setFinal

2009-02-11 Thread Amit Mendapara
, /Per On Tue, Feb 10, 2009 at 2:30 PM, Amit Mendapara mendapara.a...@gmail.com wrote: Hi Per, I have just started again improving the MochiKit Extensions. While creating tests for the Ajax module, I found one problem (not bug, but specific to the feature I'm trying to implement). I

[mochikit] Re: Defered.setFinal

2009-07-20 Thread Amit Mendapara
to come back on MochiKit Extensions soon... Regards -- Amit Mendapara On Jul 20, 2:26 pm, Per Cederberg cederb...@gmail.com wrote: Slow response here, but I finally got around to committing this to Subversion (r1533):  http://trac.mochikit.com/changeset/1533 Modified the patch a bit further