Skip to content

Commit

Permalink
Plugin Previewer: Easing: Fix markers url due to base href in plugin …
Browse files Browse the repository at this point in the history
…page
  • Loading branch information
Golmote committed Sep 29, 2015
1 parent 9207258 commit 4303c94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugins/previewer-easing/prism-previewer-easing.js
Expand Up @@ -100,8 +100,8 @@
'</marker>' +
'</defs>' +
'<path d="M0,100 C20,50, 40,30, 100,0" />' +
'<line x1="0" y1="100" x2="20" y2="50" marker-start="url(#prism-previewer-easing-marker)" marker-end="url(#prism-previewer-easing-marker)" />' +
'<line x1="100" y1="0" x2="40" y2="30" marker-start="url(#prism-previewer-easing-marker)" marker-end="url(#prism-previewer-easing-marker)" />' +
'<line x1="0" y1="100" x2="20" y2="50" marker-start="url(' + location.href + '#prism-previewer-easing-marker)" marker-end="url(#prism-previewer-easing-marker)" />' +
'<line x1="100" y1="0" x2="40" y2="30" marker-start="url(' + location.href + '#prism-previewer-easing-marker)" marker-end="url(#prism-previewer-easing-marker)" />' +
'</svg>';
});
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/previewer-easing/prism-previewer-easing.min.js

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

0 comments on commit 4303c94

Please sign in to comment.