linterna-magica-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linterna-magica-commit] [88] Force updates checkup off when version str


From: Ivaylo Valkov
Subject: [linterna-magica-commit] [88] Force updates checkup off when version string matches svn.
Date: Mon, 13 Jun 2011 18:12:16 +0000

Revision: 88
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=88
Author:   valkov
Date:     2011-06-13 18:12:16 +0000 (Mon, 13 Jun 2011)
Log Message:
-----------
Force updates checkup off when version string matches svn.

Modified Paths:
--------------
    branches/0.0.9/src/lm_check_for_updates.js

Modified: branches/0.0.9/src/lm_check_for_updates.js
===================================================================
--- branches/0.0.9/src/lm_check_for_updates.js  2011-06-13 18:09:03 UTC (rev 87)
+++ branches/0.0.9/src/lm_check_for_updates.js  2011-06-13 18:12:16 UTC (rev 88)
@@ -30,7 +30,9 @@
 LinternaMagica.prototype.check_for_updates = function()
 {
     // Configured to not update
-    if (this.updates == -1)
+    // or the build is from SVN
+    if (this.updates == -1 ||
+       /svn/i.test(this.version))
     {
        return  null;
     }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]