[jquery-dev] Re: XUL and jquery

2008-10-09 Thread Dave Methvin
> I'm trying to do the followind into a firefox 3 extension: > alert($('abc').html()); > and it always alerts "null" instead of "abc". I don't think XUL supports the .innerHTML property, which jQuery's .html() method depends on to serialize the DOM to a string. In that example, of course, you *kn

[jquery-dev] XUL and jquery

2008-10-09 Thread postal2600
Hy! I'm trying to do the followind into a firefox 3 extension: alert($('abc').html()); and it always alerts "null" instead of "abc". I understand that jquery should work also on XUL, with few exceptions at the startup, but this appears not to work. What I want to achieve, is to parse an HTML

[jquery-dev] XUL and jquery

2008-10-09 Thread postal2600
Hy! I'm trying to do the followind into a firefox 3 extension: alert($('abc').html()); and it always alerts "null" instead of "abc". I understand that jquery should work also on XUL, with few exceptions at the startup, but this appears not to work. What I want to achieve, is to parse an HTML

[jquery-dev] http://docs.jquery.com/UI/Magnifier

2008-10-09 Thread darxx
Not working http://docs.jquery.com/UI/Magnifier Bad example http://docs.jquery.com/Post God Example jQuery loading another page and alerting the result: $.post("receive_variables.php", {first_name:"Tarcila",last_name:"Broder"}, function(returned_data) { alert

[jquery-dev] Re: === '[object Array]'

2008-10-09 Thread kangax
On Oct 9, 2:33 pm, Nathan Hammond <[EMAIL PROTECTED]> wrote: > This showed up on Douglas Crockford's blog today: > Object.prototype.toString.apply(value) === '[object Array]' > > The trick appears to have been in circulation for about 6 months and > shows up in DWR as well as DC's book. DC credits

[jquery-dev] Re: === '[object Array]'

2008-10-09 Thread Andrea Giammarchi
Ehr ... for stringified version ... getNativeConstructor = function(toString, RegExp){return function(Object){ return toString.call(Object).replace(RegExp, "$1"); }}(Object.prototype.toString, /^.{8}([^\]]+)\]$/); :-) On Thu, Oct 9, 2008 at 11:28 PM, Andrea Giammarchi < [EMAIL PROTECTED]> wr

[jquery-dev] Re: === '[object Array]'

2008-10-09 Thread Andrea Giammarchi
I like the trick, specially because it makes easily "flat" values like "false" and "new Boolean(false)", as example, and I guess a function like this one could be useful as well, isn't it? getNativeConstructor = function(toString, RegExp){return function(Object){ return window[toString.call(Ob

[jquery-dev] Re: UI Tickets on Core's trac

2008-10-09 Thread pete higgins
redmine is pretty cool as well, and supports multiple projects, nice reporting, etc. just something to note. On Thu, Oct 9, 2008 at 11:50 AM, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > We want to do a test installation first, trying to migrate all users > and tickets there. Once that is one pla

[jquery-dev] Re: a custom XHR plugin for the new XHR registry feature

2008-10-09 Thread Shade
My bad, once again... the URL for the plugin is: http://flxhr.flensed.com/code/build/thirdparty/jquery/jquery.flXHRproxy.js --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this

[jquery-dev] a custom XHR plugin for the new XHR registry feature

2008-10-09 Thread Shade
I'm excited about the new XHR registry plugin coming out with the next jQuery release. I have taken a stab at writing a plugin to adapt jQuery for use with a custom XHR implementation called flXHR (http:// flxhr.flensed.com/), which allows authorized cross-domain communication. Here's a link to

[jquery-dev] Re: a custom XHR plugin for the new XHR registry feature

2008-10-09 Thread Shade
Actually, I just renamed the plugin from just "flXHR" to "flXHRproxy" to help keep the namespaces separate and understandable. So, typical usage would be: jQuery.ajaxSetup({transport:'flXHRproxy'}); jQuery.flXHRproxy.registerOptions('http://www.mydomain.com/', {xmlResponseText:false...}); jQuery

[jquery-dev] Re: Option to disable animations / effects

2008-10-09 Thread Thiago Cruz Santos
i'm sorry but if you program an animation that is capable of crashing a browser then you're doing it wrong. On Thu, Oct 9, 2008 at 4:54 PM, Jörn Zaefferer < [EMAIL PROTECTED]> wrote: > Its so frickin easy to kill your browser with JavaScript, no matter > how fast your machine is. Its not hard to

[jquery-dev] Re: Option to disable animations / effects

2008-10-09 Thread Jörn Zaefferer
Its so frickin easy to kill your browser with JavaScript, no matter how fast your machine is. Its not hard to imagine how an animation kills a "normal" machine. Jörn On Thu, Oct 9, 2008 at 9:38 PM, Thiago Cruz Santos <[EMAIL PROTECTED]> wrote: > its clearly a hardware flaw if you're having proble

[jquery-dev] a custom XHR plugin for the new XHR registry feature

2008-10-09 Thread Shade
I'm excited about the new XHR registry plugin coming out with the next jQuery release. I have taken a stab at writing a plugin to adapt jQuery for use with a custom XHR implementation called flXHR (http:// flxhr.flensed.com/), which allows authorized cross-domain communication. Here's a link to

[jquery-dev] Re: Option to disable animations / effects

