DEV: Fix random typos (#23497)

This commit is contained in:
Jarek Radosz 2023-09-11 11:33:08 +02:00 committed by GitHub
parent 381f749f60
commit d393fdca31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@
class={{this.HTMLClassList}} class={{this.HTMLClassList}}
@scrollTop={{false}} @scrollTop={{false}}
{{did-insert this.registerAppEventListeners}} {{did-insert this.registerAppEventListeners}}
{{will-destroy this.deregisterAppEventListners}} {{will-destroy this.deregisterAppEventListeners}}
> >
{{#if this.isVisible}} {{#if this.isVisible}}
<div <div

View File

@ -128,7 +128,7 @@ export default class DLightbox extends Component {
get shouldDisplayCarouselArrows() { get shouldDisplayCarouselArrows() {
return ( return (
!this.options.isMobile && !this.options.isMobile &&
this.totalItemCount >= this.options.minCarosuelArrowItemCount this.totalItemCount >= this.options.minCarouselArrowItemCount
); );
} }
@ -187,7 +187,7 @@ export default class DLightbox extends Component {
} }
@bind @bind
deregisterAppEventListners() { deregisterAppEventListeners() {
this.appEvents.off(LIGHTBOX_APP_EVENT_NAMES.OPEN, this.open); this.appEvents.off(LIGHTBOX_APP_EVENT_NAMES.OPEN, this.open);
this.appEvents.off(LIGHTBOX_APP_EVENT_NAMES.CLOSE, this.close); this.appEvents.off(LIGHTBOX_APP_EVENT_NAMES.CLOSE, this.close);
} }

View File

@ -78,7 +78,7 @@ const CORE_TOP_TABS = [
} }
// TODO(osama): reaction is a type used by the reactions plugin, but it's // TODO(osama): reaction is a type used by the reactions plugin, but it's
// added here temporarily unitl we add a plugin API for extending // added here temporarily until we add a plugin API for extending
// filterByTypes in lists // filterByTypes in lists
get notificationTypes() { get notificationTypes() {
return ["liked", "liked_consolidated", "reaction"]; return ["liked", "liked_consolidated", "reaction"];

View File

@ -42,7 +42,7 @@ export default class LightboxService extends Service {
this.options = { this.options = {
isMobile: this.site.mobileView, isMobile: this.site.mobileView,
isRTL: isDocumentRTL(), isRTL: isDocumentRTL(),
minCarosuelArrowItemCount: MIN_CAROUSEL_ARROW_ITEM_COUNT, minCarouselArrowItemCount: MIN_CAROUSEL_ARROW_ITEM_COUNT,
zoomOnOpen: false, zoomOnOpen: false,
canDownload: canDownload:
this.currentUser || this.currentUser ||

View File

@ -484,7 +484,7 @@ function getBookmark(overrides = {}) {
} }
module( module(
"Integration | Component | user-menu | meun-item | with bookmark items", "Integration | Component | user-menu | menu-item | with bookmark items",
function (hooks) { function (hooks) {
setupRenderingTest(hooks); setupRenderingTest(hooks);

View File

@ -4,7 +4,7 @@ import { click, doubleClick, render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars"; import { hbs } from "ember-cli-htmlbars";
import ClassicComponent from "@ember/component"; import ClassicComponent from "@ember/component";
module("Unit | Lib | ember-action-modifer", function (hooks) { module("Unit | Lib | ember-action-modifier", function (hooks) {
setupRenderingTest(hooks); setupRenderingTest(hooks);
test("`{{action}}` can target a function", async function (assert) { test("`{{action}}` can target a function", async function (assert) {