diff --git a/demo/taxonomy-browser/taxonomy-browser.js b/demo/taxonomy-browser/taxonomy-browser.js index 8a2cf850..6d101fa1 100644 --- a/demo/taxonomy-browser/taxonomy-browser.js +++ b/demo/taxonomy-browser/taxonomy-browser.js @@ -183,7 +183,8 @@ // Display as
    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( @@ -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, @@ -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; diff --git a/package-lock.json b/package-lock.json index 2aba0fa1..a0e05a1e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "jquery.fancytree", - "version": "2.38.3-0", + "version": "2.38.4-0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "jquery.fancytree", - "version": "2.38.3-0", + "version": "2.38.4-0", "license": "MIT", "devDependencies": { "coffeescript": "^2.5.1", @@ -33,7 +33,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" }, @@ -4106,15 +4106,18 @@ } }, "node_modules/prettier": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz", - "integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==", + "version": "2.8.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz", + "integrity": "sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==", "dev": true, "bin": { "prettier": "bin-prettier.js" }, "engines": { "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" } }, "node_modules/prettier-linter-helpers": { @@ -8591,9 +8594,9 @@ "dev": true }, "prettier": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz", - "integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==", + "version": "2.8.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz", + "integrity": "sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==", "dev": true }, "prettier-linter-helpers": { diff --git a/package.json b/package.json index 5c488766..c859180e 100644 --- a/package.json +++ b/package.json @@ -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" }, @@ -72,4 +72,4 @@ "scripts": { "test": "grunt ci --verbose" } -} \ No newline at end of file +}