y.event.add( this, data.live, liveHandler,
data );
}
On Jan 13, 11:40 pm, Justin Meyer wrote:
> I'm trying to implement drag-drop for live events:
>
> $(".handle").live("dropped", func1);
> $(".drop").live("dropon", func2);
>
&
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
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){
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 possible?
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 adding/r
Ah, git is by default CRLFing files. To turn it off:
git config core.autocrlf false
On Nov 25, 2:33 pm, Justin Meyer wrote:
> It works now that I have updated to the latest jQuery.
>
> On Nov 25, 1:13 pm, Justin Meyer wrote:
>
>
>
> > it might be the qunit file that
src/sizzle'
make: *** [init] Error 1
-
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 wrote:
> It works now that I have updated to the l
It works now that I have updated to the latest jQuery.
On Nov 25, 1:13 pm, Justin Meyer wrote:
> it might be the qunit file that is blocking it.
>
> On Nov 25, 12:56 pm,JustinMeyer wrote:
>
>
>
> > Only sizzle runs for some reason. Likely b/c I am using windows.
> &
it might be the qunit file that is blocking it.
On Nov 25, 12:56 pm, Justin Meyer wrote:
> Only sizzle runs for some reason. Likely b/c I am using windows.
> Does this work for someone else using msysgit? Here's
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 wrote:
> Only sizzle runs for some reason. Likely b/c I am using windows.
> Does this work for someone else using msysgit? Here
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' (git://github.com/jeresig/sizzl
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 received
for custom events. 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, Just
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" gro
How about $("#something").delegate(".thing","click", func).
It almost makes too much sense :).
On Nov 5, 6:31 pm, Robert Katić wrote:
> I wonder why there would be an $.live with document as the only
> interesting context.
>
> Something like
>
> $(document).zombi(selector, type, ...)
>
> would
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 wrote:
> I've started working on this. If I remember correctly from the
> conference, core will include just the
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 wrote:
> jQ
jQuery core team,
I was very excited to hear about a possible jQuery mobile. Keeping
file size small is always a concern, and it will be useful for non-
mobile projects as well.
Further, I don't like having to build every time I make a change in
trunk, but then see a giant single file when debu
w ActiveXObject("Microsoft.XMLHTTP") :
new XMLHttpRequest();
Any other ideas?
On Sep 14, 10:39 pm, Justin Meyer wrote:
> On Kangax's method:
> Perfect, thanks! I'm surprised that works.
>
> On 100s of delegates:
> Well 100s is a
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
c
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 wrote:
> Another issue is that every live event is stored in $.data
> ('events').live in a flat hash. That means you have
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 wrote:
> Another issue is that every live event is stored in $.data
> ('events').live in a
you guys are busy, but I'd like to know that my work
might have a chance at being used or is going in the right direction.
Thanks,
Justin
On Sep 14, 1:15 pm, Justin Meyer wrote:
> The following avoids browser sniffing for IE's submit.
> It simply creates a div inside a form, the
veChild( div );
div = null;
form = null;
alert(jQuery.support.submitBubbles)
});
On Sep 14, 12:16 am, Justin Meyer wrote:
> WARNING: Skip to the end to avoid an in depth discussion of the
> problems, and the only questions I need guidance.
> --
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:
http://code.google.com/p/javascriptmvc/source/browse/branches/2_0/j
re is a
demand for these problems to be solved. Not everyone is building
Gmail. Most are using a few scripts 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-
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 perh
g
> while taking bits from ruby on rails, zend as well as my personal php
> mvc framework.
>
> Sorry. 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.
>
&g
sing time that comes from
> dispatching and routing, has the potential for a bit of overhead,
> especially in a large application.
>
> UI, being as dynamic as it is, calls for many different situations
> where you might respond to an event by posting a form via ajax, and
> when t
work
> > is solid they should all become official jQuery projects/conventions.
>
> > Now I'm not discounting any additional code or patterns but we need to
> > start with what we have and make sure that we're working with the best
> > possible resources. If we
have and make sure that we're working with the best
> possible resources. If we define the above conventions and code we may
> find that there is less of a need for a new project than we originally
> thought - and we get the benefit of having excellently defined and
> documented resou
JS is Object Oriented. So are we really just talking about classical
inheritance (and even more specific, _super) ?
I see how widget.js creates a plugin. But how does one expand on the
plugin?
I'm more than happy with widget.js if you can easily expand on the
widget. For example, quickly add
> - 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 load
understandability.
Why do you think this would contribute to jQuery bloat anymore than
jQuery.UI does?
On Feb 24, 12:40 pm, Justin Meyer wrote:
> John,
> Thanks for your reply! You are absolutely right that we need to
> discuss which problems are difficult to solve.
>
> Is it safe
John,
Thanks for your reply! You are absolutely right that we need to
discuss which problems are difficult to solve.
Is it safe to say that you agree that jQuery says very little about
how to :
- package and minimize multiple flies
- document
- test
- dependency management
- log errors / debug
jQuery community,
Amazing work. I can't believe how fast jQuery has developed into
the best bottom-up JS library. 1.4 looks great. But as jQuery expands
to include things like lazy loading, it might be time for a sister
project that provides important, but less commonly needed
functionality i
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 "ki
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 someon
jQuery developers,
I've heard that event delegation is being added to many of the big
JS libraries, including jQuery. It has been a major component of
JavaScriptMVC.
For JavaScriptMVC's next version, I'm considering using jQuery by
default and replacing any redundant functionality with jQuer
39 matches
Mail list logo