Permalink
Browse files

module.exports is not part of CommonJS. Fix comment.

  • Loading branch information...
1 parent 6fd912c commit 4431b839eafa8cbf023e41d10d28f7351427e9c5 @epeli epeli committed Oct 24, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/xdate.js
View
@@ -1,4 +1,3 @@
-
/**
* @preserve XDate v@VERSION
* Docs & Licensing: http://arshaw.com/xdate/
@@ -765,7 +764,7 @@ function zeroPad(n, len) {
return n;
}
-// Export for CommonJS. Node.js etc.
+// Export for Node.js
if (typeof module !== 'undefined' && module.exports) {
module.exports = XDate;
}

0 comments on commit 4431b83

Please sign in to comment.