Fix #1321 in 0.12.x

pick 28b36d5 manully
This commit is contained in:
afc163 2016-04-19 16:58:39 +08:00
parent 0a121bd175
commit bad547c3bb

View File

@ -3,7 +3,7 @@ import assign from 'object-assign';
import classNames from 'classnames';
function ieGT9() {
if (typeof document === undefined) {
if (typeof document === 'undefined') {
return false;
}
const documentMode = document.documentMode || 0;