diff --git a/_extensions/webr/_extension.yml b/_extensions/webr/_extension.yml index 89acbbdc..168939c4 100644 --- a/_extensions/webr/_extension.yml +++ b/_extensions/webr/_extension.yml @@ -1,7 +1,7 @@ name: webr title: Embedded webr code cells author: James Joseph Balamuta -version: 0.3.0 +version: 0.3.1 quarto-required: ">=1.2.198" contributes: filters: diff --git a/_extensions/webr/webr-init.html b/_extensions/webr/webr-init.html index f9590836..8bebb656 100644 --- a/_extensions/webr/webr-init.html +++ b/_extensions/webr/webr-init.html @@ -79,7 +79,7 @@ } // Retrieve the webr.mjs - import { WebR } from "https://webr.r-wasm.org/v0.2.0/webr.mjs"; + import { WebR } from "https://webr.r-wasm.org/v0.2.1/webr.mjs"; // Populate WebR options with defaults or new values based on // webr meta diff --git a/_extensions/webr/webr-serviceworker.js b/_extensions/webr/webr-serviceworker.js index 200dc96e..82f8978f 100644 --- a/_extensions/webr/webr-serviceworker.js +++ b/_extensions/webr/webr-serviceworker.js @@ -1 +1 @@ -importScripts('https://webr.r-wasm.org/v0.2.0/webr-serviceworker.js'); +importScripts('https://webr.r-wasm.org/v0.2.1/webr-serviceworker.js'); diff --git a/_extensions/webr/webr-worker.js b/_extensions/webr/webr-worker.js index b8a13600..12dd0d5a 100644 --- a/_extensions/webr/webr-worker.js +++ b/_extensions/webr/webr-worker.js @@ -1 +1 @@ -importScripts('https://webr.r-wasm.org/v0.2.0/webr-worker.js'); +importScripts('https://webr.r-wasm.org/v0.2.1/webr-worker.js'); diff --git a/_extensions/webr/webr.lua b/_extensions/webr/webr.lua index 0eaadf1a..cf99803b 100644 --- a/_extensions/webr/webr.lua +++ b/_extensions/webr/webr.lua @@ -9,7 +9,7 @@ local hasDoneWebRSetup = false -- https://docs.r-wasm.org/webr/latest/api/js/interfaces/WebR.WebROptions.html -- Define a base compatibile version -local baseVersionWebR = "0.1.1" +local baseVersionWebR = "0.2.1" -- Define where WebR can be found local baseUrl = "" @@ -276,14 +276,14 @@ function ensureWebRSetup() quarto.doc.add_html_dependency({ name = "webr-worker", version = baseVersionWebR, - seviceworkers = {"webr-worker.js"}, -- Kept to avoid error text. + --seviceworkers = {"webr-worker.js"}, -- Kept to avoid error text. serviceworkers = {"webr-worker.js"} }) quarto.doc.add_html_dependency({ name = "webr-serviceworker", version = baseVersionWebR, - seviceworkers = {"webr-serviceworker.js"}, -- Kept to avoid error text. + --seviceworkers = {"webr-serviceworker.js"}, -- Kept to avoid error text. serviceworkers = {"webr-serviceworker.js"} }) end