-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86ba1ca
commit d71d27f
Showing
9 changed files
with
18 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file renamed
BIN
+80.1 KB
java/core/lib/greenscript-core-1.2.6k.jar → java/core/lib/greenscript-core-1.2.6m.jar
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -171,8 +171,10 @@ public void setUrlContextPath(String ctxPath) { | |
|
||
@Override | ||
public void setCacheDir(File dir) { | ||
if (!dir.isDirectory() && !dir.mkdir()) | ||
throw new IllegalArgumentException("not a dir"); | ||
// comment below as inmemory configuration does not require dir to be exists | ||
// this is relevant when deploy app on readonly file system like heroku and gae | ||
// if (!dir.isDirectory() && !dir.mkdir()) | ||
// throw new IllegalArgumentException("not a dir"); | ||
checkInitialize_(false); | ||
cache_ = new FileCache(dir); | ||
} | ||
|
@@ -250,7 +252,7 @@ public void setBufferLocator(IBufferLocator bufferLocator) { | |
bl_ = bufferLocator; | ||
} | ||
|
||
private static final Pattern P_IMPORT = Pattern.compile(".*@import\\s*\"(.*?)\".*"); | ||
private static final Pattern P_IMPORT = Pattern.compile("^@import\\s*\"(.*?)\".*"); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
greenlaw110
Author
Owner
|
||
private Map<String, Set<File>> importsCache_ = new HashMap<String, Set<File>>(); | ||
private Set<File> imports_(File file) { | ||
String key = "less_imports_" + file.getPath() + file.lastModified(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
self: play -> greenscript 1.2.6l | ||
self: play -> greenscript 1.2.6m | ||
|
||
require: | ||
- play 1.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This fix seems to be controversy. You narrow the case only to imports happening at the very beginning of the line. The others are ignored. Wouldn't it be better to define a global 'ignore comments' rule?