clndr-rails 1.2.6.1 → 1.2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/clndr-rails.rb +2 -1
- data/lib/clndr-rails/version.rb +1 -1
- data/test/dummy/log/development.log +180 -0
- data/test/dummy/log/test.log +186 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/003c68cd1f3ba2d6344147bb52d8fd1a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2e471d0b6fa1aa6817c6d3e773648a43 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/460632c7db14d41cf7371b6b4bb64157 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4b2e05f2b06345dfee1d683a3fdd29e7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5f78b3457def1d02bd3fb75d4e0cfb63 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/643ff98d256ca160a0cb4ca0fc83ffdb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6c9c1cfb50b40b88dd14926792400890 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6f78527844795b9b46156d0576fffe63 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/73938775f2e5bebe09996667ea3dd302 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/93120bd88f1e2293fc55c191aeab678a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9e158358644b7e1cbee43defd7d7b449 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a086b63b827c2bdef684cc4985c925fc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a4ce04494de7990c1b23b8498b2fb743 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a780ea7d8044a1786c8bfd4b3df13491 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ae0ae68c837285b67a4fc1df4dddb939 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bb2f6a70a78dd0eb8181c7f495e82f57 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bd28ee35f981cb10b9740ee6e6686b6d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c4a0410f3ca8e859238c3b5a24ef0d98 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c8fc1f981896d3bc3650f6dc2cdc3981 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/dc767a0bb27fb390899cd7e6ff34b310 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e59e1f3e795e9486fffbc3b4ad0baaca +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/efbbf60292a32f735cfdcbd98f0a0dcb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f56ceda2003be471c5e7a5ec2e355c9e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/fb5e937723a7579bee0be03b0c5d9052 +0 -0
- data/vendor/assets/javascripts/clndr-rails/clndr.min.js +2 -2
- metadata +26 -4
- data/test/dummy/tmp/pids/server.pid +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: be0fc6926eb61fa37a932b4d106ff0ba69f75117
|
|
4
|
+
data.tar.gz: d363ea7829673fa00d5928b62edd598b67b07e0a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 61afde26e8a203e42f124eb9be5269d5280f8163e91bf69b8057f2a357b8e8e7a85995b8bc03b11d6330652b8b28de0d70e502760a5b71c2796b79d8f426fb33
|
|
7
|
+
data.tar.gz: ac633742576449f6de3fdadba98649f3c680526b7bbf5a32758da0742719ebfba31719f3a761aae857f3fc4f2da8a4f68c42d711560c937b8449a973bb76fcf2
|
data/lib/clndr-rails.rb
CHANGED
data/lib/clndr-rails/version.rb
CHANGED
|
@@ -19882,3 +19882,183 @@ Started GET "/assets/clndr-rails/index.js?body=1" for 127.0.0.1 at 2015-01-12 14
|
|
|
19882
19882
|
|
|
19883
19883
|
|
|
19884
19884
|
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-01-12 14:15:06 +0500
|
|
19885
|
+
|
|
19886
|
+
|
|
19887
|
+
Started GET "/" for 127.0.0.1 at 2015-01-28 11:30:16 +0500
|
|
19888
|
+
Processing by BaseController#index as HTML
|
|
19889
|
+
Rendered base/index.html.erb within layouts/application (2.0ms)
|
|
19890
|
+
Completed 200 OK in 1168ms (Views: 1166.0ms | ActiveRecord: 0.0ms)
|
|
19891
|
+
|
|
19892
|
+
|
|
19893
|
+
Started GET "/assets/clndr-rails.css?body=1" for 127.0.0.1 at 2015-01-28 11:30:18 +0500
|
|
19894
|
+
|
|
19895
|
+
|
|
19896
|
+
Started GET "/assets/base.css?body=1" for 127.0.0.1 at 2015-01-28 11:30:18 +0500
|
|
19897
|
+
|
|
19898
|
+
|
|
19899
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-01-28 11:30:18 +0500
|
|
19900
|
+
|
|
19901
|
+
|
|
19902
|
+
Started GET "/assets/underscore.js?body=1" for 127.0.0.1 at 2015-01-28 11:30:18 +0500
|
|
19903
|
+
|
|
19904
|
+
|
|
19905
|
+
Started GET "/assets/base.js?body=1" for 127.0.0.1 at 2015-01-28 11:30:18 +0500
|
|
19906
|
+
|
|
19907
|
+
|
|
19908
|
+
Started GET "/assets/clndr-rails/clndr.min.js?body=1" for 127.0.0.1 at 2015-01-28 11:30:18 +0500
|
|
19909
|
+
|
|
19910
|
+
|
|
19911
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-01-28 11:30:18 +0500
|
|
19912
|
+
|
|
19913
|
+
|
|
19914
|
+
Started GET "/assets/moment.js?body=1" for 127.0.0.1 at 2015-01-28 11:30:18 +0500
|
|
19915
|
+
|
|
19916
|
+
|
|
19917
|
+
Started GET "/assets/clndr-rails/index.js?body=1" for 127.0.0.1 at 2015-01-28 11:30:18 +0500
|
|
19918
|
+
|
|
19919
|
+
|
|
19920
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-01-28 11:30:18 +0500
|
|
19921
|
+
|
|
19922
|
+
|
|
19923
|
+
Started GET "/" for 127.0.0.1 at 2015-01-28 11:30:55 +0500
|
|
19924
|
+
Processing by BaseController#index as HTML
|
|
19925
|
+
Rendered base/index.html.erb within layouts/application (1.0ms)
|
|
19926
|
+
Completed 200 OK in 60ms (Views: 59.0ms | ActiveRecord: 0.0ms)
|
|
19927
|
+
|
|
19928
|
+
|
|
19929
|
+
Started GET "/assets/clndr-rails.css?body=1" for 127.0.0.1 at 2015-01-28 11:30:56 +0500
|
|
19930
|
+
|
|
19931
|
+
|
|
19932
|
+
Started GET "/assets/underscore.js?body=1" for 127.0.0.1 at 2015-01-28 11:30:56 +0500
|
|
19933
|
+
|
|
19934
|
+
|
|
19935
|
+
Started GET "/assets/base.css?body=1" for 127.0.0.1 at 2015-01-28 11:30:56 +0500
|
|
19936
|
+
|
|
19937
|
+
|
|
19938
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-01-28 11:30:56 +0500
|
|
19939
|
+
|
|
19940
|
+
|
|
19941
|
+
Started GET "/assets/clndr-rails/clndr.min.js?body=1" for 127.0.0.1 at 2015-01-28 11:30:56 +0500
|
|
19942
|
+
|
|
19943
|
+
|
|
19944
|
+
Started GET "/assets/base.js?body=1" for 127.0.0.1 at 2015-01-28 11:30:56 +0500
|
|
19945
|
+
|
|
19946
|
+
|
|
19947
|
+
Started GET "/assets/clndr-rails/index.js?body=1" for 127.0.0.1 at 2015-01-28 11:30:56 +0500
|
|
19948
|
+
|
|
19949
|
+
|
|
19950
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-01-28 11:30:56 +0500
|
|
19951
|
+
|
|
19952
|
+
|
|
19953
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-01-28 11:30:56 +0500
|
|
19954
|
+
|
|
19955
|
+
|
|
19956
|
+
Started GET "/assets/moment.js?body=1" for 127.0.0.1 at 2015-01-28 11:30:56 +0500
|
|
19957
|
+
|
|
19958
|
+
|
|
19959
|
+
Started GET "/" for 127.0.0.1 at 2015-01-28 11:32:12 +0500
|
|
19960
|
+
Processing by BaseController#index as HTML
|
|
19961
|
+
Rendered base/index.html.erb within layouts/application (0.0ms)
|
|
19962
|
+
Completed 200 OK in 50ms (Views: 50.0ms | ActiveRecord: 0.0ms)
|
|
19963
|
+
|
|
19964
|
+
|
|
19965
|
+
Started GET "/assets/clndr-rails.css?body=1" for 127.0.0.1 at 2015-01-28 11:32:12 +0500
|
|
19966
|
+
|
|
19967
|
+
|
|
19968
|
+
Started GET "/assets/base.css?body=1" for 127.0.0.1 at 2015-01-28 11:32:12 +0500
|
|
19969
|
+
|
|
19970
|
+
|
|
19971
|
+
Started GET "/assets/underscore.js?body=1" for 127.0.0.1 at 2015-01-28 11:32:12 +0500
|
|
19972
|
+
|
|
19973
|
+
|
|
19974
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-01-28 11:32:12 +0500
|
|
19975
|
+
|
|
19976
|
+
|
|
19977
|
+
Started GET "/assets/base.js?body=1" for 127.0.0.1 at 2015-01-28 11:32:12 +0500
|
|
19978
|
+
|
|
19979
|
+
|
|
19980
|
+
Started GET "/assets/clndr-rails/clndr.min.js?body=1" for 127.0.0.1 at 2015-01-28 11:32:12 +0500
|
|
19981
|
+
|
|
19982
|
+
|
|
19983
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-01-28 11:32:12 +0500
|
|
19984
|
+
|
|
19985
|
+
|
|
19986
|
+
Started GET "/assets/clndr-rails/index.js?body=1" for 127.0.0.1 at 2015-01-28 11:32:12 +0500
|
|
19987
|
+
|
|
19988
|
+
|
|
19989
|
+
Started GET "/assets/moment.js?body=1" for 127.0.0.1 at 2015-01-28 11:32:12 +0500
|
|
19990
|
+
|
|
19991
|
+
|
|
19992
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-01-28 11:32:12 +0500
|
|
19993
|
+
|
|
19994
|
+
|
|
19995
|
+
Started GET "/" for 127.0.0.1 at 2015-01-28 11:32:23 +0500
|
|
19996
|
+
Processing by BaseController#index as HTML
|
|
19997
|
+
Rendered base/index.html.erb within layouts/application (0.0ms)
|
|
19998
|
+
Completed 200 OK in 100ms (Views: 90.0ms | ActiveRecord: 0.0ms)
|
|
19999
|
+
|
|
20000
|
+
|
|
20001
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-01-28 11:32:23 +0500
|
|
20002
|
+
|
|
20003
|
+
|
|
20004
|
+
Started GET "/assets/base.js?body=1" for 127.0.0.1 at 2015-01-28 11:32:23 +0500
|
|
20005
|
+
|
|
20006
|
+
|
|
20007
|
+
Started GET "/assets/clndr-rails.css?body=1" for 127.0.0.1 at 2015-01-28 11:32:23 +0500
|
|
20008
|
+
|
|
20009
|
+
|
|
20010
|
+
Started GET "/assets/base.css?body=1" for 127.0.0.1 at 2015-01-28 11:32:23 +0500
|
|
20011
|
+
|
|
20012
|
+
|
|
20013
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-01-28 11:32:23 +0500
|
|
20014
|
+
|
|
20015
|
+
|
|
20016
|
+
Started GET "/assets/moment.js?body=1" for 127.0.0.1 at 2015-01-28 11:32:23 +0500
|
|
20017
|
+
|
|
20018
|
+
|
|
20019
|
+
Started GET "/assets/underscore.js?body=1" for 127.0.0.1 at 2015-01-28 11:32:23 +0500
|
|
20020
|
+
|
|
20021
|
+
|
|
20022
|
+
Started GET "/assets/clndr-rails/clndr.min.js?body=1" for 127.0.0.1 at 2015-01-28 11:32:23 +0500
|
|
20023
|
+
|
|
20024
|
+
|
|
20025
|
+
Started GET "/assets/clndr-rails/index.js?body=1" for 127.0.0.1 at 2015-01-28 11:32:23 +0500
|
|
20026
|
+
|
|
20027
|
+
|
|
20028
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-01-28 11:32:23 +0500
|
|
20029
|
+
|
|
20030
|
+
|
|
20031
|
+
Started GET "/" for 127.0.0.1 at 2015-01-28 11:33:26 +0500
|
|
20032
|
+
Processing by BaseController#index as HTML
|
|
20033
|
+
Rendered base/index.html.erb within layouts/application (0.0ms)
|
|
20034
|
+
Completed 200 OK in 50ms (Views: 50.0ms | ActiveRecord: 0.0ms)
|
|
20035
|
+
|
|
20036
|
+
|
|
20037
|
+
Started GET "/assets/clndr-rails.css?body=1" for 127.0.0.1 at 2015-01-28 11:33:26 +0500
|
|
20038
|
+
|
|
20039
|
+
|
|
20040
|
+
Started GET "/assets/base.css?body=1" for 127.0.0.1 at 2015-01-28 11:33:26 +0500
|
|
20041
|
+
|
|
20042
|
+
|
|
20043
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-01-28 11:33:26 +0500
|
|
20044
|
+
|
|
20045
|
+
|
|
20046
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-01-28 11:33:26 +0500
|
|
20047
|
+
|
|
20048
|
+
|
|
20049
|
+
Started GET "/assets/base.js?body=1" for 127.0.0.1 at 2015-01-28 11:33:26 +0500
|
|
20050
|
+
|
|
20051
|
+
|
|
20052
|
+
Started GET "/assets/clndr-rails/clndr.min.js?body=1" for 127.0.0.1 at 2015-01-28 11:33:26 +0500
|
|
20053
|
+
|
|
20054
|
+
|
|
20055
|
+
Started GET "/assets/clndr-rails/index.js?body=1" for 127.0.0.1 at 2015-01-28 11:33:26 +0500
|
|
20056
|
+
|
|
20057
|
+
|
|
20058
|
+
Started GET "/assets/moment.js?body=1" for 127.0.0.1 at 2015-01-28 11:33:26 +0500
|
|
20059
|
+
|
|
20060
|
+
|
|
20061
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-01-28 11:33:26 +0500
|
|
20062
|
+
|
|
20063
|
+
|
|
20064
|
+
Started GET "/assets/underscore.js?body=1" for 127.0.0.1 at 2015-01-28 11:33:26 +0500
|
data/test/dummy/log/test.log
CHANGED
|
@@ -14879,3 +14879,189 @@ Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-15 22:21:25 +0500
|
|
|
14879
14879
|
[1m[35m (0.0ms)[0m rollback transaction
|
|
14880
14880
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14881
14881
|
[1m[35m (0.0ms)[0m rollback transaction
|
|
14882
|
+
[1m[36m (22.0ms)[0m [1mbegin transaction[0m
|
|
14883
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14884
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14885
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14886
|
+
[1m[36m (1.0ms)[0m [1mbegin transaction[0m
|
|
14887
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14888
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14889
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
|
14890
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14891
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14892
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14893
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14894
|
+
[1m[36m (1.0ms)[0m [1mbegin transaction[0m
|
|
14895
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14896
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14897
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14898
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14899
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14900
|
+
[1m[36m (1.0ms)[0m [1mbegin transaction[0m
|
|
14901
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14902
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14903
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14904
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14905
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14906
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14907
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14908
|
+
[1m[36m (1.0ms)[0m [1mbegin transaction[0m
|
|
14909
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14910
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14911
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
|
14912
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14913
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14914
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14915
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14916
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14917
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14918
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14919
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14920
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14921
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14922
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14923
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14924
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14925
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14926
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14927
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14928
|
+
[1m[36m (1.0ms)[0m [1mbegin transaction[0m
|
|
14929
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14930
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14931
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14932
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14933
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14934
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14935
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14936
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14937
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14938
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14939
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14940
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14941
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14942
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14943
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14944
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14945
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14946
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14947
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
|
14948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14949
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14950
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14951
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14952
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14953
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14954
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14955
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14956
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14957
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14958
|
+
[1m[36m (1.0ms)[0m [1mbegin transaction[0m
|
|
14959
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14960
|
+
[1m[36m (1.0ms)[0m [1mbegin transaction[0m
|
|
14961
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14962
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14963
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
|
14964
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14965
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14966
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14967
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14968
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14969
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14970
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14971
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14972
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14973
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14974
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14975
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14976
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14977
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14978
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14979
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
|
14980
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14981
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14982
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14983
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14984
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14985
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14986
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14987
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14988
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14989
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14990
|
+
[1m[36m (1.0ms)[0m [1mbegin transaction[0m
|
|
14991
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14992
|
+
[1m[36m (1.0ms)[0m [1mbegin transaction[0m
|
|
14993
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14994
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14995
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14996
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14997
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
14998
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
14999
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15000
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15001
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15002
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15003
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15004
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15005
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15006
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15007
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15008
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15009
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
|
15010
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15011
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
|
15012
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15013
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15014
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15015
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15016
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15017
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15018
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15019
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15020
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15021
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15022
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15023
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15024
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15025
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15026
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15027
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15028
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15029
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15030
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15031
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15032
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15033
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15034
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15035
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15036
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15037
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15038
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15039
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15040
|
+
[1m[36m (1.0ms)[0m [1mbegin transaction[0m
|
|
15041
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15042
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15043
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15044
|
+
[1m[36m (1.0ms)[0m [1mbegin transaction[0m
|
|
15045
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15046
|
+
[1m[36m (1.0ms)[0m [1mbegin transaction[0m
|
|
15047
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15048
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15049
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15050
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15051
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15052
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15053
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15054
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15055
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15056
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15057
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15058
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15059
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
|
15060
|
+
[1m[36m (1.0ms)[0m [1mbegin transaction[0m
|
|
15061
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15062
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15063
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15064
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15065
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
15066
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
15067
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! clndr.min.js v1.2.
|
|
2
|
-
!function(a){"function"==typeof define&&define.amd?define(["jquery","moment"],a):"object"==typeof exports?a(require("jquery"),require("moment")):a(jQuery,moment)}(function(a,b){function c(c,d){if(this.element=c,this.options=a.extend(!0,{},f,d),this.options.events.length&&(this.options.events=this.options.multiDayEvents?this.addMultiDayMomentObjectsToEvents(this.options.events):this.addMomentObjectToEvents(this.options.events)),this.month=this.options.startWithMonth?b(this.options.startWithMonth).startOf("month"):b().startOf("month"),this.options.constraints){if(this.options.constraints.startDate){var g=b(this.options.constraints.startDate);this.month.isBefore(g,"month")&&(this.month.set("month",g.month()),this.month.set("year",g.year()))}if(this.options.constraints.endDate){var h=b(this.options.constraints.endDate);this.month.isAfter(h,"month")&&this.month.set("month",h.month()).set("year",h.year())}}this._defaults=f,this._name=e,this.init()}var d="<div class='clndr-controls'><div class='clndr-control-button'><span class='clndr-previous-button'>previous</span></div><div class='month'><%= month %> <%= year %></div><div class='clndr-control-button rightalign'><span class='clndr-next-button'>next</span></div></div><table class='clndr-table' border='0' cellspacing='0' cellpadding='0'><thead><tr class='header-days'><% for(var i = 0; i < daysOfTheWeek.length; i++) { %><td class='header-day'><%= daysOfTheWeek[i] %></td><% } %></tr></thead><tbody><% for(var i = 0; i < numberOfRows; i++){ %><tr><% for(var j = 0; j < 7; j++){ %><% var d = j + i * 7; %><td class='<%= days[d].classes %>'><div class='day-contents'><%= days[d].day %></div></td><% } %></tr><% } %></tbody></table>",e="clndr",f={template:d,weekOffset:0,startWithMonth:null,clickEvents:{click:null,nextMonth:null,previousMonth:null,nextYear:null,previousYear:null,today:null,onMonthChange:null,onYearChange:null},targets:{nextButton:"clndr-next-button",previousButton:"clndr-previous-button",nextYearButton:"clndr-next-year-button",previousYearButton:"clndr-previous-year-button",todayButton:"clndr-today-button",day:"day",empty:"empty"},classes:{today:"today",event:"event",past:"past",lastMonth:"last-month",nextMonth:"next-month",adjacentMonth:"adjacent-month",inactive:"inactive"},events:[],extras:null,dateParameter:"date",multiDayEvents:null,doneRendering:null,render:null,daysOfTheWeek:null,showAdjacentMonths:!0,adjacentDaysChangeMonth:!1,ready:null,constraints:null,forceSixRows:null};c.prototype.init=function(){if(this.daysOfTheWeek=this.options.daysOfTheWeek||[],!this.options.daysOfTheWeek){this.daysOfTheWeek=[];for(var c=0;7>c;c++)this.daysOfTheWeek.push(b().weekday(c).format("dd").charAt(0))}if(this.options.weekOffset&&(this.daysOfTheWeek=this.shiftWeekdayLabels(this.options.weekOffset)),!a.isFunction(this.options.render)){if(this.options.render=null,"undefined"==typeof _)throw new Error("Underscore was not found. Please include underscore.js OR provide a custom render function.");this.compiledClndrTemplate=_.template(this.options.template)}a(this.element).html("<div class='clndr'></div>"),this.calendarContainer=a(".clndr",this.element),this.bindEvents(),this.render(),this.options.ready&&this.options.ready.apply(this,[])},c.prototype.shiftWeekdayLabels=function(a){for(var b=this.daysOfTheWeek,c=0;a>c;c++)b.push(b.shift());return b},c.prototype.createDaysObject=function(c){daysArray=[];var d=c.startOf("month");if(this.eventsLastMonth=[],this.eventsThisMonth=[],this.eventsNextMonth=[],this.options.events.length)if(this.options.multiDayEvents){if(this.eventsThisMonth=a(this.options.events).filter(function(){return this._clndrStartDateObject.format("YYYY-MM")===c.format("YYYY-MM")||this._clndrEndDateObject.format("YYYY-MM")===c.format("YYYY-MM")?!0:this._clndrStartDateObject.format("YYYY-MM")<=c.format("YYYY-MM")&&this._clndrEndDateObject.format("YYYY-MM")>=c.format("YYYY-MM")?!0:!1}).toArray(),this.options.showAdjacentMonths){var e=c.clone().subtract(1,"months"),f=c.clone().add(1,"months");this.eventsLastMonth=a(this.options.events).filter(function(){return this._clndrStartDateObject.format("YYYY-MM")===e.format("YYYY-MM")||this._clndrEndDateObject.format("YYYY-MM")===e.format("YYYY-MM")?!0:this._clndrStartDateObject.format("YYYY-MM")<=e.format("YYYY-MM")&&this._clndrEndDateObject.format("YYYY-MM")>=e.format("YYYY-MM")?!0:!1}).toArray(),this.eventsNextMonth=a(this.options.events).filter(function(){return this._clndrStartDateObject.format("YYYY-MM")===f.format("YYYY-MM")||this._clndrEndDateObject.format("YYYY-MM")===f.format("YYYY-MM")?!0:this._clndrStartDateObject.format("YYYY-MM")<=f.format("YYYY-MM")&&this._clndrEndDateObject.format("YYYY-MM")>=f.format("YYYY-MM")?!0:!1}).toArray()}}else if(this.eventsThisMonth=a(this.options.events).filter(function(){return this._clndrDateObject.format("YYYY-MM")==c.format("YYYY-MM")}).toArray(),this.options.showAdjacentMonths){var e=c.clone().subtract(1,"months"),f=c.clone().add(1,"months");this.eventsLastMonth=a(this.options.events).filter(function(){return this._clndrDateObject.format("YYYY-MM")==e.format("YYYY-MM")}).toArray(),this.eventsNextMonth=a(this.options.events).filter(function(){return this._clndrDateObject.format("YYYY-MM")==f.format("YYYY-MM")}).toArray()}var g=d.weekday()-this.options.weekOffset;if(0>g&&(g+=7),this.options.showAdjacentMonths)for(var h=0;g>h;h++){var i=b([c.year(),c.month(),h-g+1]);daysArray.push(this.createDayObject(i,this.eventsLastMonth))}else for(var h=0;g>h;h++)daysArray.push(this.calendarDay({classes:this.options.targets.empty+" "+this.options.classes.lastMonth}));for(var j=d.daysInMonth(),h=1;j>=h;h++){var i=b([c.year(),c.month(),h]);daysArray.push(this.createDayObject(i,this.eventsThisMonth))}for(var h=1;daysArray.length%7!==0;){if(this.options.showAdjacentMonths){var i=b([c.year(),c.month(),j+h]);daysArray.push(this.createDayObject(i,this.eventsNextMonth))}else daysArray.push(this.calendarDay({classes:this.options.targets.empty+" "+this.options.classes.nextMonth}));h++}if(this.options.forceSixRows&&42!==daysArray.length)for(var k=b(daysArray[daysArray.length-1].date).add(1,"days");daysArray.length<42;)this.options.showAdjacentMonths?(daysArray.push(this.createDayObject(b(k),this.eventsNextMonth)),k.add(1,"days")):daysArray.push(this.calendarDay({classes:this.options.targets.empty+" "+this.options.classes.nextMonth}));return daysArray},c.prototype.createDayObject=function(a,c){var d=[],e=b(),f=this,g=0,h=c.length;for(g;h>g;g++)if(f.options.multiDayEvents){var i=c[g]._clndrStartDateObject,j=c[g]._clndrEndDateObject;(a.isSame(i,"day")||a.isAfter(i,"day"))&&(a.isSame(j,"day")||a.isBefore(j,"day"))&&d.push(c[g])}else c[g]._clndrDateObject.date()==a.date()&&d.push(c[g]);var k="";return e.format("YYYY-MM-DD")==a.format("YYYY-MM-DD")&&(k+=" "+this.options.classes.today),a.isBefore(e,"day")&&(k+=" "+this.options.classes.past),d.length&&(k+=" "+this.options.classes.event),this.month.month()>a.month()?(k+=" "+this.options.classes.adjacentMonth,k+=this.month.year()===a.year()?" "+this.options.classes.lastMonth:" "+this.options.classes.nextMonth):this.month.month()<a.month()&&(k+=" "+this.options.classes.adjacentMonth,k+=this.month.year()===a.year()?" "+this.options.classes.nextMonth:" "+this.options.classes.lastMonth),this.options.constraints&&(this.options.constraints.startDate&&a.isBefore(b(this.options.constraints.startDate))&&(k+=" "+this.options.classes.inactive),this.options.constraints.endDate&&a.isAfter(b(this.options.constraints.endDate))&&(k+=" "+this.options.classes.inactive)),!a.isValid()&&a.hasOwnProperty("_d")&&void 0!=a._d&&(a=b(a._d)),k+=" calendar-day-"+a.format("YYYY-MM-DD"),k+=" calendar-dow-"+a.weekday(),this.calendarDay({day:a.date(),classes:this.options.targets.day+k,events:d,date:a})},c.prototype.render=function(){this.calendarContainer.children().remove();var a=this.createDaysObject(this.month),c=(this.month,{daysOfTheWeek:this.daysOfTheWeek,numberOfRows:Math.ceil(a.length/7),days:a,month:this.month.format("MMMM"),year:this.month.year(),eventsThisMonth:this.eventsThisMonth,eventsLastMonth:this.eventsLastMonth,eventsNextMonth:this.eventsNextMonth,extras:this.options.extras});if(this.calendarContainer.html(this.options.render?this.options.render.apply(this,[c]):this.compiledClndrTemplate(c)),this.options.constraints){for(var d in this.options.targets)d!=this.options.targets.day&&this.element.find("."+this.options.targets[d]).toggleClass(this.options.classes.inactive,!1);var e=null,f=null;this.options.constraints.startDate&&(e=b(this.options.constraints.startDate)),this.options.constraints.endDate&&(f=b(this.options.constraints.endDate)),e&&this.month.isSame(e,"month")&&this.element.find("."+this.options.targets.previousButton).toggleClass(this.options.classes.inactive,!0),f&&this.month.isSame(f,"month")&&this.element.find("."+this.options.targets.nextButton).toggleClass(this.options.classes.inactive,!0),e&&b(e).subtract(1,"years").isBefore(b(this.month).subtract(1,"years"))&&this.element.find("."+this.options.targets.previousYearButton).toggleClass(this.options.classes.inactive,!0),f&&b(f).add(1,"years").isAfter(b(this.month).add(1,"years"))&&this.element.find("."+this.options.targets.nextYearButton).toggleClass(this.options.classes.inactive,!0),(e&&e.isAfter(b(),"month")||f&&f.isBefore(b(),"month"))&&this.element.find("."+this.options.targets.today).toggleClass(this.options.classes.inactive,!0)}this.options.doneRendering&&this.options.doneRendering.apply(this,[])},c.prototype.bindEvents=function(){var b=a(this.element),c=this;b.on("click","."+this.options.targets.day,function(b){if(c.options.clickEvents.click){var d=c.buildTargetObject(b.currentTarget,!0);c.options.clickEvents.click.apply(c,[d])}c.options.adjacentDaysChangeMonth&&(a(b.currentTarget).is("."+c.options.classes.lastMonth)?c.backActionWithContext(c):a(b.currentTarget).is("."+c.options.classes.nextMonth)&&c.forwardActionWithContext(c))}),b.on("click","."+this.options.targets.empty,function(b){if(c.options.clickEvents.click){var d=c.buildTargetObject(b.currentTarget,!1);c.options.clickEvents.click.apply(c,[d])}c.options.adjacentDaysChangeMonth&&(a(b.currentTarget).is("."+c.options.classes.lastMonth)?c.backActionWithContext(c):a(b.currentTarget).is("."+c.options.classes.nextMonth)&&c.forwardActionWithContext(c))}),b.on("click","."+this.options.targets.previousButton,{context:this},this.backAction).on("click","."+this.options.targets.nextButton,{context:this},this.forwardAction).on("click","."+this.options.targets.todayButton,{context:this},this.todayAction).on("click","."+this.options.targets.nextYearButton,{context:this},this.nextYearAction).on("click","."+this.options.targets.previousYearButton,{context:this},this.previousYearAction)},c.prototype.buildTargetObject=function(c,d){var e={element:c,events:[],date:null};if(d){var f,g=c.className.indexOf("calendar-day-");0!==g?(f=c.className.substring(g+13,g+23),e.date=b(f)):e.date=null,this.options.events&&(e.events=a.makeArray(this.options.multiDayEvents?a(this.options.events).filter(function(){return(e.date.isSame(this._clndrStartDateObject,"day")||e.date.isAfter(this._clndrStartDateObject,"day"))&&(e.date.isSame(this._clndrEndDateObject,"day")||e.date.isBefore(this._clndrEndDateObject,"day"))}):a(this.options.events).filter(function(){return this._clndrDateObject.format("YYYY-MM-DD")==f})))}return e},c.prototype.forwardAction=function(a){var b=a.data.context;b.forwardActionWithContext(b)},c.prototype.backAction=function(a){var b=a.data.context;b.backActionWithContext(b)},c.prototype.backActionWithContext=function(a){if(!a.element.find("."+a.options.targets.previousButton).hasClass("inactive")){var c=!a.month.isSame(b(a.month).subtract(1,"months"),"year");a.month.subtract(1,"months"),a.render(),a.options.clickEvents.previousMonth&&a.options.clickEvents.previousMonth.apply(a,[b(a.month)]),a.options.clickEvents.onMonthChange&&a.options.clickEvents.onMonthChange.apply(a,[b(a.month)]),c&&a.options.clickEvents.onYearChange&&a.options.clickEvents.onYearChange.apply(a,[b(a.month)])}},c.prototype.forwardActionWithContext=function(a){if(!a.element.find("."+a.options.targets.nextButton).hasClass("inactive")){var c=!a.month.isSame(b(a.month).add(1,"months"),"year");a.month.add(1,"months"),a.render(),a.options.clickEvents.nextMonth&&a.options.clickEvents.nextMonth.apply(a,[b(a.month)]),a.options.clickEvents.onMonthChange&&a.options.clickEvents.onMonthChange.apply(a,[b(a.month)]),c&&a.options.clickEvents.onYearChange&&a.options.clickEvents.onYearChange.apply(a,[b(a.month)])}},c.prototype.todayAction=function(a){var c=a.data.context,d=!c.month.isSame(b(),"month"),e=!c.month.isSame(b(),"year");c.month=b().startOf("month"),c.options.clickEvents.today&&c.options.clickEvents.today.apply(c,[b(c.month)]),d&&(c.render(),c.month=b(),c.options.clickEvents.onMonthChange&&c.options.clickEvents.onMonthChange.apply(c,[b(c.month)]),e&&c.options.clickEvents.onYearChange&&c.options.clickEvents.onYearChange.apply(c,[b(c.month)]))},c.prototype.nextYearAction=function(a){var c=a.data.context;c.element.find("."+c.options.targets.nextYearButton).hasClass("inactive")||(c.month.add(1,"years"),c.render(),c.options.clickEvents.nextYear&&c.options.clickEvents.nextYear.apply(c,[b(c.month)]),c.options.clickEvents.onMonthChange&&c.options.clickEvents.onMonthChange.apply(c,[b(c.month)]),c.options.clickEvents.onYearChange&&c.options.clickEvents.onYearChange.apply(c,[b(c.month)]))},c.prototype.previousYearAction=function(a){var c=a.data.context;c.element.find("."+c.options.targets.previousYear).hasClass("inactive")||(c.month.subtract(1,"years"),c.render(),c.options.clickEvents.previousYear&&c.options.clickEvents.previousYear.apply(c,[b(c.month)]),c.options.clickEvents.onMonthChange&&c.options.clickEvents.onMonthChange.apply(c,[b(c.month)]),c.options.clickEvents.onYearChange&&c.options.clickEvents.onYearChange.apply(c,[b(c.month)]))},c.prototype.forward=function(a){return this.month.add(1,"months"),this.render(),a&&a.withCallbacks&&(this.options.clickEvents.onMonthChange&&this.options.clickEvents.onMonthChange.apply(this,[b(this.month)]),0===this.month.month()&&this.options.clickEvents.onYearChange&&this.options.clickEvents.onYearChange.apply(this,[b(this.month)])),this},c.prototype.back=function(a){return this.month.subtract(1,"months"),this.render(),a&&a.withCallbacks&&(this.options.clickEvents.onMonthChange&&this.options.clickEvents.onMonthChange.apply(this,[b(this.month)]),11===this.month.month()&&this.options.clickEvents.onYearChange&&this.options.clickEvents.onYearChange.apply(this,[b(this.month)])),this},c.prototype.next=function(a){return this.forward(a),this},c.prototype.previous=function(a){return this.back(a),this},c.prototype.setMonth=function(a,c){return this.month.month(a),this.render(),c&&c.withCallbacks&&this.options.clickEvents.onMonthChange&&this.options.clickEvents.onMonthChange.apply(this,[b(this.month)]),this},c.prototype.nextYear=function(a){return this.month.add(1,"year"),this.render(),a&&a.withCallbacks&&this.options.clickEvents.onYearChange&&this.options.clickEvents.onYearChange.apply(this,[b(this.month)]),this},c.prototype.previousYear=function(a){return this.month.subtract(1,"year"),this.render(),a&&a.withCallbacks&&this.options.clickEvents.onYearChange&&this.options.clickEvents.onYearChange.apply(this,[b(this.month)]),this},c.prototype.setYear=function(a,c){return this.month.year(a),this.render(),c&&c.withCallbacks&&this.options.clickEvents.onYearChange&&this.options.clickEvents.onYearChange.apply(this,[b(this.month)]),this},c.prototype.setEvents=function(a){return this.options.events=this.options.multiDayEvents?this.addMultiDayMomentObjectsToEvents(a):this.addMomentObjectToEvents(a),this.render(),this},c.prototype.addEvents=function(b){return this.options.events=this.options.multiDayEvents?a.merge(this.options.events,this.addMultiDayMomentObjectsToEvents(b)):a.merge(this.options.events,this.addMomentObjectToEvents(b)),this.render(),this},c.prototype.removeEvents=function(a){for(var b=this.options.events.length-1;b>=0;b--)1==a(this.options.events[b])&&this.options.events.splice(b,1);return this.render(),this},c.prototype.addMomentObjectToEvents=function(a){var c=this,d=0,e=a.length;for(d;e>d;d++)a[d]._clndrDateObject=b(a[d][c.options.dateParameter]);return a},c.prototype.addMultiDayMomentObjectsToEvents=function(a){var c=this,d=0,e=a.length;for(d;e>d;d++)a[d]._clndrStartDateObject=b(a[d][c.options.multiDayEvents.startDate]),a[d]._clndrEndDateObject=b(a[d][c.options.multiDayEvents.endDate]);return a},c.prototype.calendarDay=function(b){var c={day:"",classes:this.options.targets.empty,events:[],date:null};return a.extend({},c,b)},a.fn.clndr=function(a){if(1===this.length){if(!this.data("plugin_clndr")){var b=new c(this,a);return this.data("plugin_clndr",b),b}}else if(this.length>1)throw new Error("CLNDR does not support multiple elements yet. Make sure your clndr selector returns only one element.")}});
|
|
1
|
+
/*! clndr.min.js v1.2.7 2015-01-21 */
|
|
2
|
+
!function(a){"function"==typeof define&&define.amd?define(["jquery","moment"],a):"object"==typeof exports?a(require("jquery"),require("moment")):a(jQuery,moment)}(function(a,b){function c(c,d){if(this.element=c,this.options=a.extend(!0,{},f,d),this.options.events.length&&(this.options.events=this.options.multiDayEvents?this.addMultiDayMomentObjectsToEvents(this.options.events):this.addMomentObjectToEvents(this.options.events)),this.month=this.options.startWithMonth?b(this.options.startWithMonth).startOf("month"):b().startOf("month"),this.options.constraints){if(this.options.constraints.startDate){var g=b(this.options.constraints.startDate);this.month.isBefore(g,"month")&&(this.month.set("month",g.month()),this.month.set("year",g.year()))}if(this.options.constraints.endDate){var h=b(this.options.constraints.endDate);this.month.isAfter(h,"month")&&this.month.set("month",h.month()).set("year",h.year())}}this._defaults=f,this._name=e,this.init()}var d="<div class='clndr-controls'><div class='clndr-control-button'><span class='clndr-previous-button'>previous</span></div><div class='month'><%= month %> <%= year %></div><div class='clndr-control-button rightalign'><span class='clndr-next-button'>next</span></div></div><table class='clndr-table' border='0' cellspacing='0' cellpadding='0'><thead><tr class='header-days'><% for(var i = 0; i < daysOfTheWeek.length; i++) { %><td class='header-day'><%= daysOfTheWeek[i] %></td><% } %></tr></thead><tbody><% for(var i = 0; i < numberOfRows; i++){ %><tr><% for(var j = 0; j < 7; j++){ %><% var d = j + i * 7; %><td class='<%= days[d].classes %>'><div class='day-contents'><%= days[d].day %></div></td><% } %></tr><% } %></tbody></table>",e="clndr",f={template:d,weekOffset:0,startWithMonth:null,clickEvents:{click:null,nextMonth:null,previousMonth:null,nextYear:null,previousYear:null,today:null,onMonthChange:null,onYearChange:null},targets:{nextButton:"clndr-next-button",previousButton:"clndr-previous-button",nextYearButton:"clndr-next-year-button",previousYearButton:"clndr-previous-year-button",todayButton:"clndr-today-button",day:"day",empty:"empty"},classes:{today:"today",event:"event",past:"past",lastMonth:"last-month",nextMonth:"next-month",adjacentMonth:"adjacent-month",inactive:"inactive"},events:[],extras:null,dateParameter:"date",multiDayEvents:null,doneRendering:null,render:null,daysOfTheWeek:null,showAdjacentMonths:!0,adjacentDaysChangeMonth:!1,ready:null,constraints:null,forceSixRows:null};c.prototype.init=function(){if(this.daysOfTheWeek=this.options.daysOfTheWeek||[],!this.options.daysOfTheWeek){this.daysOfTheWeek=[];for(var c=0;7>c;c++)this.daysOfTheWeek.push(b().weekday(c).format("dd").charAt(0))}if(this.options.weekOffset&&(this.daysOfTheWeek=this.shiftWeekdayLabels(this.options.weekOffset)),!a.isFunction(this.options.render)){if(this.options.render=null,"undefined"==typeof _)throw new Error("Underscore was not found. Please include underscore.js OR provide a custom render function.");this.compiledClndrTemplate=_.template(this.options.template)}a(this.element).html("<div class='clndr'></div>"),this.calendarContainer=a(".clndr",this.element),this.bindEvents(),this.render(),this.options.ready&&this.options.ready.apply(this,[])},c.prototype.shiftWeekdayLabels=function(a){for(var b=this.daysOfTheWeek,c=0;a>c;c++)b.push(b.shift());return b},c.prototype.createDaysObject=function(c){daysArray=[];var d=c.startOf("month");if(this.eventsLastMonth=[],this.eventsThisMonth=[],this.eventsNextMonth=[],this.options.events.length)if(this.options.multiDayEvents){if(this.eventsThisMonth=a(this.options.events).filter(function(){return this._clndrStartDateObject.format("YYYY-MM")===c.format("YYYY-MM")||this._clndrEndDateObject.format("YYYY-MM")===c.format("YYYY-MM")?!0:this._clndrStartDateObject.format("YYYY-MM")<=c.format("YYYY-MM")&&this._clndrEndDateObject.format("YYYY-MM")>=c.format("YYYY-MM")?!0:!1}).toArray(),this.options.showAdjacentMonths){var e=c.clone().subtract(1,"months"),f=c.clone().add(1,"months");this.eventsLastMonth=a(this.options.events).filter(function(){return this._clndrStartDateObject.format("YYYY-MM")===e.format("YYYY-MM")||this._clndrEndDateObject.format("YYYY-MM")===e.format("YYYY-MM")?!0:this._clndrStartDateObject.format("YYYY-MM")<=e.format("YYYY-MM")&&this._clndrEndDateObject.format("YYYY-MM")>=e.format("YYYY-MM")?!0:!1}).toArray(),this.eventsNextMonth=a(this.options.events).filter(function(){return this._clndrStartDateObject.format("YYYY-MM")===f.format("YYYY-MM")||this._clndrEndDateObject.format("YYYY-MM")===f.format("YYYY-MM")?!0:this._clndrStartDateObject.format("YYYY-MM")<=f.format("YYYY-MM")&&this._clndrEndDateObject.format("YYYY-MM")>=f.format("YYYY-MM")?!0:!1}).toArray()}}else if(this.eventsThisMonth=a(this.options.events).filter(function(){return this._clndrDateObject.format("YYYY-MM")==c.format("YYYY-MM")}).toArray(),this.options.showAdjacentMonths){var e=c.clone().subtract(1,"months"),f=c.clone().add(1,"months");this.eventsLastMonth=a(this.options.events).filter(function(){return this._clndrDateObject.format("YYYY-MM")==e.format("YYYY-MM")}).toArray(),this.eventsNextMonth=a(this.options.events).filter(function(){return this._clndrDateObject.format("YYYY-MM")==f.format("YYYY-MM")}).toArray()}var g=d.weekday()-this.options.weekOffset;if(0>g&&(g+=7),this.options.showAdjacentMonths)for(var h=0;g>h;h++){var i=b([c.year(),c.month(),h-g+1]);daysArray.push(this.createDayObject(i,this.eventsLastMonth))}else for(var h=0;g>h;h++)daysArray.push(this.calendarDay({classes:this.options.targets.empty+" "+this.options.classes.lastMonth}));for(var j=d.daysInMonth(),h=1;j>=h;h++){var i=b([c.year(),c.month(),h]);daysArray.push(this.createDayObject(i,this.eventsThisMonth))}for(var h=1;daysArray.length%7!==0;){if(this.options.showAdjacentMonths){var i=b([c.year(),c.month(),j+h]);daysArray.push(this.createDayObject(i,this.eventsNextMonth))}else daysArray.push(this.calendarDay({classes:this.options.targets.empty+" "+this.options.classes.nextMonth}));h++}if(this.options.forceSixRows&&42!==daysArray.length)for(var k=b(daysArray[daysArray.length-1].date).add(1,"days");daysArray.length<42;)this.options.showAdjacentMonths?(daysArray.push(this.createDayObject(b(k),this.eventsNextMonth)),k.add(1,"days")):daysArray.push(this.calendarDay({classes:this.options.targets.empty+" "+this.options.classes.nextMonth}));return daysArray},c.prototype.createDayObject=function(a,c){var d=[],e=b(),f=this,g=0,h=c.length;for(g;h>g;g++)if(f.options.multiDayEvents){var i=c[g]._clndrStartDateObject,j=c[g]._clndrEndDateObject;(a.isSame(i,"day")||a.isAfter(i,"day"))&&(a.isSame(j,"day")||a.isBefore(j,"day"))&&d.push(c[g])}else c[g]._clndrDateObject.date()==a.date()&&d.push(c[g]);var k="";return e.format("YYYY-MM-DD")==a.format("YYYY-MM-DD")&&(k+=" "+this.options.classes.today),a.isBefore(e,"day")&&(k+=" "+this.options.classes.past),d.length&&(k+=" "+this.options.classes.event),this.month.month()>a.month()?(k+=" "+this.options.classes.adjacentMonth,k+=this.month.year()===a.year()?" "+this.options.classes.lastMonth:" "+this.options.classes.nextMonth):this.month.month()<a.month()&&(k+=" "+this.options.classes.adjacentMonth,k+=this.month.year()===a.year()?" "+this.options.classes.nextMonth:" "+this.options.classes.lastMonth),this.options.constraints&&(this.options.constraints.startDate&&a.isBefore(b(this.options.constraints.startDate))&&(k+=" "+this.options.classes.inactive),this.options.constraints.endDate&&a.isAfter(b(this.options.constraints.endDate))&&(k+=" "+this.options.classes.inactive)),!a.isValid()&&a.hasOwnProperty("_d")&&void 0!=a._d&&(a=b(a._d)),k+=" calendar-day-"+a.format("YYYY-MM-DD"),k+=" calendar-dow-"+a.weekday(),this.calendarDay({day:a.date(),classes:this.options.targets.day+k,events:d,date:a})},c.prototype.render=function(){this.calendarContainer.children().remove();var a=this.createDaysObject(this.month),c=(this.month,{daysOfTheWeek:this.daysOfTheWeek,numberOfRows:Math.ceil(a.length/7),days:a,month:this.month.format("MMMM"),year:this.month.year(),eventsThisMonth:this.eventsThisMonth,eventsLastMonth:this.eventsLastMonth,eventsNextMonth:this.eventsNextMonth,extras:this.options.extras});if(this.calendarContainer.html(this.options.render?this.options.render.apply(this,[c]):this.compiledClndrTemplate(c)),this.options.constraints){for(var d in this.options.targets)d!=this.options.targets.day&&this.element.find("."+this.options.targets[d]).toggleClass(this.options.classes.inactive,!1);var e=null,f=null;this.options.constraints.startDate&&(e=b(this.options.constraints.startDate)),this.options.constraints.endDate&&(f=b(this.options.constraints.endDate)),e&&this.month.isSame(e,"month")&&this.element.find("."+this.options.targets.previousButton).toggleClass(this.options.classes.inactive,!0),f&&this.month.isSame(f,"month")&&this.element.find("."+this.options.targets.nextButton).toggleClass(this.options.classes.inactive,!0),e&&b(e).subtract(1,"years").isBefore(b(this.month).subtract(1,"years"))&&this.element.find("."+this.options.targets.previousYearButton).toggleClass(this.options.classes.inactive,!0),f&&b(f).add(1,"years").isAfter(b(this.month).add(1,"years"))&&this.element.find("."+this.options.targets.nextYearButton).toggleClass(this.options.classes.inactive,!0),(e&&e.isAfter(b(),"month")||f&&f.isBefore(b(),"month"))&&this.element.find("."+this.options.targets.today).toggleClass(this.options.classes.inactive,!0)}this.options.doneRendering&&this.options.doneRendering.apply(this,[])},c.prototype.bindEvents=function(){var b=a(this.element),c=this;b.on("click","."+this.options.targets.day,function(b){if(c.options.clickEvents.click){var d=c.buildTargetObject(b.currentTarget,!0);c.options.clickEvents.click.apply(c,[d])}c.options.adjacentDaysChangeMonth&&(a(b.currentTarget).is("."+c.options.classes.lastMonth)?c.backActionWithContext(c):a(b.currentTarget).is("."+c.options.classes.nextMonth)&&c.forwardActionWithContext(c))}),b.on("click","."+this.options.targets.empty,function(b){if(c.options.clickEvents.click){var d=c.buildTargetObject(b.currentTarget,!1);c.options.clickEvents.click.apply(c,[d])}c.options.adjacentDaysChangeMonth&&(a(b.currentTarget).is("."+c.options.classes.lastMonth)?c.backActionWithContext(c):a(b.currentTarget).is("."+c.options.classes.nextMonth)&&c.forwardActionWithContext(c))}),b.on("click","."+this.options.targets.previousButton,{context:this},this.backAction).on("click","."+this.options.targets.nextButton,{context:this},this.forwardAction).on("click","."+this.options.targets.todayButton,{context:this},this.todayAction).on("click","."+this.options.targets.nextYearButton,{context:this},this.nextYearAction).on("click","."+this.options.targets.previousYearButton,{context:this},this.previousYearAction)},c.prototype.buildTargetObject=function(c,d){var e={element:c,events:[],date:null};if(d){var f,g=c.className.indexOf("calendar-day-");0!==g?(f=c.className.substring(g+13,g+23),e.date=b(f)):e.date=null,this.options.events&&(e.events=a.makeArray(this.options.multiDayEvents?a(this.options.events).filter(function(){return(e.date.isSame(this._clndrStartDateObject,"day")||e.date.isAfter(this._clndrStartDateObject,"day"))&&(e.date.isSame(this._clndrEndDateObject,"day")||e.date.isBefore(this._clndrEndDateObject,"day"))}):a(this.options.events).filter(function(){return this._clndrDateObject.format("YYYY-MM-DD")==f})))}return e},c.prototype.forwardAction=function(a){var b=a.data.context;b.forwardActionWithContext(b)},c.prototype.backAction=function(a){var b=a.data.context;b.backActionWithContext(b)},c.prototype.backActionWithContext=function(a){if(!a.element.find("."+a.options.targets.previousButton).hasClass("inactive")){var c=!a.month.isSame(b(a.month).subtract(1,"months"),"year");a.month.subtract(1,"months"),a.render(),a.options.clickEvents.previousMonth&&a.options.clickEvents.previousMonth.apply(a,[b(a.month)]),a.options.clickEvents.onMonthChange&&a.options.clickEvents.onMonthChange.apply(a,[b(a.month)]),c&&a.options.clickEvents.onYearChange&&a.options.clickEvents.onYearChange.apply(a,[b(a.month)])}},c.prototype.forwardActionWithContext=function(a){if(!a.element.find("."+a.options.targets.nextButton).hasClass("inactive")){var c=!a.month.isSame(b(a.month).add(1,"months"),"year");a.month.add(1,"months"),a.render(),a.options.clickEvents.nextMonth&&a.options.clickEvents.nextMonth.apply(a,[b(a.month)]),a.options.clickEvents.onMonthChange&&a.options.clickEvents.onMonthChange.apply(a,[b(a.month)]),c&&a.options.clickEvents.onYearChange&&a.options.clickEvents.onYearChange.apply(a,[b(a.month)])}},c.prototype.todayAction=function(a){var c=a.data.context,d=!c.month.isSame(b(),"month"),e=!c.month.isSame(b(),"year");c.month=b().startOf("month"),c.options.clickEvents.today&&c.options.clickEvents.today.apply(c,[b(c.month)]),d&&(c.render(),c.month=b(),c.options.clickEvents.onMonthChange&&c.options.clickEvents.onMonthChange.apply(c,[b(c.month)]),e&&c.options.clickEvents.onYearChange&&c.options.clickEvents.onYearChange.apply(c,[b(c.month)]))},c.prototype.nextYearAction=function(a){var c=a.data.context;c.element.find("."+c.options.targets.nextYearButton).hasClass("inactive")||(c.month.add(1,"years"),c.render(),c.options.clickEvents.nextYear&&c.options.clickEvents.nextYear.apply(c,[b(c.month)]),c.options.clickEvents.onMonthChange&&c.options.clickEvents.onMonthChange.apply(c,[b(c.month)]),c.options.clickEvents.onYearChange&&c.options.clickEvents.onYearChange.apply(c,[b(c.month)]))},c.prototype.previousYearAction=function(a){var c=a.data.context;c.element.find("."+c.options.targets.previousYear).hasClass("inactive")||(c.month.subtract(1,"years"),c.render(),c.options.clickEvents.previousYear&&c.options.clickEvents.previousYear.apply(c,[b(c.month)]),c.options.clickEvents.onMonthChange&&c.options.clickEvents.onMonthChange.apply(c,[b(c.month)]),c.options.clickEvents.onYearChange&&c.options.clickEvents.onYearChange.apply(c,[b(c.month)]))},c.prototype.forward=function(a){return this.month.add(1,"months"),this.render(),a&&a.withCallbacks&&(this.options.clickEvents.onMonthChange&&this.options.clickEvents.onMonthChange.apply(this,[b(this.month)]),0===this.month.month()&&this.options.clickEvents.onYearChange&&this.options.clickEvents.onYearChange.apply(this,[b(this.month)])),this},c.prototype.back=function(a){return this.month.subtract(1,"months"),this.render(),a&&a.withCallbacks&&(this.options.clickEvents.onMonthChange&&this.options.clickEvents.onMonthChange.apply(this,[b(this.month)]),11===this.month.month()&&this.options.clickEvents.onYearChange&&this.options.clickEvents.onYearChange.apply(this,[b(this.month)])),this},c.prototype.next=function(a){return this.forward(a),this},c.prototype.previous=function(a){return this.back(a),this},c.prototype.setMonth=function(a,c){return this.month.month(a),this.render(),c&&c.withCallbacks&&this.options.clickEvents.onMonthChange&&this.options.clickEvents.onMonthChange.apply(this,[b(this.month)]),this},c.prototype.nextYear=function(a){return this.month.add(1,"year"),this.render(),a&&a.withCallbacks&&this.options.clickEvents.onYearChange&&this.options.clickEvents.onYearChange.apply(this,[b(this.month)]),this},c.prototype.previousYear=function(a){return this.month.subtract(1,"year"),this.render(),a&&a.withCallbacks&&this.options.clickEvents.onYearChange&&this.options.clickEvents.onYearChange.apply(this,[b(this.month)]),this},c.prototype.setYear=function(a,c){return this.month.year(a),this.render(),c&&c.withCallbacks&&this.options.clickEvents.onYearChange&&this.options.clickEvents.onYearChange.apply(this,[b(this.month)]),this},c.prototype.setEvents=function(a){return this.options.events=this.options.multiDayEvents?this.addMultiDayMomentObjectsToEvents(a):this.addMomentObjectToEvents(a),this.render(),this},c.prototype.addEvents=function(b){return this.options.events=this.options.multiDayEvents?a.merge(this.options.events,this.addMultiDayMomentObjectsToEvents(b)):a.merge(this.options.events,this.addMomentObjectToEvents(b)),this.render(),this},c.prototype.removeEvents=function(a){for(var b=this.options.events.length-1;b>=0;b--)1==a(this.options.events[b])&&this.options.events.splice(b,1);return this.render(),this},c.prototype.addMomentObjectToEvents=function(a){var c=this,d=0,e=a.length;for(d;e>d;d++)a[d]._clndrDateObject=b(a[d][c.options.dateParameter]);return a},c.prototype.addMultiDayMomentObjectsToEvents=function(a){var c=this,d=0,e=a.length;for(d;e>d;d++)a[d][c.options.multiDayEvents.endDate]||a[d][c.options.multiDayEvents.startDate]?(a[d]._clndrEndDateObject=b(a[d][c.options.multiDayEvents.endDate]||a[d][c.options.multiDayEvents.startDate]),a[d]._clndrStartDateObject=b(a[d][c.options.multiDayEvents.startDate]||a[d][c.options.multiDayEvents.endDate])):(a[d]._clndrEndDateObject=b(a[d][c.options.multiDayEvents.singleDay]),a[d]._clndrStartDateObject=b(a[d][c.options.multiDayEvents.singleDay]));return a},c.prototype.calendarDay=function(b){var c={day:"",classes:this.options.targets.empty,events:[],date:null};return a.extend({},c,b)},a.fn.clndr=function(a){if(1===this.length){if(!this.data("plugin_clndr")){var b=new c(this,a);return this.data("plugin_clndr",b),b}}else if(this.length>1)throw new Error("CLNDR does not support multiple elements yet. Make sure your clndr selector returns only one element.")}});
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clndr-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ilya Bondarenko
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-01-
|
|
11
|
+
date: 2015-01-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -178,17 +178,22 @@ files:
|
|
|
178
178
|
- test/dummy/tmp/cache/assets/development/sprockets/4069980b5689edf29f7bc438d62f44e9
|
|
179
179
|
- test/dummy/tmp/cache/assets/development/sprockets/42927f6bcf2f320e08ea8ff02d5c8209
|
|
180
180
|
- test/dummy/tmp/cache/assets/development/sprockets/433724373619c6185a095523fd7c7fe0
|
|
181
|
+
- test/dummy/tmp/cache/assets/development/sprockets/460632c7db14d41cf7371b6b4bb64157
|
|
181
182
|
- test/dummy/tmp/cache/assets/development/sprockets/486f42c6c97c7a42b88dc91fc2d5a864
|
|
182
183
|
- test/dummy/tmp/cache/assets/development/sprockets/4a9158fb3a677a8253fa2a7e93551175
|
|
183
184
|
- test/dummy/tmp/cache/assets/development/sprockets/4ad6cd41e5b645f9ceef10b1e3baea77
|
|
185
|
+
- test/dummy/tmp/cache/assets/development/sprockets/4b2e05f2b06345dfee1d683a3fdd29e7
|
|
184
186
|
- test/dummy/tmp/cache/assets/development/sprockets/51408facf1bc7598eedca202daf4ba96
|
|
185
187
|
- test/dummy/tmp/cache/assets/development/sprockets/53eedf0ac9053fc3d462eabaf534bd05
|
|
186
188
|
- test/dummy/tmp/cache/assets/development/sprockets/580892b79dd41de64c62d07404cd1a12
|
|
187
189
|
- test/dummy/tmp/cache/assets/development/sprockets/5a6cb5cfc573c611e29c2ac98103701f
|
|
188
190
|
- test/dummy/tmp/cache/assets/development/sprockets/5f78b3457def1d02bd3fb75d4e0cfb63
|
|
191
|
+
- test/dummy/tmp/cache/assets/development/sprockets/643ff98d256ca160a0cb4ca0fc83ffdb
|
|
189
192
|
- test/dummy/tmp/cache/assets/development/sprockets/684604af0ae58f9e55f2992fe9c466d7
|
|
190
193
|
- test/dummy/tmp/cache/assets/development/sprockets/6c33e774b86f9ef5ba24ffbe52bed674
|
|
194
|
+
- test/dummy/tmp/cache/assets/development/sprockets/6c9c1cfb50b40b88dd14926792400890
|
|
191
195
|
- test/dummy/tmp/cache/assets/development/sprockets/6f78527844795b9b46156d0576fffe63
|
|
196
|
+
- test/dummy/tmp/cache/assets/development/sprockets/73938775f2e5bebe09996667ea3dd302
|
|
192
197
|
- test/dummy/tmp/cache/assets/development/sprockets/74efa8b198344d1b86c6531144584f3e
|
|
193
198
|
- test/dummy/tmp/cache/assets/development/sprockets/78573c83ee7596aaed9105a0ed816f5d
|
|
194
199
|
- test/dummy/tmp/cache/assets/development/sprockets/7b51783beb0f6f17617f87ef5d2688e3
|
|
@@ -196,6 +201,7 @@ files:
|
|
|
196
201
|
- test/dummy/tmp/cache/assets/development/sprockets/82eac1b4407ccfbc517558b830c67a53
|
|
197
202
|
- test/dummy/tmp/cache/assets/development/sprockets/8329b2874924fc312c31e87ef69a88bb
|
|
198
203
|
- test/dummy/tmp/cache/assets/development/sprockets/9123d280fa9cc0d16a1ec96a3e44bcc1
|
|
204
|
+
- test/dummy/tmp/cache/assets/development/sprockets/93120bd88f1e2293fc55c191aeab678a
|
|
199
205
|
- test/dummy/tmp/cache/assets/development/sprockets/9334f44096c23e8904784b524e6ae750
|
|
200
206
|
- test/dummy/tmp/cache/assets/development/sprockets/954c1c7328e5b9c43abd84f4981286c7
|
|
201
207
|
- test/dummy/tmp/cache/assets/development/sprockets/9bd8392ddf2b52be4b455e52a628d169
|
|
@@ -204,14 +210,17 @@ files:
|
|
|
204
210
|
- test/dummy/tmp/cache/assets/development/sprockets/a086b63b827c2bdef684cc4985c925fc
|
|
205
211
|
- test/dummy/tmp/cache/assets/development/sprockets/a4ce04494de7990c1b23b8498b2fb743
|
|
206
212
|
- test/dummy/tmp/cache/assets/development/sprockets/a62be18dea33018456ea9b72b4a9e10b
|
|
213
|
+
- test/dummy/tmp/cache/assets/development/sprockets/a780ea7d8044a1786c8bfd4b3df13491
|
|
207
214
|
- test/dummy/tmp/cache/assets/development/sprockets/a7f1637ae79393f95fd20936e91d62d0
|
|
208
215
|
- test/dummy/tmp/cache/assets/development/sprockets/ab8a19b4c942c018374d61f4f99235dc
|
|
209
216
|
- test/dummy/tmp/cache/assets/development/sprockets/ad861213dbd41ab02600f740c9bb1dee
|
|
210
217
|
- test/dummy/tmp/cache/assets/development/sprockets/ae0ae68c837285b67a4fc1df4dddb939
|
|
211
218
|
- test/dummy/tmp/cache/assets/development/sprockets/b6c986125db42513425f8a84e0021579
|
|
212
219
|
- test/dummy/tmp/cache/assets/development/sprockets/bb2f6a70a78dd0eb8181c7f495e82f57
|
|
220
|
+
- test/dummy/tmp/cache/assets/development/sprockets/bd28ee35f981cb10b9740ee6e6686b6d
|
|
213
221
|
- test/dummy/tmp/cache/assets/development/sprockets/be9637deb767f91f0193d4b0573f954e
|
|
214
222
|
- test/dummy/tmp/cache/assets/development/sprockets/c0f2a7bdc7a73db8bacf633cef4ec428
|
|
223
|
+
- test/dummy/tmp/cache/assets/development/sprockets/c4a0410f3ca8e859238c3b5a24ef0d98
|
|
215
224
|
- test/dummy/tmp/cache/assets/development/sprockets/c744c093e347d6c90bc75206f502a48e
|
|
216
225
|
- test/dummy/tmp/cache/assets/development/sprockets/c7effad0605334daea2929e656094580
|
|
217
226
|
- test/dummy/tmp/cache/assets/development/sprockets/c8fc1f981896d3bc3650f6dc2cdc3981
|
|
@@ -227,10 +236,13 @@ files:
|
|
|
227
236
|
- test/dummy/tmp/cache/assets/development/sprockets/e7296c70ca399cdcc73806b4a9481fde
|
|
228
237
|
- test/dummy/tmp/cache/assets/development/sprockets/eabe02c282ba47d5bef91a603f0e8ddc
|
|
229
238
|
- test/dummy/tmp/cache/assets/development/sprockets/edf2dce367a4fbd2628ceef059dab88f
|
|
239
|
+
- test/dummy/tmp/cache/assets/development/sprockets/efbbf60292a32f735cfdcbd98f0a0dcb
|
|
230
240
|
- test/dummy/tmp/cache/assets/development/sprockets/f1829681b5124c696fef4fd62c36f101
|
|
231
241
|
- test/dummy/tmp/cache/assets/development/sprockets/f34be083c250d77494ecd0d35fd1099f
|
|
232
242
|
- test/dummy/tmp/cache/assets/development/sprockets/f3c1e7e2d789b88a0b3e967365eefda2
|
|
243
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f56ceda2003be471c5e7a5ec2e355c9e
|
|
233
244
|
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
|
245
|
+
- test/dummy/tmp/cache/assets/development/sprockets/fb5e937723a7579bee0be03b0c5d9052
|
|
234
246
|
- test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
|
|
235
247
|
- test/dummy/tmp/cache/assets/test/sprockets/1cc60160d9e0a352994b8eb6b8313b1a
|
|
236
248
|
- test/dummy/tmp/cache/assets/test/sprockets/28cfd59c37a42a9ea808d622b0177c86
|
|
@@ -253,7 +265,6 @@ files:
|
|
|
253
265
|
- test/dummy/tmp/cache/assets/test/sprockets/de79a0cce913cf585100d02ad7b13bd2
|
|
254
266
|
- test/dummy/tmp/cache/assets/test/sprockets/f1829681b5124c696fef4fd62c36f101
|
|
255
267
|
- test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
|
256
|
-
- test/dummy/tmp/pids/server.pid
|
|
257
268
|
- test/spec/clndr-rails_spec.rb
|
|
258
269
|
- test/spec/configuration_spec.rb
|
|
259
270
|
- test/spec/events_spec.rb
|
|
@@ -357,17 +368,22 @@ test_files:
|
|
|
357
368
|
- test/dummy/tmp/cache/assets/development/sprockets/4069980b5689edf29f7bc438d62f44e9
|
|
358
369
|
- test/dummy/tmp/cache/assets/development/sprockets/42927f6bcf2f320e08ea8ff02d5c8209
|
|
359
370
|
- test/dummy/tmp/cache/assets/development/sprockets/433724373619c6185a095523fd7c7fe0
|
|
371
|
+
- test/dummy/tmp/cache/assets/development/sprockets/460632c7db14d41cf7371b6b4bb64157
|
|
360
372
|
- test/dummy/tmp/cache/assets/development/sprockets/486f42c6c97c7a42b88dc91fc2d5a864
|
|
361
373
|
- test/dummy/tmp/cache/assets/development/sprockets/4a9158fb3a677a8253fa2a7e93551175
|
|
362
374
|
- test/dummy/tmp/cache/assets/development/sprockets/4ad6cd41e5b645f9ceef10b1e3baea77
|
|
375
|
+
- test/dummy/tmp/cache/assets/development/sprockets/4b2e05f2b06345dfee1d683a3fdd29e7
|
|
363
376
|
- test/dummy/tmp/cache/assets/development/sprockets/51408facf1bc7598eedca202daf4ba96
|
|
364
377
|
- test/dummy/tmp/cache/assets/development/sprockets/53eedf0ac9053fc3d462eabaf534bd05
|
|
365
378
|
- test/dummy/tmp/cache/assets/development/sprockets/580892b79dd41de64c62d07404cd1a12
|
|
366
379
|
- test/dummy/tmp/cache/assets/development/sprockets/5a6cb5cfc573c611e29c2ac98103701f
|
|
367
380
|
- test/dummy/tmp/cache/assets/development/sprockets/5f78b3457def1d02bd3fb75d4e0cfb63
|
|
381
|
+
- test/dummy/tmp/cache/assets/development/sprockets/643ff98d256ca160a0cb4ca0fc83ffdb
|
|
368
382
|
- test/dummy/tmp/cache/assets/development/sprockets/684604af0ae58f9e55f2992fe9c466d7
|
|
369
383
|
- test/dummy/tmp/cache/assets/development/sprockets/6c33e774b86f9ef5ba24ffbe52bed674
|
|
384
|
+
- test/dummy/tmp/cache/assets/development/sprockets/6c9c1cfb50b40b88dd14926792400890
|
|
370
385
|
- test/dummy/tmp/cache/assets/development/sprockets/6f78527844795b9b46156d0576fffe63
|
|
386
|
+
- test/dummy/tmp/cache/assets/development/sprockets/73938775f2e5bebe09996667ea3dd302
|
|
371
387
|
- test/dummy/tmp/cache/assets/development/sprockets/74efa8b198344d1b86c6531144584f3e
|
|
372
388
|
- test/dummy/tmp/cache/assets/development/sprockets/78573c83ee7596aaed9105a0ed816f5d
|
|
373
389
|
- test/dummy/tmp/cache/assets/development/sprockets/7b51783beb0f6f17617f87ef5d2688e3
|
|
@@ -375,6 +391,7 @@ test_files:
|
|
|
375
391
|
- test/dummy/tmp/cache/assets/development/sprockets/82eac1b4407ccfbc517558b830c67a53
|
|
376
392
|
- test/dummy/tmp/cache/assets/development/sprockets/8329b2874924fc312c31e87ef69a88bb
|
|
377
393
|
- test/dummy/tmp/cache/assets/development/sprockets/9123d280fa9cc0d16a1ec96a3e44bcc1
|
|
394
|
+
- test/dummy/tmp/cache/assets/development/sprockets/93120bd88f1e2293fc55c191aeab678a
|
|
378
395
|
- test/dummy/tmp/cache/assets/development/sprockets/9334f44096c23e8904784b524e6ae750
|
|
379
396
|
- test/dummy/tmp/cache/assets/development/sprockets/954c1c7328e5b9c43abd84f4981286c7
|
|
380
397
|
- test/dummy/tmp/cache/assets/development/sprockets/9bd8392ddf2b52be4b455e52a628d169
|
|
@@ -383,14 +400,17 @@ test_files:
|
|
|
383
400
|
- test/dummy/tmp/cache/assets/development/sprockets/a086b63b827c2bdef684cc4985c925fc
|
|
384
401
|
- test/dummy/tmp/cache/assets/development/sprockets/a4ce04494de7990c1b23b8498b2fb743
|
|
385
402
|
- test/dummy/tmp/cache/assets/development/sprockets/a62be18dea33018456ea9b72b4a9e10b
|
|
403
|
+
- test/dummy/tmp/cache/assets/development/sprockets/a780ea7d8044a1786c8bfd4b3df13491
|
|
386
404
|
- test/dummy/tmp/cache/assets/development/sprockets/a7f1637ae79393f95fd20936e91d62d0
|
|
387
405
|
- test/dummy/tmp/cache/assets/development/sprockets/ab8a19b4c942c018374d61f4f99235dc
|
|
388
406
|
- test/dummy/tmp/cache/assets/development/sprockets/ad861213dbd41ab02600f740c9bb1dee
|
|
389
407
|
- test/dummy/tmp/cache/assets/development/sprockets/ae0ae68c837285b67a4fc1df4dddb939
|
|
390
408
|
- test/dummy/tmp/cache/assets/development/sprockets/b6c986125db42513425f8a84e0021579
|
|
391
409
|
- test/dummy/tmp/cache/assets/development/sprockets/bb2f6a70a78dd0eb8181c7f495e82f57
|
|
410
|
+
- test/dummy/tmp/cache/assets/development/sprockets/bd28ee35f981cb10b9740ee6e6686b6d
|
|
392
411
|
- test/dummy/tmp/cache/assets/development/sprockets/be9637deb767f91f0193d4b0573f954e
|
|
393
412
|
- test/dummy/tmp/cache/assets/development/sprockets/c0f2a7bdc7a73db8bacf633cef4ec428
|
|
413
|
+
- test/dummy/tmp/cache/assets/development/sprockets/c4a0410f3ca8e859238c3b5a24ef0d98
|
|
394
414
|
- test/dummy/tmp/cache/assets/development/sprockets/c744c093e347d6c90bc75206f502a48e
|
|
395
415
|
- test/dummy/tmp/cache/assets/development/sprockets/c7effad0605334daea2929e656094580
|
|
396
416
|
- test/dummy/tmp/cache/assets/development/sprockets/c8fc1f981896d3bc3650f6dc2cdc3981
|
|
@@ -406,10 +426,13 @@ test_files:
|
|
|
406
426
|
- test/dummy/tmp/cache/assets/development/sprockets/e7296c70ca399cdcc73806b4a9481fde
|
|
407
427
|
- test/dummy/tmp/cache/assets/development/sprockets/eabe02c282ba47d5bef91a603f0e8ddc
|
|
408
428
|
- test/dummy/tmp/cache/assets/development/sprockets/edf2dce367a4fbd2628ceef059dab88f
|
|
429
|
+
- test/dummy/tmp/cache/assets/development/sprockets/efbbf60292a32f735cfdcbd98f0a0dcb
|
|
409
430
|
- test/dummy/tmp/cache/assets/development/sprockets/f1829681b5124c696fef4fd62c36f101
|
|
410
431
|
- test/dummy/tmp/cache/assets/development/sprockets/f34be083c250d77494ecd0d35fd1099f
|
|
411
432
|
- test/dummy/tmp/cache/assets/development/sprockets/f3c1e7e2d789b88a0b3e967365eefda2
|
|
433
|
+
- test/dummy/tmp/cache/assets/development/sprockets/f56ceda2003be471c5e7a5ec2e355c9e
|
|
412
434
|
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
|
435
|
+
- test/dummy/tmp/cache/assets/development/sprockets/fb5e937723a7579bee0be03b0c5d9052
|
|
413
436
|
- test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
|
|
414
437
|
- test/dummy/tmp/cache/assets/test/sprockets/1cc60160d9e0a352994b8eb6b8313b1a
|
|
415
438
|
- test/dummy/tmp/cache/assets/test/sprockets/28cfd59c37a42a9ea808d622b0177c86
|
|
@@ -432,7 +455,6 @@ test_files:
|
|
|
432
455
|
- test/dummy/tmp/cache/assets/test/sprockets/de79a0cce913cf585100d02ad7b13bd2
|
|
433
456
|
- test/dummy/tmp/cache/assets/test/sprockets/f1829681b5124c696fef4fd62c36f101
|
|
434
457
|
- test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
|
435
|
-
- test/dummy/tmp/pids/server.pid
|
|
436
458
|
- test/spec/clndr-rails_spec.rb
|
|
437
459
|
- test/spec/configuration_spec.rb
|
|
438
460
|
- test/spec/events_spec.rb
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7152
|