Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-26 08:22:10 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-26 08:22:10 +0300
commit80fd8f2de19634b62356e27cd0b105fef6787931 (patch)
tree75114f11e522e57aac87f390c6a157f6d8713dc1 /app
parent12430b65d44f93bb77979d7bb546814c637fd5c6 (diff)
Capitalize js class name
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/calendar.js.coffee2
-rw-r--r--app/views/users/calendar.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/calendar.js.coffee b/app/assets/javascripts/calendar.js.coffee
index d08ef9361a6..37b7ba2cc10 100644
--- a/app/assets/javascripts/calendar.js.coffee
+++ b/app/assets/javascripts/calendar.js.coffee
@@ -1,4 +1,4 @@
-class @calendar
+class @Calendar
options =
month: "short"
day: "numeric"
diff --git a/app/views/users/calendar.html.haml b/app/views/users/calendar.html.haml
index 488f49267c7..922b0c6cebf 100644
--- a/app/views/users/calendar.html.haml
+++ b/app/views/users/calendar.html.haml
@@ -4,7 +4,7 @@
%small Issues, merge requests and push events
#cal-heatmap.calendar
:javascript
- new calendar(
+ new Calendar(
#{@timestamps.to_json},
#{@starting_year},
#{@starting_month},