diff options
author | Phil Hughes <me@iamphill.com> | 2017-12-14 14:50:40 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-12-14 14:50:40 +0300 |
commit | adb8483331a7d25f84029ecf67b33e1f09a1e99f (patch) | |
tree | cc83073feb35b3aacd4b3863d001631464a37f8c /app/assets/javascripts/activities.js | |
parent | 1fbda39c8dd8774d13832d5492e800b66ba90d6d (diff) |
Converted JS modules into exported modules
Diffstat (limited to 'app/assets/javascripts/activities.js')
-rw-r--r-- | app/assets/javascripts/activities.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/assets/javascripts/activities.js b/app/assets/javascripts/activities.js index d0db7cde262..f5f6b67f26e 100644 --- a/app/assets/javascripts/activities.js +++ b/app/assets/javascripts/activities.js @@ -4,7 +4,7 @@ import Cookies from 'js-cookie'; import { localTimeAgo } from './lib/utils/datetime_utility'; -class Activities { +export default class Activities { constructor() { Pager.init(20, true, false, data => data, this.updateTooltips); @@ -34,6 +34,3 @@ class Activities { $sender.closest('li').toggleClass('active'); } } - -window.gl = window.gl || {}; -window.gl.Activities = Activities; |