Skip to content

Commit 65f39b3

Browse files
committed
Updates versions.
1 parent dc226b7 commit 65f39b3

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<artifactId>lesscss-servlet</artifactId>
77
<packaging>jar</packaging>
88
<name>LESS Servlet</name>
9-
<version>1.2.3-SNAPSHOT</version>
9+
<version>1.3.0-SNAPSHOT</version>
1010
<description>A Servlet wrapper for LESS (http://lesscss.org). LESS extends CSS with: variables, mixins, operations and nested rules.</description>
1111
<url>http://www.asual.com/lesscss</url>
1212

@@ -50,7 +50,7 @@
5050
<dependency>
5151
<groupId>com.asual.lesscss</groupId>
5252
<artifactId>lesscss-engine</artifactId>
53-
<version>1.2.1-SNAPSHOT</version>
53+
<version>1.3.0-SNAPSHOT</version>
5454
</dependency>
5555
<dependency>
5656
<groupId>javax.servlet</groupId>
@@ -76,7 +76,7 @@
7676
<dependency>
7777
<groupId>com.google.javascript</groupId>
7878
<artifactId>closure-compiler</artifactId>
79-
<version>r1592</version>
79+
<version>r1810</version>
8080
<exclusions>
8181
<exclusion>
8282
<groupId>args4j</groupId>
@@ -119,13 +119,13 @@
119119
<dependency>
120120
<groupId>org.eclipse.jetty</groupId>
121121
<artifactId>jetty-server</artifactId>
122-
<version>8.1.0.RC1</version>
122+
<version>8.1.2.v20120308</version>
123123
<scope>test</scope>
124124
</dependency>
125125
<dependency>
126126
<groupId>org.eclipse.jetty</groupId>
127127
<artifactId>test-jetty-servlet</artifactId>
128-
<version>8.1.0.RC1</version>
128+
<version>8.1.2.v20120308</version>
129129
<scope>test</scope>
130130
</dependency>
131131
</dependencies>

src/main/java/com/asual/lesscss/StyleResource.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ public byte[] getContent(String path) throws IOException {
5050
}
5151

5252
protected void compress() throws IOException {
53-
long time = System.currentTimeMillis();
5453
URL cssmin = getClass().getClassLoader().getResource("META-INF/cssmin.js");
5554
Context cx = Context.enter();
5655
cx.setOptimizationLevel(9);
@@ -65,7 +64,6 @@ protected void compress() throws IOException {
6564
content = ((String) Context.call(null, fn, compressor, compressor, new Object[] {
6665
new String(content, charset).replaceFirst("^/\\*", "/*!")})).getBytes(charset);
6766
Context.exit();
68-
System.out.println("!!!!" + (System.currentTimeMillis() - time));
6967
}
7068

7169
}

src/test/java/com/asual/lesscss/ResourceServletTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void js() throws Exception {
6666
sb.append("/*\n");
6767
sb.append(" * License and copyright 1\n");
6868
sb.append(" */\n");
69-
sb.append("var test1=1;(function(){var a=1;return 2})();\n");
69+
sb.append("var test1=1;(function(){return 2})();\n");
7070
sb.append("/*\n");
7171
sb.append(" * License and copyright 2\n");
7272
sb.append(" */\n");

0 commit comments

Comments
 (0)