Skip to content

Commit 920a41e

Browse files
Merge pull request #45 from react-R/develop
template improvements
2 parents c6f7806 + e3e91ff commit 920a41e

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

inst/templates/input_r.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#'
33
#' <Add Description>
44
#'
5-
#' @importFrom shiny restoreInput
65
#' @importFrom reactR createReactShinyInput
76
#' @importFrom htmltools htmlDependency tags
87
#'

inst/templates/webpack.config.js.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ module.exports = {
44
mode: 'development',
55
entry: path.join(__dirname, 'srcjs', '${name}.jsx'),
66
output: {
7-
path: path.join(__dirname, 'inst', 'www', '${package}', '${name}'),
87
path: path.join(__dirname, '${outputPath}'),
98
filename: '${name}.js'
109
},

inst/templates/widget_r.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ render${capName} <- function(expr, env = parent.frame(), quoted = FALSE) {
5050
}
5151

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

0 commit comments

Comments
 (0)