Fix typeError
Merge branch 'master' of https://github.com/cordjs/core