Skip to content

Commit

Permalink
rollback for joining path in virtual path
Browse files Browse the repository at this point in the history
  • Loading branch information
GulinSS committed Aug 6, 2013
1 parent 978c2a1 commit 71f1beb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jade-angularjs-brunch",
"version": "1.0.1",
"version": "1.0.2",
"description": "Adds Jade support to brunch with angularjs template cache modules.",
"author": {
"name": "Gulin Serge",
Expand Down
2 changes: 1 addition & 1 deletion src/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ module.exports = class JadeAngularJsCompiler
@writeModules _.chain(preResult)
.difference(assets)
.each((v) => @attachModuleNameToTemplate v)
.each((v) => v.path = sysPath.join.apply(this, v.path)) # concat items to virtual url
.each((v) -> v.path = v.path.join('/')) # concat items to virtual url
.groupBy((v) -> v.module)
.map((v, k) -> name: k, templates: v)
.each((v) => @generateModuleFileName v)
Expand Down

0 comments on commit 71f1beb

Please sign in to comment.