Skip to content

Commit

Permalink
Merge pull request #45 from react-R/develop
Browse files Browse the repository at this point in the history
template improvements
  • Loading branch information
timelyportfolio committed Feb 16, 2021
2 parents c6f7806 + e3e91ff commit 920a41e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion inst/templates/input_r.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#'
#' <Add Description>
#'
#' @importFrom shiny restoreInput
#' @importFrom reactR createReactShinyInput
#' @importFrom htmltools htmlDependency tags
#'
Expand Down
1 change: 0 additions & 1 deletion inst/templates/webpack.config.js.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ module.exports = {
mode: 'development',
entry: path.join(__dirname, 'srcjs', '${name}.jsx'),
output: {
path: path.join(__dirname, 'inst', 'www', '${package}', '${name}'),
path: path.join(__dirname, '${outputPath}'),
filename: '${name}.js'
},
Expand Down
2 changes: 1 addition & 1 deletion inst/templates/widget_r.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ render${capName} <- function(expr, env = parent.frame(), quoted = FALSE) {
}

#' Called by HTMLWidgets to produce the widget's root element.
#' @rdname ${name}-shiny
#' @noRd
${name}_html <- function(id, style, class, ...) {
htmltools::tagList(
# Necessary for RStudio viewer version < 1.2
Expand Down

0 comments on commit 920a41e

Please sign in to comment.