JavaScript Extension File Pattern

This is an archived post from the ExtJS era — the code may be obsolete, but the principles often still apply.

Code in this post can be obsolete, however, principles and theory may still apply.

*

    1. March 2010

*

5 comments

  1. SeyApril 3, 2008archive
    This is excellent excellent stuff -- should be put in the official ExtJs learning page.
  2. jsakalosApril 3, 2008archive
    Thank you. I think it comes very handy, when starting new file, not to think what should be in the header or how parent call should look like but concentrate on the main code itself.
  3. Robert KuropkatJuly 6, 2010archive
    I know this is a rather old post, but I was wondering about the 'arguments' argument in lines 68 and 80 (the calls to the super class methods). I assume this was supposed to be arguments passed in when the object is instantiated? Where exactly is the variable 'arguments' set? Or was this just intended as a place holder?
  4. GIBson3July 14, 2010archive
    @Robert Kuropkat: arguments is a local scope variable available in all functions in Java script see: https://developer.mozilla.org/En/Core_JavaScript_1.5_Reference/Functions_and_function_scope/arguments
  5. EdJanuary 24, 2014archive
    Awesome! Its genuinely awesome paragraph, I have got much clear idea regarding from this paragraph.

Comments are closed on archived posts.