perf(all): minify better by using arrow functions (#18730)

This commit is contained in:
Manu MA
2019-07-10 16:33:33 +02:00
committed by Brandy Carney
parent 8beeff2c52
commit 03c1d19e07
99 changed files with 653 additions and 679 deletions

View File

@ -89,12 +89,12 @@ export class RippleEffect implements ComponentInterface {
}
}
function removeRipple(ripple: HTMLElement) {
const removeRipple = (ripple: HTMLElement) => {
ripple.classList.add('fade-out');
setTimeout(() => {
ripple.remove();
}, 200);
}
};
const PADDING = 10;
const INITIAL_ORIGIN_SCALE = 0.5;