@@ -95,7 +95,7 @@ ol.Collection = function(opt_array) {
|
||||
* @private
|
||||
* @type {Array.<T>}
|
||||
*/
|
||||
this.array_ = opt_array || [];
|
||||
this.array_ = goog.isDef(opt_array) ? opt_array : [];
|
||||
|
||||
this.updateLength_();
|
||||
|
||||
|
||||
@@ -36,8 +36,7 @@ ol.control.FullScreen = function(opt_options) {
|
||||
this.cssClassName_ = goog.isDef(options.className) ?
|
||||
options.className : 'ol-full-screen';
|
||||
|
||||
var label = goog.isDef(options.label) ?
|
||||
options.label : '\u2194';
|
||||
var label = goog.isDef(options.label) ? options.label : '\u2194';
|
||||
|
||||
/**
|
||||
* @private
|
||||
|
||||
Reference in New Issue
Block a user