Browse Source

update code style

pull/149/head
afc163 9 years ago
parent
commit
77651c0621
  1. 6
      components/modal/index.jsx

6
components/modal/index.jsx

@ -5,14 +5,12 @@ function noop() {
}
let mousePosition;
function onDocumentMousemove(e) {
Dom.addEventListener(document, 'mousemove', function onDocumentMousemove(e) {
mousePosition = {
x: e.pageX,
y: e.pageY
};
}
Dom.addEventListener(document, 'mousemove', onDocumentMousemove);
});
export default React.createClass({
getDefaultProps() {

Loading…
Cancel
Save