Skip to content

Commit 55868a0

Browse files
committed
Go back to SNAPSHOT.
1 parent a64fdf6 commit 55868a0

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## Demo
99
* [2.0-rc1 Release Demo](http://gwtmaterialdesign.github.io/gwt-material-demo/)
10-
* [2.1 Snapshot Demo](http://gwtmaterialdesign.github.io/gwt-material-demo/snapshot/)
10+
* [2.0 Snapshot Demo](http://gwtmaterialdesign.github.io/gwt-material-demo/snapshot/)
1111

1212
## Documentation
1313
Support documentation can be found [here](https://github.com/GwtMaterialDesign/gwt-material/wiki) <br/>
@@ -23,12 +23,12 @@ We created <a href="http://gwtmaterialdesign.github.io/gwt-material-demo/apidocs
2323
<version>2.0-rc1</version>
2424
</dependency>
2525
```
26-
### Snapshot Version 2.1-SNAPSHOT
26+
### Snapshot Version 2.0-SNAPSHOT
2727
```xml
2828
<dependency>
2929
<groupId>com.github.gwtmaterialdesign</groupId>
3030
<artifactId>gwt-material</artifactId>
31-
<version>2.1-SNAPSHOT</version>
31+
<version>2.0-SNAPSHOT</version>
3232
</dependency>
3333
```
3434

gwt-material/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>gwt-material-parent</artifactId>
66
<groupId>com.github.gwtmaterialdesign</groupId>
7-
<version>2.0-rc1</version>
7+
<version>2.0-SNAPSHOT</version>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
1010

gwt-material/src/main/java/gwt/material/design/client/ui/MaterialDatePicker.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ protected void initialize() {
177177
if(options.set == null) {
178178
options.set = thing -> {
179179
if (thing.hasOwnProperty("clear")) {
180-
onClear();
180+
clear();
181181
} else if (thing.hasOwnProperty("select")) {
182-
onSelect();
182+
select();
183183
}
184184
};
185185
}
@@ -255,7 +255,7 @@ public void open() {
255255
});
256256
}
257257

258-
protected void onSelect() {
258+
protected void select() {
259259
label.addStyleName(CssName.ACTIVE);
260260
dateInput.addStyleName(CssName.VALID);
261261

@@ -264,10 +264,6 @@ protected void onSelect() {
264264
ValueChangeEvent.fire(this, getValue());
265265
}
266266

267-
protected void onClear() {
268-
clear();
269-
}
270-
271267
public String getPickerId() {
272268
return $(pickatizedDateInput).pickadate("picker").get("id").toString();
273269
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>com.github.gwtmaterialdesign</groupId>
77
<artifactId>gwt-material-parent</artifactId>
88
<packaging>pom</packaging>
9-
<version>2.0-rc1</version>
9+
<version>2.0-SNAPSHOT</version>
1010

1111
<modules>
1212
<module>gwt-material</module>

0 commit comments

Comments
 (0)