mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
chore(): update to ionic-rules/strict
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import { Component, Element, Event, EventEmitter, Method, Prop, State, Watch } from '@stencil/core';
|
||||
|
||||
import { Mode } from '../../interface';
|
||||
import { createThemedClasses } from '../../utils/theme';
|
||||
|
||||
@ -13,7 +14,6 @@ const QUERY: { [key: string]: string } = {
|
||||
'never': ''
|
||||
};
|
||||
|
||||
|
||||
@Component({
|
||||
tag: 'ion-split-pane',
|
||||
styleUrls: {
|
||||
@ -68,8 +68,10 @@ export class SplitPane {
|
||||
}
|
||||
|
||||
componentDidUnload() {
|
||||
this.rmL && this.rmL();
|
||||
this.rmL = null;
|
||||
if (this.rmL) {
|
||||
this.rmL();
|
||||
this.rmL = undefined;
|
||||
}
|
||||
}
|
||||
|
||||
@Watch('when')
|
||||
@ -77,8 +79,10 @@ export class SplitPane {
|
||||
if (this.isServer) {
|
||||
return;
|
||||
}
|
||||
this.rmL && this.rmL();
|
||||
this.rmL = null;
|
||||
if (this.rmL) {
|
||||
this.rmL();
|
||||
this.rmL = undefined;
|
||||
}
|
||||
|
||||
// Check if the split-pane is disabled
|
||||
if (this.disabled) {
|
||||
@ -164,7 +168,6 @@ export class SplitPane {
|
||||
|
||||
}
|
||||
|
||||
|
||||
function setPaneClass(el: HTMLElement, isMain: boolean) {
|
||||
let toAdd;
|
||||
let toRemove;
|
||||
|
||||
Reference in New Issue
Block a user