[jquery-dev] Re: drag/drop for live events, and is jQuery still accepting minor patches?

2010-01-15 Thread Justin Meyer
); } On Jan 13, 11:40 pm, Justin Meyer justinbme...@gmail.com wrote: I'm trying to implement drag-drop for live events: $(.handle).live(dropped, func1); $(.drop).live(dropon, func2); I'm unable to get it working without needing to change jQuery, but not significantly.  Are these types

[jquery-dev] make cleanData available

2010-01-13 Thread Justin Meyer
jQuery.UI and a few other plugins require a 'teardown' callback by hacking removeData, remove, html, empty, etc. In 1.4, it would be very easy to hack in teardown if cleanData was exposed. So something like: var cd = jQuery.cleanData jQuery.cleanData = function(elems){

[jquery-dev] drag/drop for live events, and is jQuery still accepting minor patches?

2010-01-13 Thread Justin Meyer
I'm trying to implement drag-drop for live events: $(.handle).live(dropped, func1); $(.drop).live(dropon, func2); I'm unable to get it working without needing to change jQuery, but not significantly. Are these types of patches still going to be accepted? The problem is that an efficient drag

[jquery-dev] jQuery Foundation timelines?

2010-01-05 Thread Justin Meyer
It was mentioned at jQCon that jQuery was going to be under a foundation (like Dojo). I've got a client (a Microsoft Shop), that is anxiously waiting for this. Any word on when this is going to happen? I'd also like to move JavaScriptMVC's code into the jQuery foundation. Will this be

[jquery-dev] Teardown on plugins

2009-12-14 Thread Justin Meyer
Is there a 'teardown' for plugins that can get triggered automatically (similar to that for events)? It's extremely common, and a source of bugs when I see: $.fn.mySuperPlugin = function(){ ...code ... $(document).click(function(e) { ...code... }); ...code... } Yes, they should be doing

[jquery-dev] Re: Ant build

2009-11-26 Thread Justin Meyer
- Notice the test/jquery.js. This is on a fresh install. Am I stupid, or the only person using windows doing this? On Nov 25, 2:33 pm, Justin Meyer justinbme...@gmail.com wrote: It works now that I have updated to the latest jQuery. On Nov 25

[jquery-dev] Re: Ant build

2009-11-26 Thread Justin Meyer
Ah, git is by default CRLFing files. To turn it off: git config core.autocrlf false On Nov 25, 2:33 pm, Justin Meyer justinbme...@gmail.com wrote: It works now that I have updated to the latest jQuery. On Nov 25, 1:13 pm, Justin Meyer justinbme...@gmail.com wrote: it might be the qunit

[jquery-dev] Re: Ant build

2009-11-25 Thread Justin Meyer
Only sizzle runs for some reason. Likely b/c I am using windows. Does this work for someone else using msysgit? Here's the output: -- $ make Grabbing external dependencies... Submodule 'src/sizzle'

[jquery-dev] Re: Ant build

2009-11-25 Thread Justin Meyer
Should qunit be listed in .git/config? http://pitupepito.homelinux.org/?p=24 says that submodules should be listed there. On Nov 25, 12:56 pm, Justin Meyer justinbme...@gmail.com wrote: Only sizzle runs for some reason.  Likely b/c I am using windows. Does this work for someone else using

[jquery-dev] Re: Ant build

2009-11-25 Thread Justin Meyer
it might be the qunit file that is blocking it. On Nov 25, 12:56 pm, Justin Meyer justinbme...@gmail.com wrote: Only sizzle runs for some reason.  Likely b/c I am using windows. Does this work for someone else using msysgit?  Here's the output

[jquery-dev] Re: Ant build

2009-11-25 Thread Justin Meyer
It works now that I have updated to the latest jQuery. On Nov 25, 1:13 pm, Justin Meyer justinbme...@gmail.com wrote: it might be the qunit file that is blocking it. On Nov 25, 12:56 pm,JustinMeyerjustinbme...@gmail.com wrote: Only sizzle runs for some reason.  Likely b/c I am using

[jquery-dev] Re: Fix-less events

2009-11-09 Thread Justin Meyer
. I mean, there's not much point in not-fixing the event object for some events - might as well do it for no events then. ...unless there's something else that you were considering? --John On Fri, Nov 6, 2009 at 2:43 AM, Justin Meyer justinbme...@gmail.com wrote: The fix function is rather

[jquery-dev] Ant build

2009-11-09 Thread Justin Meyer
Does building with Ant work from github anymore? I'm guessing no b/c it needs to get QUnit/Sizzle. Would it be nice if you could pull in dependencies in JS like ruby's gem install, and all your building would already be done via JavaScript. Hm ... JMVC has this feature :). -- You

[jquery-dev] Re: Will the live() method be improved in 1.4?

2009-11-05 Thread Justin Meyer
How about $(#something).delegate(.thing,click, func). It almost makes too much sense :). On Nov 5, 6:31 pm, Robert Katić robert.ka...@gmail.com wrote: I wonder why there would be an $.live with document as the only interesting context. Something like   $(document).zombi(selector, type,

[jquery-dev] Fix-less events

2009-11-05 Thread Justin Meyer
The fix function is rather expensive for things like mousemove and mouseover. Can we make it possible that events won't be fixed for certain events? If you like this idea, I'll submit a patch. -- You received this message because you are subscribed to the Google Groups jQuery Development

[jquery-dev] Re: Dependency Management and jQuery building

2009-10-09 Thread Justin Meyer
I've started working on this. If I remember correctly from the conference, core will include just the core.js and getScript. Is this correct? The only other potentially likely candidate in my opinion would be the ready event. Thoughts? On Sep 18, 10:49 am, Justin Meyer justinbme...@gmail.com

[jquery-dev] Re: Dependency Management and jQuery building

2009-10-09 Thread Justin Meyer
Should getScript have a little dependency management? Should people to know if they are loading events, that they have to load data? On Oct 9, 5:54 pm, Justin Meyer justinbme...@gmail.com wrote: I've started working on this.  If I remember correctly from the conference, core will include just

[jquery-dev] Re: Event Delegation

2009-09-14 Thread Justin Meyer
; alert(jQuery.support.submitBubbles) }); On Sep 14, 12:16 am, Justin Meyer justinbme...@gmail.com wrote: WARNING: Skip to the end to avoid an in depth discussion of the problems, and the only questions I need guidance

