Skip to content

Commit 7c64654

Browse files
re-pkgdown
1 parent fa66add commit 7c64654

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

R/dependencies.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ html_dependency_reacttools <- function(){
109109
#' tags$script(HTML(
110110
#' "
111111
#' var obs = mobx.observable({val: null})
112-
#' mobx.autorun(function() => {
112+
#' mobx.autorun(function() {
113113
#' document.querySelector('#test').innerText = obs.val
114114
#' })
115115
#' setInterval(
@@ -121,6 +121,7 @@ html_dependency_reacttools <- function(){
121121
#' )
122122
#' )
123123
#'
124+
#' \dontrun{
124125
#' # use with react
125126
#' library(htmltools)
126127
#' library(reactR)
@@ -145,6 +146,7 @@ html_dependency_reacttools <- function(){
145146
#' )))
146147
#' )
147148
#' )
149+
#' }
148150

149151
html_dependency_mobx <- function(react = TRUE){
150152
hd <- htmltools::htmlDependency(

docs/reference/html_dependency_mobx.html

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/html_dependency_mobx.Rd

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)