summaryrefslogtreecommitdiff
path: root/app/views/users
diff options
context:
space:
mode:
authorJason Lee <huacnlee@gmail.com>2015-11-10 19:17:37 +0800
committerJason Lee <huacnlee@gmail.com>2015-11-10 19:17:37 +0800
commit18cb430f7983ea557cf2308f5ea7c0af8b79a7b5 (patch)
tree14580177aaed975bf2dd6ffa1c4aa2b327b021cc /app/views/users
parent354b69dde2ba399a4269a0f544fd7a4e399d8b7e (diff)
downloadgitlab-ce-18cb430f7983ea557cf2308f5ea7c0af8b79a7b5.tar.gz
Replace CoffeeScript block into JavaScript in Views.
For example view: shared/issuable/_context CoffeeScript: 190ms JavaScript: 19.7ms
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml
index 5a15c6c244a..30992412184 100644
--- a/app/views/users/show.html.haml
+++ b/app/views/users/show.html.haml
@@ -115,5 +115,5 @@
projects: @projects.sort_by(&:star_count).reverse,
projects_limit: 10, stars: true, avatar: true
-:coffeescript
- $(".user-calendar").load("#{user_calendar_path}")
+:javascript
+ $(".user-calendar").load("#{user_calendar_path}");