Skip to content

Instantly share code, notes, and snippets.

@taylorSando
Last active August 29, 2015 14:13
Show Gist options
  • Save taylorSando/dea6e49a67f71f672f68 to your computer and use it in GitHub Desktop.
Save taylorSando/dea6e49a67f71f672f68 to your computer and use it in GitHub Desktop.
Altering javascript
(function () {
var React = require('react'),
injectTapEventPlugin = require("react-tap-event-plugin"),
materialUI = require('material-ui');
//Needed for React Developer Tools
window.React = React;
window.MaterialUI = materialUI;
//Needed for onTouchTap
//Can go away when react 1.0 release
//Check this repo:
//https://github.com/zilverline/react-tap-event-plugin
injectTapEventPlugin();
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment