Define isDef on ol.IView2D, ol.IView3D and ol.View

This commit is contained in:
Tom Payne
2013-12-13 15:11:23 +01:00
parent 0ed59f7be3
commit 0b1a2325cd
4 changed files with 31 additions and 0 deletions

View File

@@ -56,6 +56,16 @@ ol.View.prototype.getView2D = goog.abstractMethod;
ol.View.prototype.getView3D = goog.abstractMethod;
/**
* @inheritDoc
*/
ol.View.prototype.isDef = function() {
// FIXME for some reason, we can't use goog.abstractMethod here
goog.asserts.fail();
return false;
};
/**
* @param {ol.ViewHint} hint Hint.
* @param {number} delta Delta.