Blame | Last modification | View Log | RSS feed
if(!dojo._hasResource["foo.bar"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.dojo._hasResource["foo.bar"] = true;dojo.provide("foo.bar");//Define some globals and see if we can read them.//This is OKbarMessage = "It Worked";//This one FAILS in IE/Safari 2 with regular eval.function getBarMessage(){return barMessage;}//This is OKgetBar2Message = function(){return getBarMessage();}}