Showing
2 changed files
with
3 additions
and
2 deletions
@@ -37,7 +37,7 @@ class Overlay { | @@ -37,7 +37,7 @@ class Overlay { | ||
37 | // 初始化参数 | 37 | // 初始化参数 |
38 | this.settings = Object.assign({}, this.defaults, opts); | 38 | this.settings = Object.assign({}, this.defaults, opts); |
39 | 39 | ||
40 | - this.settings.animationClasses = { in : ANIMATIONS[this.settings.animation].in, | 40 | + this.settings.animationClasses = { in: ANIMATIONS[this.settings.animation].in, |
41 | out: ANIMATIONS[this.settings.animation].out | 41 | out: ANIMATIONS[this.settings.animation].out |
42 | }; | 42 | }; |
43 | 43 | ||
@@ -58,7 +58,7 @@ class Overlay { | @@ -58,7 +58,7 @@ class Overlay { | ||
58 | if (this.isVisible) { | 58 | if (this.isVisible) { |
59 | e.preventDefault(); | 59 | e.preventDefault(); |
60 | } | 60 | } |
61 | - }) | 61 | + }); |
62 | } | 62 | } |
63 | 63 | ||
64 | this.elem[0].addEventListener('webkitTransitionEnd', this._cleanup.bind(this)); | 64 | this.elem[0].addEventListener('webkitTransitionEnd', this._cleanup.bind(this)); |
-
Please register or login to post a comment