mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-19 06:52:02 +02:00
.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
Dev instance of the rewrite for https://Pomax.github.io/bezierinfo
|
Dev instance of the rewrite for https://Pomax.github.io/bezierinfo
|
||||||
|
|
||||||
- Run dev version: `npm start`.
|
- Run dev version: `npm start`, view in the browser on http://localhost:8080
|
||||||
- Compile to site: `npm run build`.
|
- Compile for production: `npm run build`.
|
||||||
- Live version during development: http://Pomax.github.io/BezierInfo-2/
|
- Repositoryduring development: https://github.com/Pomax/BezierInfo-2
|
||||||
|
- Live version during development: https://Pomax.github.io/BezierInfo-2
|
||||||
|
@@ -1,16 +0,0 @@
|
|||||||
var React = require("react");
|
|
||||||
var ReactDOM = require("react-dom");
|
|
||||||
var noop = require("../lib/noop");
|
|
||||||
|
|
||||||
var MathJax = (typeof window !== "undefined" ? window.MathJax : false);
|
|
||||||
|
|
||||||
// fallback will simply do nothing when typesetting.
|
|
||||||
if(!MathJax){MathJax={Hub:{Queue:noop}};}
|
|
||||||
|
|
||||||
var LaTeX = React.createClass({
|
|
||||||
render: function() {
|
|
||||||
return <p ref="latex">{this.props.children}</p>;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
module.exports = LaTeX;
|
|
Reference in New Issue
Block a user