Login Register

package system

registering new widgets so they work with the template system?

I guess this question is in two parts:

1) How do I make my own package to collect all the widgets etc that I create into it i.e.
js/dojo/foo/*

2) How do get new widgets that I create registered so that when the page is parse after it has finished loading my widgets get picked up and instanciated i.e.

<div dojoType="foo.wizzBangWidget" >Something here</div>

There doesn't seem to be anything around on it :(

The console and package system

I was just wondering if there are any configuration switches regarding how the console works? When I am developing a product, it is great to have all the console functionality. However, in a released product, I would like to turn off any console messages. In fact, it would be great to have an option to cut out any calls to the console as part of the package system.

Is there any way to control this, or has any thought been given to this subject?

Thanks.

Syndicate content