From fa33718d925fe0c456323354da71ca2bf491765c Mon Sep 17 00:00:00 2001 From: ChiefORZ Date: Thu, 24 Sep 2015 11:42:16 +0200 Subject: [PATCH] more reliable way to get the DOM Node with React v0.14 this.refs.*.getDOMNode() is deprecated, we have to use this.refs.* instead, to reference the DOM Node. this is a implementation, that is backward compatible * misspelled ref in README fixed * fixed Demo of forceFallback --- README.md | 4 ++-- react-sortable-mixin.js | 11 ++++------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 55f227597..91aed9388 100644 --- a/README.md +++ b/README.md @@ -287,7 +287,7 @@ This gives us the possiblity to test the behaviour for older Browsers even in ne On top of that, the Fallback always generates a copy of that DOM Element and appends the class `fallbackClass` definied in the options. This behaviour controls the look of this 'dragged' Element. -Demo: http://jsbin.com/xinuyenabi/edit?html,css,js,output +Demo: http://jsbin.com/pucurizace/edit?html,css,js,output --- @@ -410,7 +410,7 @@ var AllUsers = React.createClass({ render: function() { return (

Users

-