File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/test/java/gwt/material/design/addins/client Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1919 */
2020package gwt .material .design .addins .client ;
2121
22+ import com .google .gwt .core .client .GWT ;
2223import com .google .gwt .junit .client .GWTTestCase ;
2324import gwt .material .design .client .MaterialDesign ;
2425import gwt .material .design .client .resources .MaterialResources ;
@@ -41,7 +42,8 @@ protected void gwtSetUp() throws Exception {
4142
4243 public void setup () {
4344 // Test JQuery
44- MaterialDesign .injectJs (WithJQueryResources .INSTANCE .jQuery ());
45+ WithJQueryResources jquery = GWT .create (WithJQueryResources .class );
46+ MaterialDesign .injectJs (jquery .jQuery ());
4547 assertTrue (MaterialDesign .isjQueryLoaded ());
4648 // Test Materialize
4749 MaterialDesign .injectJs (MaterialResources .INSTANCE .materializeJs ());
You can’t perform that action at this time.
0 commit comments