Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Commit

Permalink
fix ng2-dragula test application (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin authored and mgechev committed Oct 20, 2019
1 parent e353caa commit c9eeebe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions projects/ng2-dragula-ngcc/src/polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
/***************************************************************************************************
* APPLICATION IMPORTS
*/

// This assignment is because `dragula` uses `crossvent` which expects there to be a `global` object.
(window as any).global = window;

0 comments on commit c9eeebe

Please sign in to comment.