Permalink
Browse files

RequiredDateMethods is not supposed to be global, fixes #26

  • Loading branch information...
1 parent 89d187c commit 10dc00040e7105d436a683d3ff0fe596b6204aad @samsonjs committed Jun 13, 2013
Showing with 7 additions and 7 deletions.
  1. +6 −6 strftime-min.js
  2. +1 −1 strftime.js
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -163,7 +163,7 @@
});
}
- RequiredDateMethods = ['getTime', 'getTimezoneOffset', 'getDay', 'getDate', 'getMonth', 'getFullYear', 'getYear', 'getHours', 'getMinutes', 'getSeconds'];
+ var RequiredDateMethods = ['getTime', 'getTimezoneOffset', 'getDay', 'getDate', 'getMonth', 'getFullYear', 'getYear', 'getHours', 'getMinutes', 'getSeconds'];
function quacksLikeDate(x) {
var i = 0
, n = RequiredDateMethods.length

0 comments on commit 10dc000

Please sign in to comment.