Cross-reference js-object variables when creating object
- by Ivar Bonsaksen
Summary:
I want to know if it is possible to do something like this:
{a: 'A',b: this.a}
...by using some other pointer like {a: 'A',b: self.a} or {a: 'A',b: own.a} or anything else...
Full question:
I'm trying to extend MyBaseModule using Ext.extend, and need to cross-reference values in the extension object passed to Ext.extend().
Since I'm…