Oh the irony. I had to "componentize" a widget created by another team which uses RequireJs today and the first Google hit is my own answer. Given that I wanted to just make a GWT module that could be inherited to use an external widget, said module would not have an entry point and onModuleLoad method. Accordingly, I found the simplest way to achieve this was just to remove the RequireJs calls and put all the needed scripts in the module.gwt.xml as <script> tags.
Not pretty, but then again, they should have gone with GWT or combined their dependencies into a single .js as RequireJs allows. Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/d53okNPGO2gJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
