Skip to content

Commit

Permalink
drop deprecated get element css
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno12mota committed Jan 20, 2017
1 parent c8a9301 commit 1866c0a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
18 changes: 0 additions & 18 deletions lib/shared/helpers/get-element-css.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Component from 'components/component';
import Draggable from 'components/dnd/draggable';
import bind from 'decorators/bind';
import getElementCss from 'helpers/get-element-css';
import velocity from 'relax-velocity-animate';
import React, {PropTypes} from 'react';
import {findDOMNode} from 'react-dom';
Expand Down Expand Up @@ -154,11 +153,6 @@ export default class Element extends Component {
}
}

processCss (style) {
const {element, display} = this.props;
Object.assign(style, getElementCss(element, display));
}

@bind
onMouseOver (event) {
const {dragging, overed, selected, overElement, element, context} = this.props;
Expand Down Expand Up @@ -224,7 +218,6 @@ export default class Element extends Component {

const calcStyle = Object.assign({}, style);
this.processAnimationStyle(calcStyle);
this.processCss(calcStyle);

const tagProps = {
style: calcStyle,
Expand Down

0 comments on commit 1866c0a

Please sign in to comment.