remove unused variable isNode from checkGlobals
Merge pull request #1214 from qiuzuhui/patch-1

remove unused variable isNode from checkGlobals