Skip to content
This repository has been archived by the owner on Apr 18, 2018. It is now read-only.

Commit

Permalink
Remove mtime in digest
Browse files Browse the repository at this point in the history
  • Loading branch information
cdnbacon committed Feb 26, 2013
1 parent 5734be6 commit 531bf9e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
## v0.0.4

* Remove mtime in digest

## v0.0.3

* Add support to use `jac.resolve` with CSS files (offline)
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jac",
"version": "0.0.3",
"version": "0.0.4",
"description": "jac provides methods to reference asset urls using permanently cachable urls.",
"main": "index",
"engines": {
Expand Down
3 changes: 1 addition & 2 deletions src/digester.js
Expand Up @@ -84,8 +84,7 @@ digester.process = function (opts, callback) {
return {
fullPath: path.relative(base, f.fullPath),
key: url.resolve(vdir, f.path),
url: url.resolve(vdir, f.path),
mtime: f.stat.mtime
url: url.resolve(vdir, f.path)
};
}

Expand Down
1 change: 0 additions & 1 deletion test/digester.js
Expand Up @@ -58,7 +58,6 @@ describe('Digester', function () {
e.should.have.property('fullPath');
e.should.have.property('key');
e.should.have.property('url');
e.should.have.property('mtime');
e.should.have.property('digest');
e.should.have.property('route');
}
Expand Down

0 comments on commit 531bf9e

Please sign in to comment.