forked from xdy/twodsix-foundryvtt
-
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.
Bug Fixes: - Augment description fix - Stat blocks visual fix in Firefox (But Chrome is still recommended) - Page no longer jumps to the top, not on any tab. Additional Fixes: - Macro text visibility improved - Player configuration screen text visibility improved - Journal text visibility improved Additions: - Character input fields now no longer require to save and can just be written in. These have now been changed into regular text fields and are no longer the editor. - New Ship Sheet. When you click ‘Create Actor’ a pop-up now appears with ‘character’ and ‘ship’. Please don’t forget to give it a name or an error will occur.
- Loading branch information
Showing
43 changed files
with
1,799 additions
and
320 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,9 +1,16 @@ | ||
import {advantageDisadvantageTerm} from "./settings"; | ||
import * as util from "util"; | ||
|
||
export default function registerHandlebarsHelpers():void { | ||
|
||
Handlebars.registerHelper('advantageDisadvantageTerm', (str) => { | ||
return advantageDisadvantageTerm(str); | ||
}); | ||
|
||
Handlebars.registerHelper('capitalize', (str) => { | ||
if (!util.isString(str)) { | ||
return ''; | ||
} | ||
return str.charAt(0).toUpperCase() + str.slice(1); | ||
}); | ||
} |
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
Oops, something went wrong.