I've got two questions:
1. I have built my own modules. In my code I have a part, in which I have to prove if a certain class exists. Is it somehow possible to check if a module/ a class exists?
2. Working with modules (instead of importing .js files) debugging lines are not shown as lines in that class, but in dojo.js. Is there a way to handle this?
thanks a lot!

If you have a class Abc in
If you have a class Abc in the module xyz, you can test it for existence like that:
// class is loaded
}
Obviously it works only if the class was loaded. Use dojo.require() for that.
There are two ways to go about debugging your own modules:
You can also set
You can also set djConfig.debugAtAllCosts = true to get better debug behavior without having to manually use script tags. The debugAtAllCosts switch will load your modules via script tags, but it can be a slower loading process.
ok! I tried this:
ok! I tried this:
djConfig= { isDebug:true, parseOnLoad:true, debugAtAllCosts: true};
</script>
so what do I have to expect? when using console.debug the line are not the right one... It shows me dojo lines.
Is something missing?
another problem I have is that drag and drop does not work anymore!
writing it like above I cannot drag my items around, but if I write it like this without debugAtAllCosts: true(!) all works fine!:
thank you!
you can't put content inside
you can't put content inside a script tag w/ src="" something. You'll need to either put a djConfig="" attrib on the script tag, or a new script tag _before_ dojo.js defining djConfig.
if you are using a compressed/built dojo.js, all errors will show up in line 20 of firebug console. Firebug 1.1 will dig into eval'd scripts. One option is to use dojo.js.uncompressed.js, at least to get more relevant line numbers.