forked from mozilla/nightlytt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue mozilla#125 - Improve empty variable strings handling
Leave "${Something}" untouched if nightly.variables doesn't have such property, and let it be "Undefined" if it's a known variable, but currently unavailable. For example in the "${Changeset}" case, when application.ini doesn't always contain a "SourceStamp" key.
- Loading branch information
Showing
3 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ nightly.noextensions.message=No extensions were found. | |
nightly.restart.message=Addon compatibility has changed, restart to affect currently installed addons | ||
nightly.restart.label=Restart | ||
nightly.restart.accesskey=R | ||
nightly.variables.nullvalue=Undefined | ||
This comment has been minimized.
Sorry, something went wrong.
whimboo
|
I assume you wanted to declare the
value
variable by using var, right? That way avarvalue
variable will end up in the global scope.