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}}
|
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
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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"];
|
||||||
|
@ -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 ||
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user