fixed #46
This commit is contained in:
梁灏 2016-11-03 13:54:21 +08:00
parent f94309af29
commit 3e855e34df
5 changed files with 135 additions and 100 deletions

View file

@ -49,4 +49,7 @@ export function getScrollBarSize (fresh) {
cached = widthContained - widthScroll;
}
return cached;
}
}
// watch DOM change
export const MutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver || false;