Merge pull request #3195 from fredj/coding-style

Coding style
This commit is contained in:
Frédéric Junod
2015-02-02 09:59:00 +01:00
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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_();
+1 -2
View File
@@ -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