nedwidek/firefox-gmail-manager-ng — Issue #16: AOM Review: Use Strict in JavaScript files, check for undeclared vars
Author: nedwidek
Created: 2012-02-08 16:20:07+00:00
State: open

> 11) You assign to the undeclared variable 'windowContent and possibly others', thus leaking it to the global scope which could cause, among other issues, compatibility problems with other add-ons. You can help prevent these types of problems in the future by adding "use strict"; (with quotes) to the top of your JavaScript files.