From 80fd8f2de19634b62356e27cd0b105fef6787931 Mon Sep 17 00:00:00 2001
From: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Date: Wed, 25 Mar 2015 22:22:10 -0700
Subject: [PATCH] Capitalize js class name

---
 app/assets/javascripts/calendar.js.coffee | 2 +-
 app/views/users/calendar.html.haml        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/assets/javascripts/calendar.js.coffee b/app/assets/javascripts/calendar.js.coffee
index d08ef9361a..37b7ba2cc1 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 488f49267c..922b0c6ceb 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},
-- 
2.30.9