[improvement] unify mixin name (#2795)

This commit is contained in:
neverland
2019-02-19 16:04:29 +08:00
committed by GitHub
parent 8c6ab91f6d
commit 9d0255d9e1
49 changed files with 112 additions and 122 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
import { use, range } from '../utils';
import Touch from '../mixins/touch';
import ClickOutside from '../mixins/click-outside';
import { TouchMixin } from '../mixins/touch';
import { ClickOutsideMixin } from '../mixins/click-outside';
const [sfc, bem] = use('swipe-cell');
const THRESHOLD = 0.15;
export default sfc({
mixins: [Touch, ClickOutside({
mixins: [TouchMixin, ClickOutsideMixin({
event: 'touchstart',
method: 'onClick'
})],