angular-flash icon indicating copy to clipboard operation
angular-flash copied to clipboard

Do not use generic name "app" for global variable

Open piotr-dobrogost opened this issue 8 years ago • 0 comments

Following documentation and trying to use extension I got Identifier 'app' has already been declared error right at the beginning. This is because I'm already using app global variable for my application. You should either use some unique name or even better make use of IIFE to avoid polluting global namespace.

piotr-dobrogost avatar Jun 13 '17 14:06 piotr-dobrogost