2008-10-09 Thread Thiago Cruz Santos
its clearly a hardware flaw if you're having problems with your internet navigation buddy On Thu, Oct 9, 2008 at 2:26 PM, Ariel Flesler <[EMAIL PROTECTED]> wrote: > Right, I'll buy a new PC so I can fully enjoy jQuery animations... > So out of place > > On Wed, Oct 8, 2008 at 9:55 PM, Thiago

[jquery-dev] Re: ajaxSetup

2008-10-09 Thread Jörn Zaefferer
That would make sense if those static methods didn't return something else already. $.ajax and the various variants like $.get return the XMLHttpRequest object. $.trim returns the trimmed string, $.map an array etc. Jörn On Thu, Oct 9, 2008 at 7:37 PM, Shade <[EMAIL PROTECTED]> wrote: > > Jorn-Th

[jquery-dev] === '[object Array]'

2008-10-09 Thread Nathan Hammond
This showed up on Douglas Crockford's blog today: Object.prototype.toString.apply(value) === '[object Array]' The trick appears to have been in circulation for about 6 months and shows up in DWR as well as DC's book. DC credits Mark Miller for it. Probably slower than the value.constructor == Arr

[jquery-dev] Re: ajaxSetup

2008-10-09 Thread Shade
Jorn-Thank you for the answer. I guess I had never really picked up on the difference. Technically, it would seem that even all the static jQuery functions could be "chainable" too, but I guess stylistically that's reserved for methods, when there's a capture-set of elements to chain/pass, not j

[jquery-dev] Re: Option to disable animations / effects

2008-10-09 Thread Ariel Flesler
Right, I'll buy a new PC so I can fully enjoy jQuery animations... So out of place On Wed, Oct 8, 2008 at 9:55 PM, Thiago Cruz Santos < [EMAIL PROTECTED]> wrote: > imo there is no need to disable animation due to performance issues, i mean > a browser its a program just like any other, if you

[jquery-dev] Re: ajaxSetup

2008-10-09 Thread Jörn Zaefferer
None of the static jQuery methods are chainable, that is, return a jQuery object. That rule applies only to instance methods. Instance: $().someMethod Static: $.someMethod The plugin guide could be fixed to reflect that difference... Jörn On Thu, Oct 9, 2008 at 5:26 PM, Shade <[EMAIL PROTECTED]

[jquery-dev] Re: UI Tickets on Core's trac

2008-10-09 Thread Jörn Zaefferer
We want to do a test installation first, trying to migrate all users and tickets there. Once that is one place, we can look at other features and test them. Jörn On Thu, Oct 9, 2008 at 5:07 PM, Richard D. Worth <[EMAIL PROTECTED]> wrote: > There's a lot that should be considered for switching to

[jquery-dev] Re: Suggestion for better compatibility with Asp.Net

2008-10-09 Thread Thiago Cruz Santos
I have two recent asp.net integration scenarios. I used to work with classic asp and the library so i was able to ignore many concepts that my coleagues has, they are core asp.net developers. The first project was a product control system. We integrated jQuery, ajax.net and telerik lib. The projec

[jquery-dev] ajaxSetup

2008-10-09 Thread Shade
I was playing around with the new XHR plugin system that will be out with 1.2.7/1.3, and I noticed something that seemed a little odd to me. I was using the ajaxSetup() function to change my transport, but I wanted to chain off the end of that call, and it doesn't work, because apparently ajaxSet

[jquery-dev] Re: UI Tickets on Core's trac

2008-10-09 Thread Richard D. Worth
There's a lot that should be considered for switching to a new issue tracking system. Among them: - pre-built reports - custom reports - rss feeds - milestones - releases - roadmap - timeline I'm not saying this other tool doesn't have these, I'm just saying it's a big equation. - Richard On Th

[jquery-dev] Re: UI Tickets on Core's trac

2008-10-09 Thread Jörn Zaefferer
You have to register as usual. Then creating a new ticket involves selecting the project, usually that is already preselected based on the project that you are looking at, and selecting the type, like bug, enhancement, feature. The second step has fields for Summary, Priority, Component (subproject

[jquery-dev] Re: UI Tickets on Core's trac

2008-10-09 Thread Scott González
On Oct 7, 6:06 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote: > I already added a note on our trac, but it seems many people don't > read it. The location of the note guarantees that it will never be read by anyone, especially not someone coming specifically with the task of creating a new ticket.

[jquery-dev] Re: UI Tickets on Core's trac

2008-10-09 Thread Scott González
Is JIRA really as easy to use as Trac? To me it seems like a beast and anything that would deter users from posting bugs is a bad thing. On Oct 8, 4:18 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > I've recently worked a bit with JIRA, which is used for a lot of > Apache projects. Usually a

[jquery-dev] Re: Option to disable animations / effects

2008-10-09 Thread Karl Swedberg
On Oct 7, 2008, at 2:07 PM, John Resig wrote: > Another good side effect is that animations can be disabled for > accessibility reasons (e.g. people who > have extreme motion sickness). > > --John Yeah, I was surprised last week to learn that this is a real problem for some people: http://a

[jquery-dev] Re: Suggestion for better compatibility with Asp.Net

2008-10-09 Thread Brandon Aaron
Would you mind creating an enhancement ticket for this, so it doesn't get lost? And please share anymore of your experiences like this of integrating .Net with jQuery! http://dev.jquery.com/newticket/ -- Brandon Aaron On Thu, Oct 9, 2008 at 1:44 AM, Travis Simon <[EMAIL PROTECTED]> wrote: > > Yes