diff --git a/dev/raphael.core.js b/dev/raphael.core.js index a78affca..35d4c7bf 100644 --- a/dev/raphael.core.js +++ b/dev/raphael.core.js @@ -3120,7 +3120,7 @@ define(["eve"], function(eve) { \*/ elproto.removeData = function (key) { if (key == null) { - eldata[this.id] = {}; + delete eldata[this.id]; } else { eldata[this.id] && delete eldata[this.id][key]; }