input_calendar 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
data/src/calendar.coffee
CHANGED
@@ -79,8 +79,8 @@ class @Calendar
|
|
79
79
|
date = dh(new Date(@pager_date))
|
80
80
|
date.setDate(1)
|
81
81
|
month = @pager_date.getMonth()
|
82
|
-
first_day = date.getDay()
|
83
|
-
while (
|
82
|
+
first_day = i = date.getDay()
|
83
|
+
while (i -= 1) > -1
|
84
84
|
date.go_yesterday()
|
85
85
|
html = ""
|
86
86
|
i = 0
|
@@ -139,8 +139,8 @@
|
|
139
139
|
date = dh(new Date(this.pager_date));
|
140
140
|
date.setDate(1);
|
141
141
|
month = this.pager_date.getMonth();
|
142
|
-
first_day = date.getDay();
|
143
|
-
while ((
|
142
|
+
first_day = i = date.getDay();
|
143
|
+
while ((i -= 1) > -1) {
|
144
144
|
date.go_yesterday();
|
145
145
|
}
|
146
146
|
html = "";
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: input_calendar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Josh Goebel
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-06-
|
18
|
+
date: 2012-06-05 00:00:00 Z
|
19
19
|
dependencies: []
|
20
20
|
|
21
21
|
description: Simple and clean JS calendar to enter dates on forms
|