Use the latest FRPtools

This commit is contained in:
Timothy Farrell 2017-11-03 07:23:33 -05:00
parent c386545cb6
commit 5d55a2cc3b
2 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,7 @@
"dependencies": { "dependencies": {
"domvm": "~3.2.1", "domvm": "~3.2.1",
"exif-parser": "~0.1.9", "exif-parser": "~0.1.9",
"frptools": "1.1.0", "frptools": "1.2.0",
"pica": "~2.0.8", "pica": "~2.0.8",
"pouchdb-adapter-http": "~6.3.4", "pouchdb-adapter-http": "~6.3.4",
"pouchdb-adapter-idb": "~6.3.4", "pouchdb-adapter-idb": "~6.3.4",

View File

@ -2,6 +2,9 @@ import { extractID } from './conversion.js';
import { equals } from './set.js'; import { equals } from './set.js';
export function pouchDocArrayComparator(a, b) { export function pouchDocArrayComparator(a, b) {
if (!Array.isArray(b)) {
return false;
}
const aIDs = a.map(extractID); const aIDs = a.map(extractID);
const bIDs = b.map(extractID); const bIDs = b.map(extractID);