Results 1 to 4 of 4

Thread: Changing Ext Scope or namespace

  1. #1
    Ext User
    Join Date
    Sep 2007
    Posts
    1
    Vote Rating
    0
      0  

    Default Changing Ext Scope or namespace

    Hi there,

    I was wondering: how free am I to do something like:

    (function () {

    Ext = {...}

    // ...

    My.Namespace = Ext;

    })();

    ???

    Thanks

  2. #2
    Sencha User
    Join Date
    Aug 2009
    Posts
    480
    Vote Rating
    3
      0  

    Default

    I really don't see why you would wanna do this...?

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Answers
    4
    Vote Rating
    3
      0  

    Default

    why??

  4. #4
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Answers
    74
    Vote Rating
    146
      0  

    Default

    We will have a generic solution to solve this with Ext JS 4 and Sencha Touch 1.0.

    This will allow you to run Ext JS 4, Sencha Touch and Ext Core on the same page with different namespaces and not having them collide.
    Aaron Conran
    @aconran

Similar Threads

  1. JavaScript Scope - Ext Scope
    By Nils-Fredrik in forum Community Discussion
    Replies: 5
    Last Post: 29 Sep 2009, 12:06 AM
  2. Ext Namespace
    By gurufaction in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 9 Jul 2009, 4:55 AM
  3. Sub : Ext.namespace
    By JDevloper in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 3 Mar 2008, 7:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •