Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make links right

  • Loading branch information...
commit b673477da6c5289146e1fbc85e45d63dbf0e7e65 1 parent 0a380aa
@lepture lepture authored
Showing with 2 additions and 1 deletion.
  1. +1 −1  templates/post.html
  2. +1 −0  templates/snippet/head.html
View
2  templates/post.html
@@ -26,7 +26,7 @@ <h1 class="entry-title">{{post.title}}</h1>
<ul id="module-output">
<li class="module-multiable" title="本组件共有{{output|length}}个子模块">多模块</li>
{%- for value in output %}
- <li><a data-file="{{value}}" href="{{content_url('dist/')}}{{value}}">■</a></li>
+ <li><a data-file="{{value}}" href="{{content_url('dist')}}/{{value}}">■</a></li>
{%- endfor %}
</ul>
{%- endif %}
View
1  templates/snippet/head.html
@@ -53,6 +53,7 @@
sinon: "gallery/sinon/1.6.0/sinon"
},
map: [function(uri) {
+ // resolve id
var m = uri.match(/{{pkg.family}}\/{{pkg.name}}\/{{pkg.version}}\/(.*)/);
if (m) {
return resolve(m[1]);
Please sign in to comment.
Something went wrong with that request. Please try again.