Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: reactR
Type: Package
Title: React Helpers
Version: 0.6.1
Date: 2024-09-14
Version: 0.6.2
Date: 2025-01-31
Authors@R: c(
person(
"Facebook", "Inc"
Expand Down Expand Up @@ -31,6 +31,11 @@ Authors@R: c(
, role = c("aut")
, comment = "R interface"
, email = "glin@glin.io"
),
person(
"Jinhwan", "Kim"
, role = c("ctb")
, email = "hwanistic@gmail.com"
)
)
Maintainer: Kent Russell <kent.russell@timelyportfolio.com>
Expand Down
6 changes: 3 additions & 3 deletions R/dependencies.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ html_dependency_react <- function(offline=TRUE){
#' @importFrom htmltools htmlDependency
#' @export
html_dependency_corejs <- function() {
#shim/polyfill for ES5 and ES6 so react will show up in RStudio Viewer
#https://unpkg.com/core-js@2.5.3/
# shim/polyfill for ES5 and ES6 so react will show up in RStudio Viewer
# https://cdn.jsdelivr.net/npm/core-js-bundle@3.40.0/minified.min.js
htmltools::htmlDependency(
name = "core-js",
version = "2.5.3",
version = "3.40.0",
src = c(file=system.file("www/core-js/", package="reactR")),
script = "shim.min.js"
)
Expand Down
27 changes: 19 additions & 8 deletions inst/www/core-js/shim.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions reactR.Rproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Version: 1.0
ProjectId: b42f795d-e6f7-4256-b7d6-1b4b1240a938

RestoreWorkspace: Default
SaveWorkspace: Default
Expand Down