jshintr | R Documentation |
HTML widget which runs 'jshint' on the given JavaScript file.
jshintr(filepath, width = NULL, height = "auto", elementId = NULL)
filepath |
path to a JavaScript file |
width, height |
dimensions (CSS properties) |
elementId |
a HTML id for the widget (usually useless) |
A htmlwidget
object.
You can also run this widget as a RStudio addin.
jsfile <- system.file("jsexample.js", package = "jshintr") cat(readLines(jsfile), sep = "\n") jshintr(jsfile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.