Add message to assertions.

This commit is contained in:
Marc Jansen
2015-03-30 22:50:15 +02:00
parent 2c40d74a15
commit fb9ba22c30
45 changed files with 394 additions and 221 deletions

View File

@@ -53,7 +53,7 @@ ol.source.Image = function(options) {
goog.array.isSorted(this.resolutions_,
function(a, b) {
return b - a;
}, true));
}, true), 'resolutions must be null or sorted in descending order');
};
goog.inherits(ol.source.Image, ol.source.Source);