Skip to content

Commit 35fa3b0

Browse files
committed
Merge branch 'main' into develop
2 parents 6eac387 + a11bee4 commit 35fa3b0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/docs/src_js_models_metadata_eml211_EML211.js.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,9 @@ <h1 class="page-title">Source: src/js/models/metadata/eml211/EML211.js</h1>
223223
if (uri &amp;&amp; Array.isArray(uri) &amp;&amp; uri.length) {
224224
[uri] = uri;
225225
}
226+
if (uri &amp;&amp; Array.isArray(uri) &amp;&amp; uri.length) {
227+
[uri] = uri;
228+
}
226229
let annotations = this.get("annotations");
227230
if (!annotations) {
228231
annotations = new EMLAnnotations();
@@ -1757,9 +1760,11 @@ <h1 class="page-title">Source: src/js/models/metadata/eml211/EML211.js</h1>
17571760
}
17581761
}
17591762

1763+
// Validate the EMLAnnotation models, checking for the canonical dataset
17601764
// Validate the EMLAnnotation models, checking for the canonical dataset
17611765
const annotations = this.get("annotations");
17621766
const annotationErrors = annotations ? annotations.validate() : [];
1767+
const annotationErrors = annotations ? annotations.validate() : [];
17631768

17641769
if (annotationErrors?.length) {
17651770
errors.annotations = annotationErrors.filter(
@@ -1911,6 +1916,7 @@ <h1 class="page-title">Source: src/js/models/metadata/eml211/EML211.js</h1>
19111916
);
19121917
},
19131918

1919+
/**
19141920
/**
19151921
* Sends an AJAX request to fetch the system metadata for this EML object.
19161922
* Will not trigger a sync event since it does not use
@@ -1951,6 +1957,7 @@ <h1 class="page-title">Source: src/js/models/metadata/eml211/EML211.js</h1>
19511957
$.ajax(fetchOptions);
19521958
},
19531959

1960+
19541961
/*
19551962
* Returns the nofde in the given EML document that the given node type
19561963
* should be inserted after

0 commit comments

Comments
 (0)