Remove use of goog.isString()

This commit is contained in:
Marc Jansen
2016-02-05 15:12:00 +01:00
parent 057633c2c4
commit efa82dccf9
20 changed files with 43 additions and 43 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ ol.control.Rotate = function(opt_options) {
*/
this.label_ = null;
if (goog.isString(label)) {
if (typeof label === 'string') {
this.label_ = goog.dom.createDom('SPAN',
'ol-compass', label);
} else {