-
22 Sep 2010 7:46 AM #1
Unanswered: Changing Ext Scope or namespace
Unanswered: Changing Ext Scope or namespace
Hi there,
I was wondering: how free am I to do something like:
(function () {
Ext = {...}
// ...
My.Namespace = Ext;
})();
???
Thanks
-
24 Sep 2010 8:17 AM #2
I really don't see why you would wanna do this...?
-
24 Sep 2010 12:34 PM #3
why??
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide
-
24 Sep 2010 3:18 PM #4
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
Sencha Architect Development Team
Similar Threads
-
JavaScript Scope - Ext Scope
By Nils-Fredrik in forum Community DiscussionReplies: 5Last Post: 29 Sep 2009, 12:06 AM -
Ext Namespace
By gurufaction in forum Ext 3.x: Help & DiscussionReplies: 8Last Post: 9 Jul 2009, 4:55 AM -
Sub : Ext.namespace
By JDevloper in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 3 Mar 2008, 7:30 AM


Reply With Quote