projectEndings / staticSearch

A codebase to support a pure JSON search engine requiring no backend for any XHTML5 document collection
https://endings.uvic.ca/staticSearch/docs/index.html
Mozilla Public License 2.0
46 stars 21 forks source link

XSet is no longer needed #310

Open martindholmes opened 1 week ago

martindholmes commented 1 week ago

The methods we extended the JS Set object with, xUnion(), xIntersection(), and xDifference(), are now available as standard JS methods supported virtually everywhere. The one remaining additional method, addArray(), is trivial and could be inlined wherever needed. We can now dispense with this subclass.