Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var React = require('react'),
Blur = require('react-blur').default,
ReactDOM = require('react-dom');
var App = React.createClass({
getInitialState: function() {
return {
radius: 0,
img: 'assets/img.jpg'
}
},
componentDidMount: function() {
{/* twitter button */}
(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}})(document, 'script', 'twitter-wjs');
},