Skip to content

Commit

Permalink
Fix typo in an examples
Browse files Browse the repository at this point in the history
Resolves js-kyle#35.
  • Loading branch information
ixti committed Sep 21, 2012
1 parent fcb554c commit 2d6e485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ function find_asset_paths(logicalPath, ext) {

if ('production' !== process.env.NODE_ENV && asset.isCompiled) {
asset.toArray().forEach(function (dep) {
paths.push('/assets/' + rewrite_extension(dep.logicalPath) + '?body=1');
paths.push('/assets/' + rewrite_extension(dep.logicalPath, ext) + '?body=1');
});
} else {
paths.push('/assets/' + rewrite_extension(asset.digestPath));
paths.push('/assets/' + rewrite_extension(asset.digestPath, ext));
}

return paths;
Expand Down

0 comments on commit 2d6e485

Please sign in to comment.