Permalink
Browse files

fix mistake

  • Loading branch information...
Samuli Ulmanen
Samuli Ulmanen committed Dec 4, 2013
1 parent 5a5ecbd commit b22279082401649ad1e65faa00bf148bcf89413d
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/cron.js
View
@@ -1,11 +1,12 @@
var CronDate;
var exports;
+
try {
CronDate = require("time").Date;
exports = module.exports;
} catch (e) {
CronDate = Date;
- exports = module ? module.exports : null;
+ exports = null;
}
function CronTime(source, zone) {

0 comments on commit b222790

Please sign in to comment.