mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-14 02:33:50 +00:00
Fix for the fix for extensionless IB resource names.
This commit is contained in:
1 parent
2e9684e9a7
commit
b85e9d83b8
1 file changed
+1
-3
@@ -68,9 +68,7 @@ var FILE = require("file");
|
||||
else if (FILE.isDirectory(path))
|
||||
pathGroups.push(FILE.listPaths(path));
|
||||
|
||||
else if (!FILE.extension(aName) &&
|
||||
FILE.basename(path) === aName &&
|
||||
["png", "gif", "jpg", "jpeg", "cib"].indexOf(FILE.extension(path)) !== -1)
|
||||
else if (!FILE.extension(aName) && FILE.basename(path).replace(/\.[^.]*$/, "") === aName)
|
||||
return path;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user