Clear prevCallbacks on detach()
authormjanda <mjanda@users.noreply.github.com>
Mon, 2 Feb 2015 09:17:25 +0000 (10:17 +0100)
committermjanda <mjanda@users.noreply.github.com>
Mon, 2 Feb 2015 09:17:25 +0000 (10:17 +0100)
extras/synchronizer.js

index 295cef8..1b27bc2 100644 (file)
@@ -127,6 +127,7 @@ Dygraph.synchronize = function(/* dygraphs..., opts */) {
       // release references & make subsequent calls throw.
       dygraphs = null;
       opts = null;
+      prevCallbacks = null;
     }
   };
 };