-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_Widget not converted #26
Comments
This sort of conversion seems like it may potentially be unsafe, given that _Widget brings in some of the automatic onClick etc camelcased DOM events. Does seem like it might be a good idea to issue some sort of notice/warning when using _Widget (or _Templated) though. |
In the source of _Widget, it states "Old base class for widgets. New widgets should extend dijit/_WidgetBase instead". If the goal of this tool is to help in converting from older versions of dojo to 2.0, it seems like this should be what we want to do. |
In this case it's not about moving forward, it's about not breaking existing code. As Brian stated, |
I do like the idea of having some sort of flag or way to issue a warning, though, as a handy tip. |
FYI, conversion of _Widget to _WidgetBase is pretty complicated:
Ideally you could do the conversion but it's a lot of work. |
I believe we are holding off on this piece until _Widget goes away. |
_Widget is not converted to dijit/_WidgetBase.
The text was updated successfully, but these errors were encountered: