Yeah yeah, not Moo but Vanilla. I trust you guys more than any other JS
group so I'll just go ahead ask here:

http://www.mootools.net/shell/q5ngz/

*There's a dynamic number of objects:*

ScriptInfo = {
    version: '1.2'
};

AnotherScriptInfo = {};
AnotherScriptInfo.Extension = {
    version: '1.2'
};

*And a config:*

var classes = ['ScriptInfo', 'AnotherScriptInfo.Extension'];

What I need is to get into: *window.NNN.version* - where *NNN* can be one
property or 10.

Of course doing *window['AnotherScriptInfo.Extension'].version* ain't gonna
fly.

How do I deal with this? It's probably simpler than any solution that comes
to mind at this moment.

___

Oskar Krawczyk
http://nouincolor.com

Reply via email to