remove home.js space

This commit is contained in:
jljsj 2016-01-20 19:43:02 +08:00
parent a5c20a9d11
commit f91b2a3950

View File

@ -9,8 +9,8 @@ import ScrollEvent from 'rc-scroll-anim/lib/EventDispatcher';
import mapped from 'rc-scroll-anim/lib/Mapped';
import TweenOne from 'rc-tween-one';
module.exports = function () {
InstantClickChangeFns.push(function () {
module.exports = function() {
InstantClickChangeFns.push(function() {
if (!document.getElementById('banner')) {
// componentWillUnmount 不会触发, 手动删掉事件;
ScrollEvent._listeners = {};