paulfitz / daff

align and compare tables
https://paulfitz.github.io/daff
MIT License
789 stars 67 forks source link

do not touch exports without checking that it exists #132

Closed paulfitz closed 5 years ago

paulfitz commented 5 years ago

A change to daff to ease its use with webpack broke its use from a browser via direct script inclusion (#131). This commit makes sure that exports is available before fiddling with it.