Skip to content

Commit

Permalink
Merge pull request #379 from phuonghuynh/master
Browse files Browse the repository at this point in the history
Fix failed build
  • Loading branch information
phuonghuynh committed Aug 27, 2015
2 parents 5dff2f9 + d84641c commit 99b1b05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ module.exports = function (grunt) {
publicDirs: ["<%=pkg.public%>css"],
blockReplacements: {
js: function (block) {
return '<script src="' + block.dest.replace(".min.js", "") + "-" + timestamp + '.js" charset="utf-8"></script>';//'<link rel="stylesheet" href="' + block.dest + '">';
return '<script src="' + block.dest + "?v=" + timestamp + '" charset="utf-8"></script>';//'<link rel="stylesheet" href="' + block.dest + '">';
},
css: function (block) {
return '<link rel="stylesheet" href="' + block.dest.replace(".min.css", "") + "-" + timestamp + '.css">';//'<link rel="stylesheet" href="' + block.dest + '">';
return '<link rel="stylesheet" href="' + block.dest + "?v=" + timestamp + '">';//'<link rel="stylesheet" href="' + block.dest + '">';
}
}
}
Expand Down

0 comments on commit 99b1b05

Please sign in to comment.