Skip to content

Commit

Permalink
Explicitly add jquery and jquery dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
juba committed Aug 29, 2016
1 parent 73d999f commit e551158
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion R/html_clean.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ html_clean <- function(fig_width = 6,
...) {

## js and css dependencies
extra_dependencies <- list(html_dependency_bootstrap("bootstrap"),
extra_dependencies <- list(rmarkdown::html_dependency_jquery(),
rmarkdown::html_dependency_jqueryui(),
html_dependency_bootstrap("bootstrap"),
html_dependency_magnific_popup(),
html_dependency_clean())

Expand Down
4 changes: 3 additions & 1 deletion R/html_docco.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ html_docco <- function(fig_width = 6,
...) {

## js and css dependencies
extra_dependencies <- list(html_dependency_bootstrap("bootstrap"),
extra_dependencies <- list(rmarkdown::html_dependency_jquery(),
rmarkdown::html_dependency_jqueryui(),
html_dependency_bootstrap("bootstrap"),
html_dependency_magnific_popup(),
html_dependency_docco())

Expand Down
4 changes: 3 additions & 1 deletion R/readthedown.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ readthedown <- function(fig_width = 8,
...) {

## js and css dependencies
extra_dependencies <- list(html_dependency_bootstrap(),
extra_dependencies <- list(rmarkdown::html_dependency_jquery(),
rmarkdown::html_dependency_jqueryui(),
html_dependency_bootstrap(),
html_dependency_magnific_popup(),
html_dependency_readthedown())

Expand Down

0 comments on commit e551158

Please sign in to comment.