mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(tslint): disable 'no-floating-promises'
This commit is contained in:
@ -36,27 +36,23 @@ export class App {
|
||||
|
||||
function importHardwareBackButton(win: Window) {
|
||||
if (isPlatform(win, 'hybrid')) {
|
||||
// tslint:disable-next-line:no-floating-promises
|
||||
import('../../utils/hardware-back-button').then(module => module.startHardwareBackButton(win));
|
||||
}
|
||||
}
|
||||
|
||||
function importStatusTap(win: Window, queue: QueueApi) {
|
||||
if (isPlatform(win, 'hybrid')) {
|
||||
// tslint:disable-next-line:no-floating-promises
|
||||
import('../../utils/status-tap').then(module => module.startStatusTap(win, queue));
|
||||
}
|
||||
}
|
||||
|
||||
function importTapClick(win: Window) {
|
||||
// tslint:disable-next-line:no-floating-promises
|
||||
import('../../utils/tap-click').then(module => module.startTapClick(win.document));
|
||||
}
|
||||
|
||||
function importInputShims(win: Window, config: Config) {
|
||||
const inputShims = config.getBoolean('inputShims', needInputShims(win));
|
||||
if (inputShims) {
|
||||
// tslint:disable-next-line:no-floating-promises
|
||||
import('../../utils/input-shims/input-shims').then(module => module.startInputShims(win.document, config));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user