Fix View require and editor value.

see https://github.com/atom-community/autocomplete-plus/commit/4fe30ec8edfd2c38a01dc52176e6d88f8cdba637