- Log workforce sync errors to backend stdout so they appear in docker logs - Extend error flash from 5s to 15s so errors are readable - Replace sendBeacon (POST-only) with keepalive fetch (PUT) on unload — sendBeacon was hitting 404s on all three unload saves Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .github | ||
| test | ||
| .nycrc | ||
| CHANGELOG.md | ||
| eslint.config.mjs | ||
| index.d.ts | ||
| index.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
is-document.all 
Is this value document.all, i.e. an object with the IsHTMLDDA internal slot?
Example
var isDocumentAll = require('is-document.all');
var assert = require('assert');
assert(!isDocumentAll(undefined));
assert(!isDocumentAll(null));
assert(!isDocumentAll({}));
assert(!isDocumentAll(function () {}));
// in a browser:
assert(isDocumentAll(document.all));
Tests
Simply clone the repo, npm install, and run npm test
