chainpad
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -78,8 +78,12 @@ /*@flow*/ | ||
} | ||
realtime.messageHandlers.forEach(function (handler) { | ||
handler(message, function () { | ||
callback.apply(null, arguments); | ||
callback = function () { }; | ||
try { | ||
realtime.messageHandlers.forEach(function (handler) { | ||
handler(message, function () { | ||
callback.apply(null, arguments); | ||
callback = function () { }; | ||
}); | ||
}); | ||
}); | ||
} catch (e) { | ||
callback(e); | ||
} | ||
}; | ||
@@ -86,0 +90,0 @@ |
{ | ||
"name": "chainpad", | ||
"description": "Realtime Collaborative Editor Algorithm based on the Nakamoto BlockChain", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "gluejs": "~2.4.0", |
Sorry, the diff of this file is too big to display
313474
6134