Skip to content
Permalink
Browse files

fix(windows): paths in spa html file

  • Loading branch information
jyounce committed May 27, 2015
1 parent 1873a70 commit e41d7a7627da64c03e48ec23bd947c2fcbe3382a
Showing with 3 additions and 2 deletions.
  1. +3 −2 helpers/path.coffee
@@ -24,10 +24,11 @@ module.exports =
path[path.length-1] is '/'

removeLocPartial: (locPaths, partial) ->
paths = {}
paths = {}
partial = @format partial
partial += '/' if not @hasTrailingSlash partial
for own k, v of locPaths
paths[k] = []
v.forEach (path, i) ->
paths[k].push v[i].replace partial, ''
paths
paths

0 comments on commit e41d7a7

Please sign in to comment.
You can’t perform that action at this time.