);
}
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.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){
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
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
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
-
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
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
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'
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
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
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
. 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
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
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,
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
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
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
;
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
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
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
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
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
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:
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
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
,
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
. 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
- 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
- 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
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
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
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
32 matches
Mail list logo