1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-02 00:23:35 +00:00
Files
browser/src/popup/app/settings/credits.component.ts
2017-12-06 14:23:34 -05:00

24 lines
534 B
TypeScript

import * as template from './credits.component.html';
export class CreditsController {
i18n: any;
constructor(i18nService: any, private $analytics: any) {
this.i18n = i18nService;
}
learnMore() {
this.$analytics.eventTrack('Contribute Learn More');
chrome.tabs.create({
url: 'https://github.com/bitwarden/browser/blob/master/CONTRIBUTING.md',
});
}
}
export const CreditsComponent = {
bindings: {},
controller: CreditsController,
template: template,
};