Skip to content

Commit

Permalink
Merge pull request #35 from JakeSidSmith/code-cleanup
Browse files Browse the repository at this point in the history
Indentation / linebreak cleanup
  • Loading branch information
JakeSidSmith committed Jan 26, 2015
2 parents 03108ff + 32a03bf commit 95e63f7
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions reorderable.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
(function () {
'use strict';


var getReorderable = function (React) {

var DEVELOPMENT = false;
Expand Down Expand Up @@ -460,18 +459,18 @@
var itemKey = self.state.dragged.item[self.props.itemKey] || self.state.dragged.item;
var itemClass = [self.props.itemClass, self.getDraggedClass(self.state.dragged.item)].join(' ');
return React.createElement('div', {
key: itemKey,
className: itemClass,
style: self.getDraggedStyle(self.state.dragged.item)
key: itemKey,
className: itemClass,
style: self.getDraggedStyle(self.state.dragged.item)
}, getPropsTemplate(self.state.dragged.item));
}
return undefined;
};

return React.createElement('div', {
className: this.props.listClass,
onMouseDown: self.listDown,
onTouchStart: self.listDown
className: this.props.listClass,
onMouseDown: self.listDown,
onTouchStart: self.listDown
}, list, targetClone());
}
});
Expand Down

0 comments on commit 95e63f7

Please sign in to comment.