Tutorial talk:Using Layouts with Ext - Part 1 (Legacy)

This version of our Learning Center is unmaintained.
This article may be out-of-date or contain incorrect information.
Please visit the new Sencha Learning Center for up-to-date material.

Go to the new Sencha Learning Center

From Sencha - Learn

Jump to: navigation, search

Why does the tutorial use the form:

Simple = function() {
    return { /* a closure */ }
}();

rather than simply:

Simple = { /* a closure */ };

Can anyone explain?

--Alexf 07:03, 13 June 2007 (CDT)


Answered in forum: http://extjs.com/forum/showthread.php?t=7657

--Efege 08:11, 13 June 2007 (CDT)

Ext2

Hi,

do these examples work with ext2?

if not are there similar tutorials available for ext2

Cheers

Justin

This page was last modified on 23 October 2007, at 03:24. This page has been accessed 5,308 times.