While I've tacked on a small fix and enhancement, the bulk of this (the indent changes, etc.) are linting related. Let me know if you want the fix/enhancement moved out of this (but the size of the PR will still be about the same, as most changes are basic linting/indent related).
Fix: Fix CommonJS/AMD export; fixes #30
Enhancement (demo): Switch to local jquery; closes #29
License: Rename file to reflect license type and add file extension
Linting (ESLint): Add linting config and script; enforce recommended rules and indent/semicolon; check JavaScript within Markdown and HTML also
Linting (HTML): Use tabs for indent (as with JavaScript); remove redundant type=text/css, type=text/javascript attributes; quote attributes for HTML validator; suppress favicon requests
Maintenance: Add .editorconfig to proactively enforce indent by IDEs
npm: Add recommended package-lock.json
npm: Add recommended package.json properties
npm: Add static server (and open-cli) for testing and opening example
I'd also like to remove bower.json, as Bower is deprecated, but wanted your confirmation.
After this, I hope to offer a PR which uses Rollup and refactors to use more ES6 in source (though using Babel to convert for older browsers).
While I've tacked on a small fix and enhancement, the bulk of this (the indent changes, etc.) are linting related. Let me know if you want the fix/enhancement moved out of this (but the size of the PR will still be about the same, as most changes are basic linting/indent related).
.editorconfig
to proactively enforce indent by IDEspackage-lock.json
package.json
propertiesI'd also like to remove
bower.json
, as Bower is deprecated, but wanted your confirmation.After this, I hope to offer a PR which uses Rollup and refactors to use more ES6 in source (though using Babel to convert for older browsers).