We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
index.js
1 parent 38352d9 commit f109b58Copy full SHA for f109b58
.npmignore
@@ -1,3 +1,4 @@
1
test
2
.eslint*
3
.travis*
4
+.npmignore
index.js
@@ -1,12 +1,14 @@
-;(function(factory) {
+/* eslint-disable strict */
+// UMD template: https://github.com/ForbesLindesay/umd/blob/master/template.js
+;(function(factory) { // eslint-disable-line no-extra-semi
5
// CommonJS
6
if (typeof exports === 'object' && typeof module !== 'undefined') {
7
module.exports = factory();
8
9
// RequireJS (AMD)
- } else if (typeof define === 'function' && define.amd) {
- define([], factory());
10
+ } else if (typeof define === 'function' && define.amd) { // eslint-disable-line no-undef
11
+ define([], factory()); // eslint-disable-line no-undef
12
13
// Browser (script tag)
14
} else {
0 commit comments