feature(util) checkExtension -> checkExt

This commit is contained in:
coderaiser 2014-05-14 06:30:25 -04:00
parent 8a4d6bb28f
commit d31a166e52
3 changed files with 27 additions and 31 deletions

View file

@ -209,7 +209,7 @@
AppCache.watch(name);
name = Path.join(DIR, name);
check = checkExtension(name);
check = checkExt(name);
result = isMin && check;
Util.ifExec(!result,
@ -250,7 +250,7 @@
names[i] = name;
if (config.minify) {
check = checkExtension(name);
check = checkExt(name);
if (check) {
minName = Minify.getName(name);
@ -270,10 +270,10 @@
});
}
function checkExtension(name) {
function checkExt(name) {
var ret;
ret = Util.checkExtension(name, ['.js', '.css', '.html']);
ret = Util.checkExt(name, ['js', 'css', 'html']);
return ret;
}