Permalink
Browse files

Fix for shtml expander adding timestamps to external files.

  • Loading branch information...
1 parent cb58203 commit 22c369bbabb44108d5e51407b6726b0ae0e5a5c2 @conorwdickinson conorwdickinson committed May 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/comm.js
View
@@ -127,7 +127,7 @@ function expandSHTML(req, file, filename, options) {
} catch(e) {
}
var ret = s.replace(src,ret[1]+'="'+ret[2]+'?'+t+'"');
- if (ret) {
+ if (ret && t) {
s = ret;
}
}

0 comments on commit 22c369b

Please sign in to comment.