summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-25 22:22:10 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-25 22:22:10 -0700
commit80fd8f2de19634b62356e27cd0b105fef6787931 (patch)
tree75114f11e522e57aac87f390c6a157f6d8713dc1 /app
parent12430b65d44f93bb77979d7bb546814c637fd5c6 (diff)
downloadgitlab-ce-80fd8f2de19634b62356e27cd0b105fef6787931.tar.gz
Capitalize js class namecapitalize-js-class
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},