1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

edit ditto.js

This commit is contained in:
ruanyf 2014-04-26 01:14:57 +08:00
parent d300fb2db9
commit dfce3f7f28

View File

@ -208,6 +208,7 @@ function router() {
normalize_paths();
create_page_anchors();
if(window.DISQUS){
DISQUS.reset({
reload: true,
config: function () {
@ -215,6 +216,7 @@ function router() {
this.page.url = location.href;
}
});
}
$('#content code').map(function() {
Prism.highlightElement(this);