Ext JS - Learning Center

Tutorial talk:Using Layouts with Ext - Part 1

From Learn About the Ext JavaScript Library

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 2,856 times.