Skip to content

Commit

Permalink
Add CommonJS module support
Browse files Browse the repository at this point in the history
  • Loading branch information
jbpros committed Jun 8, 2015
1 parent 65c28af commit f239ca9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions animate.js
Original file line number Diff line number Diff line change
Expand Up @@ -511,3 +511,7 @@ const animate = (() => {
};

})();

if (typeof module != "undefined" && module.exports) {
module.exports = animate;
}

0 comments on commit f239ca9

Please sign in to comment.