From 03e75b905c8509a979afb02328520d4a98454064 Mon Sep 17 00:00:00 2001 From: jingjingxyk Date: Wed, 15 Jun 2022 21:32:48 +0800 Subject: [PATCH] until method name change --- tools/chromium_extension/js/app/until.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/chromium_extension/js/app/until.js b/tools/chromium_extension/js/app/until.js index 73b3baa..6ab4e31 100644 --- a/tools/chromium_extension/js/app/until.js +++ b/tools/chromium_extension/js/app/until.js @@ -64,7 +64,7 @@ function getParameterValue(name) { return ""; } -function createJsonFile(content, filename) { +function createJSONFile(content, filename) { let blob = new Blob([JSON.stringify(content)], { type: "application/json" }); let url = window.URL.createObjectURL(blob); let a = document.createElement("a"); @@ -100,4 +100,5 @@ export { getParameterValue, sleep, getMediaDevices, + createJsonFile, };