Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Fix for issue #6452: Prevent reload commands from being repeated too quickly #6846

Merged
merged 2 commits into from Feb 12, 2014
Merged

Fix for issue #6452: Prevent reload commands from being repeated too quickly #6846

merged 2 commits into from Feb 12, 2014

Conversation

lkcampbell
Copy link
Contributor

Fix for issue #6452: Prevent reload commands from being repeated too quickly.

@RaymondLim RaymondLim self-assigned this Feb 12, 2014


/** @type {boolean} prevents reentrancy of browserReload() */
var isReloading = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: prefix with _ to indicate private variable in this module and move this variable declaration next to other module variables. I know you only need this for the browserReload function, but we would like to have some best practices to group all variables in one section rather than scattering in the module.

@RaymondLim
Copy link
Contributor

Done with review. Just have one minor nit.

@lkcampbell
Copy link
Contributor Author

@RaymondLim, code review update committed.

RaymondLim added a commit that referenced this pull request Feb 12, 2014
Fix for issue #6452: Prevent reload commands from being repeated too quickly
@RaymondLim RaymondLim merged commit 8f8d231 into adobe:master Feb 12, 2014
@lkcampbell lkcampbell deleted the fix-6452 branch February 12, 2014 23:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants