Skip to content

Warn when invoking default functions on an empty document

Created by: khawkins98

For modern JS frameworks (react, angular, etc) running foundation, foundationExtendEBI, and script.js on bootstrap doesn't do anything.

So we should detect when a developer is doing this and advise a better behaviour through console.warn or similar.