data-confirm-modal
data-confirm-modal copied to clipboard
NodeJS `require` support: conditionally export as module (ref #54)
This change adds full node support and avoids having jQuery defined at parsing time, so that initialisation and jQuery binding can be done afterwards.
Builds on work originally started in #54 - but it is yet untested. Help needed!
Check the changes using this link as this commit contains a lot of whitespace changes.