Skip to content

Commit b1988a3

Browse files
committed
allow Math.sign()
1 parent 75407ff commit b1988a3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tasks/test_syntax.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,7 @@ function assertSrcContents() {
112112
// look for .classList
113113
if(node.type === 'MemberExpression') {
114114
var source = node.source();
115-
116-
if(source === 'Math.sign') {
117-
logs.push(file + ' : contains Math.sign (IE failure)');
118-
} else if(source === 'window.getComputedStyle') {
115+
if(source === 'window.getComputedStyle') {
119116
getComputedStyleCnt++;
120117
}
121118
} else if(node.type === 'Identifier' && node.source() === 'getComputedStyle') {

0 commit comments

Comments
 (0)