Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Commits on Dec 07, 2011
@jagregory jagregory Fix for change tests so scss files are supported
Previously the dependency change checks (for recompiling) would only
check .sass files, not .scss files.
0e82b00
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/play/modules/sass/Engine.java
View
5 src/play/modules/sass/Engine.java
@@ -158,7 +158,10 @@ private void findDependencies(File sass, List<File> all) {
for (String path : sassPaths) {
File depSass = new File(path + "/" + fileName);
if (!depSass.exists()) {
- depSass = new File(depSass.getParentFile() + "/_" + depSass.getName() + ".sass");
+ depSass = new File(path + "/_" + fileName + ".sass");
+ }
+ if (!depSass.exists()) {
+ depSass = new File(path + "/_" + fileName + ".scss");
}
if (depSass.exists()) {
findDependencies(depSass, all);

No commit comments for this range

Something went wrong with that request. Please try again.