Making _getPositionCoord return a dummy zero when there is no parent element (i.e. draggable element hasn't been attached tot he DOM tree yet) suppresses the error from #131.
The test system seems to be behaving a little oddly on my setup, but this change behaved identically to the master branch aside from #131, so I think it's good.
Making _getPositionCoord return a dummy zero when there is no parent element (i.e. draggable element hasn't been attached tot he DOM tree yet) suppresses the error from #131.
The test system seems to be behaving a little oddly on my setup, but this change behaved identically to the master branch aside from #131, so I think it's good.