Skip to content

Commit

Permalink
Fix attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
llienher committed Sep 6, 2019
1 parent 90a995b commit a38a4e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/datasource/DataSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ class DataSource {
* Note: `attributes` is not using the conventionnal getter/setter due
* to: See: https://github.com/google/closure-compiler/issues/1089
*
* @type {Array<import('ngeo/format/Attribute.js').Attribute>}
* @type {?Array<import('ngeo/format/Attribute.js').Attribute>}
*/
this.attributes = options.attributes || [];
this.attributes = options.attributes || null;

/**
* (Required) The data source id.
Expand Down

0 comments on commit a38a4e0

Please sign in to comment.