Skip to content

Commit

Permalink
Bump webR version up to v0.2.1 (#27)
Browse files Browse the repository at this point in the history
* Bump webR version up to v0.2.1

* Bump extension version
  • Loading branch information
coatless authored Sep 13, 2023
1 parent ed0292c commit 3ac3256
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion _extensions/webr/_extension.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion _extensions/webr/webr-init.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _extensions/webr/webr-serviceworker.js
Original file line number Diff line number Diff line change
@@ -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');
2 changes: 1 addition & 1 deletion _extensions/webr/webr-worker.js
Original file line number Diff line number Diff line change
@@ -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');
6 changes: 3 additions & 3 deletions _extensions/webr/webr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3ac3256

Please sign in to comment.