sporritt/jsPlumb — pull request #50 by Mike-Baker (2013-05-21 12:04:45+00:00)
Title: Updated doWhileSuspended to revert suspendDrawing to it's previous status rather than force it off.

Fix for performance issue https://github.com/sporritt/jsPlumb/issues/49

With our usage of jsPlumb I haven't detected any issues caused by this (and there is a significant speedup), however it does alter aspects of library's behaviour, notably if someone was relying on doWhileSuspended to switch off isSuspendDrawing that will no longer work.
Also various internal calls use doWhileSuspended so they can't be used to switch off isSuspendDrawing either.