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

View File

@@ -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_();

View File

@@ -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