mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-01-18 06:08:20 +01:00
fix to comments
This commit is contained in:
parent
c858011930
commit
69ca4ea734
38
article.js
38
article.js
File diff suppressed because one or more lines are too long
10
components/sections/comments/handler.js
Normal file
10
components/sections/comments/handler.js
Normal file
@ -0,0 +1,10 @@
|
||||
module.exports = {
|
||||
componentDidMount() {
|
||||
if (typeof document !== "undefined") {
|
||||
var script = document.createElement("script");
|
||||
script.src = "lib/site/disqus.js";
|
||||
script.async = true;
|
||||
document.head.appendChild(script);
|
||||
}
|
||||
}
|
||||
};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -3228,6 +3228,19 @@ return {
|
||||
bindWeights: function(owner, weights, closed, ref) {
|
||||
this.refs[ref].bindWeights(owner, weights, closed);
|
||||
}
|
||||
};
|
||||
}())
|
||||
},
|
||||
"comments": {
|
||||
handler: (function() { return {
|
||||
componentDidMount() {
|
||||
if (typeof document !== "undefined") {
|
||||
var script = document.createElement("script");
|
||||
script.src = "lib/site/disqus.js";
|
||||
script.async = true;
|
||||
document.head.appendChild(script);
|
||||
}
|
||||
}
|
||||
};
|
||||
}())
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user