Skip to content

Commit a3f0a37

Browse files
author
jossonsmith
committed
Fixed bug that *.css is not packed into *.js
1 parent 3082e87 commit a3f0a37

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

sources/net.sf.j2s.lib/j2slib.zip

23.5 KB
Binary file not shown.

sources/net.sf.j2s.lib/src/net/sf/j2s/lib/build/PackCSSIntoJS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public boolean accept(File pathname) {
7070
File jsFile = new File(path.substring(0, path.length() - 4) + ".js");
7171
if (jsFile.exists()) {
7272
String jsContent = RegExCompress.readFileAll(new FileInputStream(jsFile));
73-
String key = "Clazz.registerCSS";
73+
String key = "$WTC$$.registerCSS";
7474
int idx1 = jsContent.indexOf(key);
7575
if (idx1 != -1) {
7676
int idx2 = jsContent.indexOf(");", idx1);

0 commit comments

Comments
 (0)