[jquery-dev] Re: Event Delegation

2009-09-14 Thread Justin Meyer
might have a chance at being used or is going in the right direction. Thanks, Justin On Sep 14, 1:15 pm, Justin Meyer justinbme...@gmail.com wrote: The following avoids browser sniffing for IE's submit. It simply creates a div inside a form, then dispatches a submit event and sees if it bubbles

[jquery-dev] Re: Event Delegation

2009-09-14 Thread Justin Meyer
It seems like I need to be able to store multiple guids in guid. Would it be better to have it handle if guid is an array, or just add a guids property? On Sep 14, 5:41 pm, Justin Meyer justinbme...@gmail.com wrote: Another issue is that every live event is stored in $.data ('events').live

[jquery-dev] Re: Event Delegation

2009-09-14 Thread Justin Meyer
live.remove is going to have to get passed the stored guids instead of just counting the remaining 'submits'. On Sep 14, 5:41 pm, Justin Meyer justinbme...@gmail.com wrote: Another issue is that every live event is stored in $.data ('events').live in a flat hash.  That means you have

[jquery-dev] Re: Event Delegation

2009-09-14 Thread Justin Meyer
On Kangax's method: Perfect, thanks! I'm surprised that works. On 100s of delegates: Well 100s is an exaggeration, but I would guess about 200. There are about 40 different components, each responding to about 5 events. The components listen regardless if the component is in the page. Someone

[jquery-dev] Event Delegation

2009-09-13 Thread Justin Meyer
WARNING: Skip to the end to avoid an in depth discussion of the problems, and the only questions I need guidance. I'm going to replace JMVC's delegation lib:

[jquery-dev] JavaScriptMVC 2.0

2009-09-06 Thread Justin Meyer
to add a lightbox here and an animation effect there. However, it's possible to for jQuery to have a smooth gradient from adding simple hover effects to full blown, 100k lines-of-code, monster apps. If you have ideas on ideas for the next version (2.1), I'd love to hear them. Thanks, Justin Meyer

[jquery-dev] window['eval']() in rhino

2009-05-19 Thread Justin Meyer
I assume there must be a good reason, but why is window['eval'] used as opposed to window.eval in httpData? This has some issues in rhino for reasons discussed here: http://www.mail-archive.com/dev-tech-js-engine-rh...@lists.mozilla.org/msg00664.html I know jQuery's tests run in rhino, but

[jquery-dev] Re: A Modest Proposal: jQuery Enterprise

2009-04-28 Thread Justin Meyer
, Trey On Feb 27, 6:03 am, Justin Meyer justinbme...@gmail.com wrote: @Trey,   You created a plugin to deal with the exact problems we have been talking about :).   Have you developed a JS centered application, something that could be considered a 'Thin-Server-Architecture' app? When

[jquery-dev] Re: A Modest Proposal: jQuery Enterprise

2009-04-28 Thread Justin Meyer
. Harsh opinion, but I wouldn't be me without it. If your interested on working on some projects (as well as other people), I'd love to hear back from you. -- Trey On Apr 28, 4:40 pm, Justin Meyer justinbme...@gmail.com wrote: If anyone out there is still interested ... I just put up

[jquery-dev] Re: A Modest Proposal: jQuery Enterprise

2009-02-26 Thread Justin Meyer
- and we get the benefit of having excellently defined and documented resources and conventions for people to use - so everyone wins. --John On Tue, Feb 24, 2009 at 2:41 PM, Justin Meyer justinbme...@gmail.com wrote: - package and minimize multiple files (YUI Compressor) - Could

[jquery-dev] Re: A Modest Proposal: jQuery Enterprise

2009-02-24 Thread Justin Meyer
- package and minimize multiple files (YUI Compressor) - Could be solved much better as it is not integrated into the 'framework'. You have to 'double' include everything (once in your page, another in your build script). You have to set your html to switch from loading separate files to

[jquery-dev] Re: A Modest Proposal: jQuery Enterprise

2009-02-24 Thread Justin Meyer
the benefit of having excellently defined and documented resources and conventions for people to use - so everyone wins. --John On Tue, Feb 24, 2009 at 2:41 PM, Justin Meyer justinbme...@gmail.com wrote: - package and minimize multiple files (YUI Compressor) - Could be solved much better

[jquery-dev] Re: Event delegation

2009-01-25 Thread Justin Meyer
So, I've started the process of converting to jQuery. But, I think there is a snag. I noticed that you can't cancel events. Is this on the horizon? In JMVC, I collect all the elements that respond to the event through delegation and order them. I dispatch each callback, but if the event's

[jquery-dev] Re: Event delegation

2008-12-24 Thread Justin Meyer
Change in IE: I listen for click instead of change. I check if it is on a SELECT element. If it is, I check to see if its value has changed after each click. I don't think using capture instead of bubbling will help. Change in webkit Listen for change, but I think it is called even if