Skip to content

Commit 9797c14

Browse files
Resolve "object is not a function" bug
1 parent 5025c93 commit 9797c14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "set-timer",
33
"version": "2.0.0",
44
"description": "A lightweight abstraction for the JavaScript Timer API.",
5-
"main": "meantime.js",
5+
"main": "set-timer.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},

meantime.js renamed to set-timer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ var setTimer = function (cb, options) {
3333
return timer;
3434
};
3535

36-
module.exports = { setTimer: setTimer };
36+
module.exports = setTimer;

0 commit comments

Comments
 (0)