Yihui Xie
07c8f0c4b7
use skipStartupTypeset: true for MathJax config, and call MathJax.Hub.Typeset() later
...
setTimeout() is necessary for uiOutput(); we need to wait for a short while before typesetting math, otherwise two bad things can happen:
1. a math expression may be rendered twice (static output)
2. it is not rendered at all (dynamic ui output)
so the compromise is to typeset math after a short while when the document is ready; 200 ms is an arbitrary choice here
2014-03-18 14:24:23 -05:00
Yihui Xie
95c30649d3
fixes #416 : use tags$code() to escape the code in showcase mode
...
and format(..., indent = FALSE) to prevent indentation of <code>
2014-03-11 22:40:16 -05:00
Joe Cheng
69c0414791
Make showcase mode work with .r files
2014-03-11 09:08:20 -07:00
Yihui Xie
8dd6dabe50
add selectize=TRUE to selectInput(), but disable deletion for single input
...
hopefully this is a good compromise for #404
2014-03-03 12:02:39 -08:00
Joe Cheng
c090c6adf9
Merge pull request #410 from wch/faster-tags-2
...
Faster tags
2014-02-28 09:43:57 -08:00
Yihui Xie
84da0befcd
fixes #306 : remove the possible trailing slash under Windows
...
the cause:
normalize('foo', '/') => C:/foo
normalize('foo/', '/') => C:/foo/
under Windows. For unix, the trailing slash will always be removed in normalizePath()
2014-02-27 18:17:50 -06:00
Yihui Xie
267751c8b9
we have specified winslash='/' before, so it is impossible that this char is \
2014-02-27 17:59:14 -06:00
Winston Chang
8add9f7188
Restructure logic and simplify
2014-02-27 16:02:30 -06:00
Yihui Xie
a100b0991b
closes #119 : we do not have to do this special treatment to the label for sliderInput, and no other inputs do as.character() for their labels
...
if users pass an HTML() object to the label argument, the HTML will be preserved instead of being escaped
2014-02-25 23:58:59 -06:00
Winston Chang
9ce9c5e535
More tag writing tweaks
2014-02-25 23:16:50 -06:00
Yihui Xie
b2d004ca1a
closes #31 : try to avoid scientific notation of numbers
2014-02-25 22:58:08 -06:00
Joe Cheng
60e355c4f5
Faster singleton detection
2014-02-25 18:56:47 -08:00
Yihui Xie
f23f2ff0a0
the url of selectiz.js is already in Details
2014-02-25 19:25:48 -06:00
Yihui Xie
c1b18098f1
Revert "add selectize=TRUE to selectInput(), instead of adding a separate function selectizeInput(), per suggestion of @jjallaire"
...
This reverts commit d3115a3bf3 and closes #404
2014-02-25 19:25:33 -06:00
Joe Cheng
31c39592e3
Faster tag rendering
2014-02-25 16:37:54 -08:00
Yihui Xie
1ecec24727
add a callback argument in renderDataTable() so that users can have access to the DT object
2014-02-25 15:44:00 -06:00
Yihui Xie
607841e947
cosmetic changes
2014-02-25 15:42:36 -06:00
Yihui Xie
80ce7a36f8
make it possible to filter numeric columns based on the specified range of the form "lower,upper"
2014-02-24 23:59:12 -06:00
Yihui Xie
705a8666be
iDisplayLength == -1 means "display all data" ( #400 )
...
we can use this feature via several ways, e.g.
- renderDataTable(..., options = list(bPaginate = FALSE))
- iDisplayLength = -1
- aLengthMenu = list(c(10, 30, -1), list(10, 30, 'All'))
2014-02-24 23:31:28 -06:00
Yihui Xie
9167905118
respect the bRegex option (as well as bRegex_j for individual columns)
...
however, this option is not part of the initialization options, so actually users can never use it...
#400
2014-02-24 23:29:10 -06:00
Yihui Xie
9a7b042594
respect the individual bSearchable_j options in datatables
2014-02-24 21:02:25 -06:00
Joe Cheng
ba510884f2
Avoid using browser URL with host of 0.0.0.0
...
(reviewed by @jmcphers)
2014-02-21 14:58:19 -08:00
Yihui Xie
88d2425ca3
respect the bFilter option: when it is false, do not show the search boxes
2014-02-20 18:21:36 -06:00
Yihui Xie
7117f9e058
closes #392 : options in renderDataTable() can also take a function to return a list
2014-02-20 16:55:44 -06:00
Yihui Xie
c21c407416
a few cosmetic changes
...
= to <-, and camelCase instead of under_score
2014-02-20 16:44:09 -06:00
Yihui Xie
6239466da8
klutometis/roxygen#191 has been fixed, so no longer need explicit @usage
2014-02-20 14:30:51 -06:00
Yihui Xie
7746d75582
bug fix: when evalOptions is of length 1, toJSON() converts it to a scalar; we need to use I() to make sure it is always a vector so that we can later $.each()
2014-02-20 14:24:51 -06:00
Joe Cheng
e0ae931ddd
Merge pull request #402 from rstudio/bugfix/ie8-compatibility
...
Bugfix/ie8 compatibility
2014-02-20 10:24:10 -08:00
Yihui Xie
eb8fec7f2d
when searching is turned on, we need to make sure the filtering indices i are smaller than nrow(filtered data) instead of original data
...
this fixes the bug reported at https://groups.google.com/forum/#!topic/shiny-discuss/xk2Gh7KJQBM
2014-02-19 23:09:25 -06:00
Yihui Xie
2e16fa1d70
fixes #401 : pass numbers as character strings in updateNumericInput() to preserver numeric precision when possible
2014-02-19 22:11:39 -06:00
Jonathan McPherson
1b856c4909
use IE8-compatible events; turn off highlighting in IE8
2014-02-19 16:45:58 -08:00
Joe Cheng
c0cdc4083c
Merge pull request #397 from yihui/select2
...
Selectize.js
2014-02-19 15:45:56 -08:00
Joe Cheng
84a1d8d25e
Add comment about format.shiny.tag's indent param
2014-02-19 15:21:28 -08:00
Yihui Xie
d3115a3bf3
add selectize=TRUE to selectInput(), instead of adding a separate function selectizeInput(), per suggestion of @jjallaire
2014-02-19 12:04:23 -06:00
Yihui Xie
8f24f1b4d6
localize es5-shim.js
2014-02-19 11:58:34 -06:00
Yihui Xie
cf14c6b1e9
add es5-shim.js for IE8
2014-02-19 11:58:34 -06:00
Yihui Xie
49da114caa
add a note about the I() options in selectizeInput()
2014-02-19 11:58:34 -06:00
Yihui Xie
29701d7295
apply checkAsIs() to selectizeInput(), and store the names in data-eval in the script
...
note we switched the order of {} and config.text() in $.extend(), so that users can overwrite the default options like labelField, valueField, ...
2014-02-19 11:58:33 -06:00
Yihui Xie
16279695a9
factor out the code to determine which options should be evaluated into a utility function checkAsIs(), so that it can be applied to selectizeInput() as well
2014-02-19 11:58:33 -06:00
Yihui Xie
b77fc34a7b
new function selectizeInput() to use selectize.js
...
closes #287
2014-02-18 23:25:25 -06:00
Joe Cheng
60c450d57e
Add indent argument to format.shiny.tag
2014-02-18 12:55:11 -08:00
Yihui Xie
5c34aa0bb5
remove includeMathJax() and use withMathJax() instead, per suggestion of @jcheng5
2014-02-17 18:52:25 -06:00
Joe Cheng
9770bd8005
Tweak two Rd titles
2014-02-17 16:01:57 -08:00
Joe Cheng
1aed36bd16
Revert "Merge pull request #298 from jcheng5/remove-catools"
...
This reverts commit 0ad9a5f9c6 , reversing
changes made to c31d91668a .
2014-02-14 13:35:41 -08:00
Yihui Xie
f60a64c8db
instead of assuming fnFooBar should be evaluated, let's use I() explicitly
2014-02-11 23:12:19 -06:00
Yihui Xie
c0f7ba9d46
use Rd2roxygen to convert the two manually written Rd files to roxygen comments, so that all Rd files are automatically generated from roxygen2 now
2014-02-11 22:59:37 -06:00
Yihui Xie
398dab808c
use @include to make sure the Collate field is correctly generated
2014-02-11 22:59:37 -06:00
Yihui Xie
3530871560
strip white spaces
2014-02-11 22:59:37 -06:00
Joe Cheng
e37a5d0394
Merge remote-tracking branch 'jcheng5/feature/absolute-panel'
...
Conflicts:
NEWS
man/validateCssUnit.Rd
2014-02-11 14:17:58 -08:00
Yihui Xie
e5a8e77e2a
Merge pull request #364 from yihui/feature/mathjax
...
closes #25 : a new function includeMathJax()
2014-02-11 16:06:48 -06:00