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

Check for updates every 24 hours while Brackets is running #2368

Merged

Conversation

ZweiSteinSoft
Copy link
Contributor

Fix for #2271.

@ghost ghost assigned gruehle Dec 17, 2012
@@ -293,7 +293,13 @@ define(function (require, exports, module) {

// Check for updates
if (!params.get("skipUpdateCheck") && !brackets.inBrowser) {
UpdateNotification.checkForUpdate();
var checkForUpdate = function () {
Copy link
Member

Choose a reason for hiding this comment

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

This function is not needed--you can just pass UpdateNotification.checkForUpdate to setInterval().

@gruehle
Copy link
Member

gruehle commented Dec 18, 2012

@mynetx - thanks for the pull request! The functionality works great. I just had a couple of small comments on the code.

Drop checkForUpdate function wrapper for UpdateNotification.checkForUpdate; prefix setInterval call with “window.”
@gruehle
Copy link
Member

gruehle commented Dec 20, 2012

Looks good. Merging.

gruehle added a commit that referenced this pull request Dec 20, 2012
Check for updates every 24 hours while Brackets is running
@gruehle gruehle merged commit f381d16 into adobe:master Dec 20, 2012
@ZweiSteinSoft ZweiSteinSoft deleted the issue-2271-updatecheckwhilerunning branch December 20, 2012 09:53
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.

3 participants