Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Oct 11, 2023
1 parent 97045e7 commit a513c20
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/app/components/blockui/blockui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@ export class BlockUI implements AfterViewInit, OnDestroy {
exports: [BlockUI],
declarations: [BlockUI]
})
export class BlockUIModule {}
export class BlockUIModule {}
2 changes: 1 addition & 1 deletion src/app/components/calendar/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3407,4 +3407,4 @@ export class Calendar implements OnInit, OnDestroy, ControlValueAccessor {
exports: [Calendar, ButtonModule, SharedModule],
declarations: [Calendar]
})
export class CalendarModule {}
export class CalendarModule {}
2 changes: 1 addition & 1 deletion src/app/components/dialog/dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1016,4 +1016,4 @@ export class Dialog implements AfterContentInit, OnInit, OnDestroy {
exports: [Dialog, SharedModule],
declarations: [Dialog]
})
export class DialogModule {}
export class DialogModule {}
2 changes: 1 addition & 1 deletion src/app/components/dom/domhandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -723,4 +723,4 @@ export class DomHandler {
document.body.style.removeProperty('--scrollbar-width');
this.removeClass(document.body, className);
}
}
}
2 changes: 1 addition & 1 deletion src/app/components/galleria/galleria.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1387,4 +1387,4 @@ export class GalleriaThumbnails implements OnInit, AfterContentChecked, AfterVie
exports: [CommonModule, Galleria, GalleriaContent, GalleriaItemSlot, GalleriaItem, GalleriaThumbnails, SharedModule],
declarations: [Galleria, GalleriaContent, GalleriaItemSlot, GalleriaItem, GalleriaThumbnails]
})
export class GalleriaModule {}
export class GalleriaModule {}
2 changes: 1 addition & 1 deletion src/app/components/image/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -426,4 +426,4 @@ export class Image implements AfterContentInit {
exports: [Image, SharedModule],
declarations: [Image]
})
export class ImageModule {}
export class ImageModule {}
6 changes: 3 additions & 3 deletions src/app/components/panelmenu/panelmenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export class PanelMenuSub {
return {
'p-menuitem': true,
'p-disabled': this.isItemDisabled(processedItem)
}
};
}

getItemProp(processedItem, name?, params?) {
Expand Down Expand Up @@ -253,7 +253,7 @@ export class PanelMenuSub {
}

onItemClick(event, processedItem) {
if(!this.isItemDisabled(processedItem)) {
if (!this.isItemDisabled(processedItem)) {
this.getItemProp(processedItem, 'command', { originalEvent: event, item: processedItem.item });
this.itemToggle.emit({ processedItem, expanded: !this.isItemActive(processedItem) });
}
Expand Down Expand Up @@ -1070,4 +1070,4 @@ export class PanelMenu implements AfterContentInit {
exports: [PanelMenu, RouterModule, TooltipModule, SharedModule],
declarations: [PanelMenu, PanelMenuSub, PanelMenuList]
})
export class PanelMenuModule {}
export class PanelMenuModule {}
6 changes: 3 additions & 3 deletions src/app/components/sidebar/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export class Sidebar implements AfterViewInit, AfterContentInit, OnDestroy {

this.renderer.appendChild(this.document.body, this.mask);
if (this.blockScroll) {
DomHandler.blockBodyScroll()
DomHandler.blockBodyScroll();
}
}
}
Expand All @@ -350,7 +350,7 @@ export class Sidebar implements AfterViewInit, AfterContentInit, OnDestroy {
}

if (this.blockScroll) {
DomHandler.unblockBodyScroll()
DomHandler.unblockBodyScroll();
}

this.unbindAnimationEndListener();
Expand Down Expand Up @@ -452,4 +452,4 @@ export class Sidebar implements AfterViewInit, AfterContentInit, OnDestroy {
exports: [Sidebar, SharedModule],
declarations: [Sidebar]
})
export class SidebarModule {}
export class SidebarModule {}
2 changes: 1 addition & 1 deletion src/app/showcase/doc/toolbar/templatedoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Code } from '../../domain/code';
selector: 'template-doc',
template: ` <section class="py-3">
<app-docsectiontext [title]="title" [id]="id">
<p>Content can also be placed using the <i>start</i>, <i>center</i> and <i>end</i> templates.</p>
<p>Content can also be placed using the <i>start</i>, <i>center</i> and <i>end</i> templates.</p>
</app-docsectiontext>
<div class="card">
<p-toolbar>
Expand Down
2 changes: 1 addition & 1 deletion src/app/showcase/doc/toolbar/toolbardoc.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { AccessibilityDoc } from './accessibilitydoc';
import { BasicDoc } from './basicdoc';
import { ImportDoc } from './importdoc';
import { StyleDoc } from './styledoc';
import {TemplateDoc} from "./templatedoc";
import { TemplateDoc } from './templatedoc';

@NgModule({
imports: [CommonModule, AppCodeModule, AppDocModule, ToolbarModule, RouterModule, ButtonModule, SplitButtonModule],
Expand Down

0 comments on commit a513c20

Please sign in to comment.