mirror of
https://github.com/getredash/redash.git
synced 2026-05-10 15:00:16 -04:00
* Refine Auth service: remove dead code and fix race condition * Export services in CommonJS style * Refine Users, Events and OfflineListener services * Refactor Notifications service - rewrite to CommonJS * Replace Angular service injection with imports in React components * Fix Footer tests * Events service -> recordEvent function * CR1
12 lines
203 B
JavaScript
12 lines
203 B
JavaScript
import recordEvent from '@/services/recordEvent';
|
|
|
|
function Events() {
|
|
this.record = recordEvent;
|
|
}
|
|
|
|
export default function init(ngModule) {
|
|
ngModule.service('Events', Events);
|
|
}
|
|
|
|
init.init = true;
|