Use goog.asserts.fail

This commit is contained in:
Tom Payne committed 2013-04-08 19:14:16 +02:00
1 parent 098bddb72f
commit e132943eef
7 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -226,7 +226,7 @@ ol.control.ScaleLine.prototype.updateElement_ = function(frameState) {
pointResolution /= 1609.3472;
}
} else {
goog.asserts.assert(false);
goog.asserts.fail();
}
var i = 3 * Math.floor(