Skip to content

Commit

Permalink
Fix formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mar10 committed Mar 12, 2023
1 parent c99ab36 commit afc7103
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 15 deletions.
12 changes: 8 additions & 4 deletions demo/taxonomy-browser/taxonomy-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@
// Display as <OL> list (for Bootstrap breadcrumbs)
$ol.empty().removeClass("busy");
$.each(nodeList, function (i, o) {
var name = o.vernacularName || o.canonicalName || o.scientificName;
var name =
o.vernacularName || o.canonicalName || o.scientificName;
keyList.push(o.key);
if ("" + o.key === "" + key) {
$ol.append(
Expand Down Expand Up @@ -312,7 +313,10 @@
data.result = $.map(response.results, function (o) {
return (
o && {
title: o.vernacularName || o.canonicalName || o.scientificName,
title:
o.vernacularName ||
o.canonicalName ||
o.scientificName,
key: o.key,
nubKey: o.nubKey,
folder: true,
Expand Down Expand Up @@ -402,8 +406,8 @@
$tdList = $(node.tr).find(">td"),
cnList = node.data.vernacularNames
? $.map(node.data.vernacularNames, function (o) {
return o.vernacularName;
})
return o.vernacularName;
})
: [];

i = 0;
Expand Down
21 changes: 12 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"grunt-yabs": "^1.3.0",
"jsdoc": "^3.6.7",
"marked": "^3.0.8 <4.0",
"prettier": "^2.3.0",
"prettier": "^2.8.4",
"puppeteer": "^13.5.2",
"qunit": "^2.18.1"
},
Expand All @@ -72,4 +72,4 @@
"scripts": {
"test": "grunt ci --verbose"
}
}
}

0 comments on commit afc7103

Please sign in to comment.