Skip to content

Commit

Permalink
DOC: update demos re recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fedarko committed Jul 12, 2019
1 parent eb2f62e commit 959dc2e
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/demos/byrd/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ <h4 class="centeredHeader">Denominator</h4>
<a id="downloadHelper" class="invisible"></a>
<div class="centeredBlock marginOnTop">
<button id="multiFeatureButton">
Regenerate sample plot
Regenerate plots
</button>
<button id="exportDataButton">
Export sample data
Expand Down
2 changes: 1 addition & 1 deletion docs/demos/byrd/js/feature_computation.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ define(function() {
throw new Error("featureMetadataField not found in data");
} else if (searchType !== "text" && searchType !== "rank") {
throw new Error('searchType must be either "text" or "rank"');
} else if (inputText.trim().length === 0) {
} else if (inputText.length === 0) {
return [];
}

Expand Down
2 changes: 1 addition & 1 deletion docs/demos/q2_moving_pictures/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ <h4 class="centeredHeader">Denominator</h4>
<a id="downloadHelper" class="invisible"></a>
<div class="centeredBlock marginOnTop">
<button id="multiFeatureButton">
Regenerate sample plot
Regenerate plots
</button>
<button id="exportDataButton">
Export sample data
Expand Down
2 changes: 1 addition & 1 deletion docs/demos/q2_moving_pictures/js/feature_computation.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ define(function() {
throw new Error("featureMetadataField not found in data");
} else if (searchType !== "text" && searchType !== "rank") {
throw new Error('searchType must be either "text" or "rank"');
} else if (inputText.trim().length === 0) {
} else if (inputText.length === 0) {
return [];
}

Expand Down
2 changes: 1 addition & 1 deletion docs/demos/red_sea/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ <h4 class="centeredHeader">Denominator</h4>
<a id="downloadHelper" class="invisible"></a>
<div class="centeredBlock marginOnTop">
<button id="multiFeatureButton">
Regenerate sample plot
Regenerate plots
</button>
<button id="exportDataButton">
Export sample data
Expand Down
2 changes: 1 addition & 1 deletion docs/demos/red_sea/js/feature_computation.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ define(function() {
throw new Error("featureMetadataField not found in data");
} else if (searchType !== "text" && searchType !== "rank") {
throw new Error('searchType must be either "text" or "rank"');
} else if (inputText.trim().length === 0) {
} else if (inputText.length === 0) {
return [];
}

Expand Down
2 changes: 1 addition & 1 deletion docs/demos/sleep_apnea/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ <h4 class="centeredHeader">Denominator</h4>
<a id="downloadHelper" class="invisible"></a>
<div class="centeredBlock marginOnTop">
<button id="multiFeatureButton">
Regenerate sample plot
Regenerate plots
</button>
<button id="exportDataButton">
Export sample data
Expand Down
2 changes: 1 addition & 1 deletion docs/demos/sleep_apnea/js/feature_computation.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ define(function() {
throw new Error("featureMetadataField not found in data");
} else if (searchType !== "text" && searchType !== "rank") {
throw new Error('searchType must be either "text" or "rank"');
} else if (inputText.trim().length === 0) {
} else if (inputText.length === 0) {
return [];
}

Expand Down

0 comments on commit 959dc2e

Please sign in to comment.