From e39c67f7535478ff2ae84327d462b1c6c116d1c1 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sun, 14 Nov 2010 19:16:23 -0800 Subject: [PATCH] actually export the function --- lib/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/index.js b/lib/index.js index 05f6f45..6a90e8a 100644 --- a/lib/index.js +++ b/lib/index.js @@ -76,6 +76,8 @@ var strftime = (function() { } }); } + return strftime; }()); if (typeof exports !== 'undefined') exports.strftime = strftime; +else (function(global) { global.strftime = strftime }.call(this));