diff options
author | Vijay A <avijayr@protonmail.com> | 2021-09-01 14:20:00 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-09-01 14:20:00 +0530 |
commit | d5392388c6b970fee0e930fdf8377cc323881884 (patch) | |
tree | 6b415342c1411ec2ffe5e9b6f160da6cce1c12bf /src/webview/lib/RecipeWebview.js | |
parent | docs: upgraded version to 5.6.1-beta.2 (diff) | |
parent | docs: updated Changelog with cumulative changes for 5.6.1-beta.3 [skip ci] (diff) | |
download | ferdium-app-d5392388c6b970fee0e930fdf8377cc323881884.tar.gz ferdium-app-d5392388c6b970fee0e930fdf8377cc323881884.tar.zst ferdium-app-d5392388c6b970fee0e930fdf8377cc323881884.zip |
Merge remote-tracking branch 'origin/develop' into release
Diffstat (limited to 'src/webview/lib/RecipeWebview.js')
-rw-r--r-- | src/webview/lib/RecipeWebview.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/webview/lib/RecipeWebview.js b/src/webview/lib/RecipeWebview.js index 96caa125e..2bd6bad8d 100644 --- a/src/webview/lib/RecipeWebview.js +++ b/src/webview/lib/RecipeWebview.js | |||
@@ -47,6 +47,15 @@ class RecipeWebview { | |||
47 | } | 47 | } |
48 | 48 | ||
49 | /** | 49 | /** |
50 | * Safely parse the given text into an integer | ||
51 | * | ||
52 | * @param {string | number | undefined | null} text to be parsed | ||
53 | */ | ||
54 | safeParseInt(text) { | ||
55 | return this.badgeHandler.safeParseInt(text); | ||
56 | } | ||
57 | |||
58 | /** | ||
50 | * Injects the contents of a CSS file into the current webview | 59 | * Injects the contents of a CSS file into the current webview |
51 | * | 60 | * |
52 | * @param {Array} files CSS files that should be injected. This must | 61 | * @param {Array} files CSS files that should be injected. This must |