mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Fix random typos (#23497)
This commit is contained in:
parent
381f749f60
commit
d393fdca31
@ -5,7 +5,7 @@
|
||||
class={{this.HTMLClassList}}
|
||||
@scrollTop={{false}}
|
||||
{{did-insert this.registerAppEventListeners}}
|
||||
{{will-destroy this.deregisterAppEventListners}}
|
||||
{{will-destroy this.deregisterAppEventListeners}}
|
||||
>
|
||||
{{#if this.isVisible}}
|
||||
<div
|
||||
|
@ -128,7 +128,7 @@ export default class DLightbox extends Component {
|
||||
get shouldDisplayCarouselArrows() {
|
||||
return (
|
||||
!this.options.isMobile &&
|
||||
this.totalItemCount >= this.options.minCarosuelArrowItemCount
|
||||
this.totalItemCount >= this.options.minCarouselArrowItemCount
|
||||
);
|
||||
}
|
||||
|
||||
@ -187,7 +187,7 @@ export default class DLightbox extends Component {
|
||||
}
|
||||
|
||||
@bind
|
||||
deregisterAppEventListners() {
|
||||
deregisterAppEventListeners() {
|
||||
this.appEvents.off(LIGHTBOX_APP_EVENT_NAMES.OPEN, this.open);
|
||||
this.appEvents.off(LIGHTBOX_APP_EVENT_NAMES.CLOSE, this.close);
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ const CORE_TOP_TABS = [
|
||||
}
|
||||
|
||||
// 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
|
||||
get notificationTypes() {
|
||||
return ["liked", "liked_consolidated", "reaction"];
|
||||
|
@ -42,7 +42,7 @@ export default class LightboxService extends Service {
|
||||
this.options = {
|
||||
isMobile: this.site.mobileView,
|
||||
isRTL: isDocumentRTL(),
|
||||
minCarosuelArrowItemCount: MIN_CAROUSEL_ARROW_ITEM_COUNT,
|
||||
minCarouselArrowItemCount: MIN_CAROUSEL_ARROW_ITEM_COUNT,
|
||||
zoomOnOpen: false,
|
||||
canDownload:
|
||||
this.currentUser ||
|
||||
|
@ -484,7 +484,7 @@ function getBookmark(overrides = {}) {
|
||||
}
|
||||
|
||||
module(
|
||||
"Integration | Component | user-menu | meun-item | with bookmark items",
|
||||
"Integration | Component | user-menu | menu-item | with bookmark items",
|
||||
function (hooks) {
|
||||
setupRenderingTest(hooks);
|
||||
|
||||
|
@ -4,7 +4,7 @@ import { click, doubleClick, render } from "@ember/test-helpers";
|
||||
import { hbs } from "ember-cli-htmlbars";
|
||||
import ClassicComponent from "@ember/component";
|
||||
|
||||
module("Unit | Lib | ember-action-modifer", function (hooks) {
|
||||
module("Unit | Lib | ember-action-modifier", function (hooks) {
|
||||
setupRenderingTest(hooks);
|
||||
|
||||
test("`{{action}}` can target a function", async function (assert) {
|
||||
|
Loading…
Reference in New Issue
Block a user