File tree Expand file tree Collapse file tree 5 files changed +10
-4
lines changed
main/java/gwt/material/design/client/ui
test/java/gwt/material/design/client/mixin Expand file tree Collapse file tree 5 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 88 - $HOME/.m2
99before_install :
1010# install the gwt-material-jquery because it will depends on built in jquery
11- - git clone -b release_2.5.0 https://github.com/GwtMaterialDesign/gwt-material-jquery.git
11+ - git clone -b release_2.5.0_rc1 https://github.com/GwtMaterialDesign/gwt-material-jquery.git
1212- cd gwt-material-jquery
1313- mvn install -DskipTests=true -DdryRun=true
1414- cd ..
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -ev
3- if [ " $TRAVIS_JDK_VERSION " == " oraclejdk8" ] && [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_BRANCH " == " release_2.5.0 " ]; then
3+ if [ " $TRAVIS_JDK_VERSION " == " oraclejdk8" ] && [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_BRANCH " == " release_2.5.0_rc1 " ]; then
44 echo " <settings><servers><server><id>ossrh</id><username>\$ {env.OSSRH_USER}</username><password>\$ {env.OSSRH_PASS}</password></server></servers></settings>" > ~ /settings.xml
55 mvn deploy -DskipTests --settings ~ /settings.xml
66fi
Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ We created <a href="http://gwtmaterialdesign.github.io/gwt-material-demo/apidocs
2020
2121
2222## Maven
23- ### Current Version 2.5.0
23+ ### Current Version 2.5.0-rc1
2424``` xml
2525<dependency >
2626 <groupId >com.github.gwtmaterialdesign</groupId >
2727 <artifactId >gwt-material</artifactId >
28- <version >2.5.0</version >
28+ <version >2.5.0-rc1 </version >
2929</dependency >
3030```
3131### Snapshot Version 2.5.0
Original file line number Diff line number Diff line change @@ -206,6 +206,11 @@ public void setWidget(final Widget widget) {
206206 }
207207
208208 if (this .widget .isAttached ()) {
209+ widget .addAttachHandler (event -> {
210+ if (!event .isAttached ()) {
211+ unload ();
212+ }
213+ });
209214 reload ();
210215 } else {
211216 // Smart detect the attachment and detachment of widget to update the tooltip
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ protected void runTest(TextMixin<MaterialLabel> mixin) {
5454 mixin .setText ("<script>alert('xss')</script>" );
5555 assertEquals ("<script>alert('xss')</script>" , mixin .getText ());
5656
57+
5758 // Test setText(SafeHtml)
5859 String anchorTag = "<a>test</a>" ;
5960 SafeHtmlBuilder builder = new SafeHtmlBuilder ();
You can’t perform that action at this time.
0 commit comments