Skip to content

Commit

Permalink
Cleaning up syntax + formatting errors in #52
Browse files Browse the repository at this point in the history
  • Loading branch information
JedWatson committed Sep 30, 2015
1 parent d4f722c commit f02c786
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
if (typeof module !== 'undefined' && module.exports) {
module.exports = classNames;
} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {
// Register under the npm name.
+ define("classnames", function () {
// register as 'classnames', consistent with npm package name
define('classnames', function () {
return classNames;
});
} else {
Expand Down

0 comments on commit f02c786

Please sign in to comment.