diff --git a/circle.yml b/circle.yml index 7caa57740d..b075c1f5fe 100644 --- a/circle.yml +++ b/circle.yml @@ -17,6 +17,7 @@ deployment: test: post: - gulp lint + - gulp checkstyle general: branches: diff --git a/platform/representation/src/gestures/DropGesture.js b/platform/representation/src/gestures/DropGesture.js index 7f94dad223..966618d88c 100644 --- a/platform/representation/src/gestures/DropGesture.js +++ b/platform/representation/src/gestures/DropGesture.js @@ -46,7 +46,7 @@ define( // Find the relevant scope... var rect, scope = element.scope && element.scope(); - + if (scope && scope.$broadcast) { // Get the representation's bounds, to convert // drop position