migrate safe transformations out of unsafe_comps (#2962)

fixes #2959
This commit is contained in:
Alex Lam S.L
2018-02-28 22:02:24 +08:00
committed by GitHub
parent 73e98dcda4
commit 0daa199fa8
5 changed files with 29 additions and 55 deletions

View File

@@ -243,7 +243,7 @@ issue_1089: {
expect: {
function x() {
var f = document.getElementById("fname");
if (f.files[0].size > 12345)
if (12345 < f.files[0].size)
return alert("alert"), f.focus(), !1;
}
}