Use goog.asserts.assertInstanceof

This commit is contained in:
Tom Payne
2013-04-08 19:03:49 +02:00
parent 24cfd8a9be
commit 098bddb72f
11 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -374,7 +374,7 @@ ol.projection.createProjection = function(projection, defaultCode) {
} else if (goog.isString(projection)) {
return ol.projection.get(projection);
} else {
goog.asserts.assert(projection instanceof ol.Projection);
goog.asserts.assertInstanceof(projection, ol.Projection);
return projection;
}
};