mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-09-01 04:22:28 +02:00
pontoon?
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
var React = require("react");
|
||||
var ReactDOM = require("react-dom");
|
||||
var FullArticle = require("./FullArticle.jsx");
|
||||
var localized = (
|
||||
<div>
|
||||
<FullArticle/>
|
||||
<script src="https://localize-bezierinfo.herokuapp.com/static/js/jquery-1.11.1.min.js"/>
|
||||
<script src="https://localize-bezierinfo.herokuapp.com/pontoon.js"/>
|
||||
</div>
|
||||
);
|
||||
ReactDOM.render(localized, document.getElementById("article"));
|
||||
|
||||
function addPontoon() {
|
||||
var jquery = document.createElement("script");
|
||||
jquery.src = "https://localize-bezierinfo.herokuapp.com/static/js/jquery-1.11.1.min.js";
|
||||
document.head.appendChild(jquery);
|
||||
|
||||
var pontoon = document.createElement("script");
|
||||
pontoon.src = "https://localize-bezierinfo.herokuapp.com/pontoon.js";
|
||||
document.head.appendChild(pontoon);
|
||||
}
|
||||
|
||||
ReactDOM.render(<FullArticle/>, document.getElementById("article"), addPontoon);
|
||||
|
Reference in New Issue
Block a user