Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix for Issue #924 (Cannot Re-assign $apollo) #924 Added the recommended sanity check .hasOwnProperty that is best practice for .defineProperty to fix .$apollo redefinition bug when using more than one Vue application on a page, or multiple vue built standard web components, like a web component library. This bug is a show stopper for using vue-apollo in standard web components but fortunately was easily fixable by adding the standard best practices check around the block to prevent redefinition. Also worth noting that this same issue it has occurred and crept back into this project several times. * Update: Adjusted indentation to pass project checks... Update: Adjusted indentation to pass project checks...
- Loading branch information