Check in map of science's comparison view for 1.4 release testing

Remaining works:
- support csv download for sub-entity
- show sub-entity mapping results
This commit is contained in:
kongchinhua 2011-11-07 05:34:58 +00:00
parent 60a87403d1
commit be65655c7e
14 changed files with 895 additions and 316 deletions

View file

@ -58,10 +58,12 @@ var Polygon = Class.extend({
registerEvents : function() {
},
unregisterEvents : function() {
$.each(this.handlers, function(){
removeListener(this);
});
this.handlers = null;
if (this.handlers) {
$.each(this.handlers, function(i, handler) {
removeListener(handler);
});
this.handlers = null;
}
}
});
@ -92,7 +94,6 @@ var CirclePolygon = Polygon.extend({
if (!this.isPointsCreated()) {
this.initCirclePoints();
}
this._super();
},
isPointsCreated: function() {