From 87799dc5368b8604dc0e58124ed68430c126f33e Mon Sep 17 00:00:00 2001 From: Atul Varma Date: Tue, 23 Dec 2014 11:47:14 -0500 Subject: [PATCH] Revert "don't explode if state.movingText is null." This reverts commit 88450055e2ad5c1f7bb20b689c2ad1f2a2ef7ab9. --- src/movable-text.jsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/movable-text.jsx b/src/movable-text.jsx index ae56c8e..bcb4e56 100644 --- a/src/movable-text.jsx +++ b/src/movable-text.jsx @@ -21,11 +21,6 @@ define(function(require) { }.bind(this)); hammer.on('panend', function(e) { var movingText = this.state.movingText; - if (!movingText) { - // Not sure how this can happen, but apparently it does... - console.log("state.movingText is null, how odd."); - return; - } this.props.firebaseRef.update({ x: movingText.x, y: movingText.y