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