code-dot-org/blockly-core — pull request #71 by Bjvanminnen (2014-04-29 23:26:00+00:00)
Title: have both calls to removeAllRanges catch exceptions

Turns out this was still getting us into trouble if we had multiple repeat type blocks dragged into the workspace. Catching exception on both calls seems to fix things.