Remove problematic (and unused) clone methods, move contains out of ol.Rectangle

This commit is contained in:
Tom Payne
2012-09-24 23:12:32 +02:00
parent c43e04ea77
commit 424dbd7582
13 changed files with 38 additions and 122 deletions

View File

@@ -46,11 +46,3 @@ ol.Color.createFromString = function(str, opt_a) {
var a = opt_a || 255;
return new ol.Color(rgb[0], rgb[1], rgb[2], a);
};
/**
* @return {ol.Color} Clone.
*/
ol.Color.prototype.clone = function() {
return new ol.Color(this.r, this.g, this.b, this.a);
};