baushaug
6 Apr 2012, 1:00 PM
I attempting to create a global or application specific array with in my launch:function().
launch: function() {
BrookshireBrothersMobile.globals = { enduser: '', dummy: 35 }; Ext.create('BrookshireBrothersMobile.view.Main', {fullscreen: true});
}
When I attempt to retrieve either of these variables I get a TypeError
TypeError
arguments: Array[2]
0: "enduser"
1: undefined
length: 2
__proto__: Array[0]
get message: function getter() { [native code] }
get stack: function getter() { [native code] }
set message: function setter() { [native code] }
set stack: function setter() { [native code] }
type: "non_object_property_load"
__proto__: Error
I placed an console.log and alert() within my launch function and neither fired.
Has anyone else had this problem ?
launch: function() {
BrookshireBrothersMobile.globals = { enduser: '', dummy: 35 }; Ext.create('BrookshireBrothersMobile.view.Main', {fullscreen: true});
}
When I attempt to retrieve either of these variables I get a TypeError
TypeError
arguments: Array[2]
0: "enduser"
1: undefined
length: 2
__proto__: Array[0]
get message: function getter() { [native code] }
get stack: function getter() { [native code] }
set message: function setter() { [native code] }
set stack: function setter() { [native code] }
type: "non_object_property_load"
__proto__: Error
I placed an console.log and alert() within my launch function and neither fired.
Has anyone else had this problem ?