mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
update code style
This commit is contained in:
parent
192f150bc2
commit
77651c0621
@ -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…
Reference in New Issue
Block a user