Showing the changes to assets/javascripts (2 of 3 files). Show all
Unified · Split
| @@ -1,4 +1,4 @@ | |||
| 1 | arrow = """<svg class="_path-arrow"><use xlink:href="#dir"/></svg>""" | 1 | arrow = """<svg class="_path-arrow"><use xlink:href="#dir-icon"/></svg>""" |
| 2 | 2 | ||
| 3 | app.templates.path = (doc, type, entry) -> | 3 | app.templates.path = (doc, type, entry) -> |
| 4 | html = """<a href="#{doc.fullPath()}" class="_path-item _icon-#{doc.icon}">#{doc.fullName}</a>""" | 4 | html = """<a href="#{doc.fullPath()}" class="_path-item _icon-#{doc.icon}">#{doc.fullName}</a>""" |
| @@ -1,6 +1,6 @@ | |||
| 1 | templates = app.templates | 1 | templates = app.templates |
| 2 | 2 | ||
| 3 | arrow = """<svg class="_list-arrow"><use xlink:href="#dir"/></svg>""" | 3 | arrow = """<svg class="_list-arrow"><use xlink:href="#dir-icon"/></svg>""" |
| 4 | 4 | ||
| 5 | templates.sidebarDoc = (doc, options = {}) -> | 5 | templates.sidebarDoc = (doc, options = {}) -> |
| 6 | link = """<a href="#{doc.fullPath()}" class="_list-item _icon-#{doc.icon} """ | 6 | link = """<a href="#{doc.fullPath()}" class="_list-item _icon-#{doc.icon} """ |