Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
updating firefox_for_developers macro so that it doesnt break for ver…
Browse files Browse the repository at this point in the history
…sions above Fx50
  • Loading branch information
chrisdavidmills committed Jun 15, 2017
1 parent e6f68be commit c7f2d4e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions macros/Firefox_for_developers.ejs
Expand Up @@ -2,13 +2,13 @@
<ul>
<%
/*
* $0 max version to list
*
* Parameters:
* $0 = max version to show in the list
*/
var CURRENT_MAX_VERSION = 50;
var maxVersion = CURRENT_MAX_VERSION; /* was $0; replaced by this value to update after each release. */
var CURRENT_MAX_VERSION = $0;
var maxVersion = CURRENT_MAX_VERSION;
var minVersion = maxVersion - 30;
if (minVersion < 4) { minVersion = 4 }
Expand Down Expand Up @@ -49,7 +49,7 @@ if (minVersion == 4) {
This template is difficult. Because, old "fr" page have other rule...
If the URL of your country's page is the same as the English pages,
You just have to add your country into the object in argument of mdn.localString.
And, some old pages have this link: "https://developer.mozilla.org/en-US/docs/Updating_web_applications_for_Firefox_3"
*/
Expand Down

0 comments on commit c7f2d4e

Please sign in to comment.