Don't want to sound like I'm pushing my own wishlist (though this is
up there on mine) but I consider browser history support to be a
critical for RIA and usability. AJAXy apps have hijacked native
browser navigation/bookmarking facilities.
Whether or not this belongs in the core, I am not sure.
On Tue, Feb 24, 2009 at 10:05 PM, John Resig wrote:
>
>> This is my biggest contention with the widget framework at the moment
>> and I am only left with the option of copy/pasting snippets due to
>> lack of extensibility features. In fact, if I may be bold enough to
>> say it, I think the widget
On Tue, Feb 24, 2009 at 9:36 PM, John Resig wrote:
>
>> 3) I know jQuery UI supports widgets, but it's a long way off being a
>> comprehensive UI/widget framework.
>
> Absolutely - and it's a definite work in progress. The UI team is
> getting larger, becoming more efficient, well-organized, all
>>> It's the reason why developers ought to use ("mystring"==myvar) instead of
>>> (myvar=="mystring").
> For what reason is this ?
It mitigates the following class of bugs (not the single = sign instead of ==):
if (myvar = "mystring") // will compile/run but behave incorrectly
if ("mystring"
On Mon, Feb 23, 2009 at 4:24 PM, Daniel Friesen
wrote:
>
> I honestly consider the outright statements against with to be
> overboard.
It's a pedantic discussion around best practices--within that context
the statements don't sound overboard but I can understand how they can
easily start to soun
> I guess it's a bit like the 'with' operator ?
avoid 'with'
http://yuiblog.com/blog/2006/04/11/with-statement-considered-harmful/
and more specifically, crockford's nail in the coffin
http://yuiblog.com/blog/2006/04/11/with-statement-considered-harmful/#comment-720
--~--~-~--~~-
> What I mean is: If you set x via something like :
> var x = 10;
> then 'magically'
> window.x is 10
>
function() {
var x = 10; // local scope
y = 20; // no 'var' keyword used hence global scope
}
alert(window.x); // undefined
alert(window.y); // 20
-- Aleem
--~--~-~--~~---
Hello, first time poster on this group. Joined specifically because I have
hit a wall with this problem and though I can work around it, I would still
like to find a resolution.
I have a page where users can create new tabs. At the bottom I have a hidden
div that I clone into each new tab the user