Skip to content

Commit

Permalink
style: refactored usings 🎨
Browse files Browse the repository at this point in the history
  • Loading branch information
jensmeichler committed Jun 4, 2022
1 parent a2c8ecc commit 315656c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 14 deletions.
10 changes: 8 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@ import {
EditTaskListDialogComponent,
EditNoteListDialogComponent
} from "@clipboardjesus/components";
import {Note, Tab, TaskList, NoteList} from '@clipboardjesus/models';
import {
Note,
Tab,
TaskList,
NoteList
} from '@clipboardjesus/models';
import {
CacheService,
DataService, FileAccessService,
DataService,
FileAccessService,
HashyService,
SettingsService,
ClipboardService
Expand Down
4 changes: 1 addition & 3 deletions src/app/directives/autofocus.directive.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import {Directive, ElementRef, OnInit} from '@angular/core';

@Directive({
selector: '[cbAutofocus]'
})
@Directive({selector: '[cbAutofocus]'})
export class AutofocusDirective implements OnInit {
constructor(private elementRef: ElementRef) {}
ngOnInit(): void {
Expand Down
4 changes: 1 addition & 3 deletions src/app/directives/cursor.directive.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import {Directive, HostListener} from '@angular/core';
import {SettingsService} from "@clipboardjesus/services";

@Directive({
selector: '[cbCursor]'
})
@Directive({selector: '[cbCursor]'})
export class CursorDirective {
cursor: HTMLElement;
position?: HTMLElement;
Expand Down
4 changes: 1 addition & 3 deletions src/app/directives/drag-drop.directive.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import {Directive, HostBinding, HostListener} from '@angular/core';

@Directive({
selector: '[cbDragDrop]'
})
@Directive({selector: '[cbDragDrop]'})
export class DragDropDirective {
private _hoveredSection = 0;

Expand Down
4 changes: 1 addition & 3 deletions src/app/directives/highlight-color.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import {DraggableNote} from "@clipboardjesus/models";
import {SettingsService} from "@clipboardjesus/services";
import {scrolledPosition} from "@clipboardjesus/const";

@Directive({
selector: '[cbHighlightColor]'
})
@Directive({selector: '[cbHighlightColor]'})
export class HighlightColorDirective {
private _cbHighlightColor?: string;

Expand Down

0 comments on commit 315656c

Please sign in to comment.