From d5f9f9e8a48c5b4c397e281781f77425287fe3eb Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Wed, 20 Jun 2012 19:16:39 +0200 Subject: [PATCH] Use inheritance. --- src/ol/Bounds.js | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/src/ol/Bounds.js b/src/ol/Bounds.js index 6bb260ef8c..e206b2d8d3 100644 --- a/src/ol/Bounds.js +++ b/src/ol/Bounds.js @@ -14,29 +14,7 @@ goog.require('ol.Projection'); */ ol.Bounds = function(minX, minY, maxX, maxY, opt_projection) { - /** - * @protected - * @type {number} - */ - this.minX_ = minX; - - /** - * @protected - * @type {number} - */ - this.minY_ = minY; - - /** - * @protected - * @type {number} - */ - this.maxX_ = maxX; - - /** - * @protected - * @type {number} - */ - this.maxY_ = maxY; + goog.base(this, minX, minY, maxX, maxY); /** * @protected