Skip to content

Commit 23f0e8c

Browse files
committed
Merge branch 'refactor'
* refactor: Implement the showcase and update library
2 parents eb77c62 + 91e81ee commit 23f0e8c

File tree

89 files changed

+22762
-53
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+22762
-53
lines changed

Diff for: .gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
target/
2+
13
*.class
24

35
# Package Files #
@@ -14,4 +16,3 @@ gwt-unitCache/
1416
# more caches and things from deploy #
1517
war/WEB-INF/deploy/
1618
war/WEB-INF/classes/
17-

Diff for: dygraphs-gwt-sample/pom.xml

+13-12
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</parent>
88

99
<artifactId>dygraphs-gwt-sample</artifactId>
10-
<packaging>war</packaging>
10+
<packaging>gwt-app</packaging>
1111

1212
<name>Dygraphs-GWT Sample Application</name>
1313

@@ -16,31 +16,32 @@
1616
<plugin>
1717
<groupId>net.ltgt.gwt.maven</groupId>
1818
<artifactId>gwt-maven-plugin</artifactId>
19-
<executions>
20-
<execution>
21-
<goals>
22-
<goal>generate-module</goal>
23-
<goal>compile</goal>
24-
</goals>
25-
</execution>
26-
</executions>
2719
<configuration>
28-
<moduleName>sample.DygraphsGWTSample</moduleName>
20+
<moduleName>${gwt.module}</moduleName>
21+
<moduleShortName>${gwt.shortName}</moduleShortName>
2922
</configuration>
3023
</plugin>
3124
</plugins>
3225
</build>
33-
3426
<dependencies>
3527
<dependency>
3628
<groupId>com.google.gwt</groupId>
3729
<artifactId>gwt-user</artifactId>
30+
</dependency>
31+
<dependency>
32+
<groupId>com.google.gwt</groupId>
33+
<artifactId>gwt-dev</artifactId>
3834
<scope>provided</scope>
3935
</dependency>
4036
<dependency>
4137
<groupId>com.github.timeu.dygraphs-gwt</groupId>
4238
<artifactId>dygraphs-gwt</artifactId>
43-
<scope>provided</scope>
39+
<type>gwt-lib</type>
4440
</dependency>
41+
<!--<dependency>
42+
<groupId>com.github.timeu.dygraphs-gwt</groupId>
43+
<artifactId>dygraphs-gwt</artifactId>
44+
<type>jar</type>
45+
</dependency>-->
4546
</dependencies>
4647
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package sample.client;
2+
3+
import com.google.gwt.core.client.GWT;
4+
import com.google.gwt.resources.client.ClientBundle;
5+
import com.google.gwt.resources.client.TextResource;
6+
7+
/**
8+
* Created by uemit.seren on 8/5/15.
9+
*/
10+
public interface DataClientBundle extends ClientBundle {
11+
12+
DataClientBundle INSTANCE = GWT.create(DataClientBundle.class);
13+
14+
@Source("data/stockData.csv")
15+
TextResource stockData();
16+
17+
}

0 commit comments

Comments
 (0)