Winston Chang
3a25a2dcbf
Upgrade to jQuery 1.12.4. Closes #1251
2016-08-10 15:24:08 -05:00
Winston Chang
3223332906
Merge pull request #1209 from wch/bookmarkable-state
...
Bookmarkable state
2016-08-05 16:15:12 -05:00
Winston Chang
f78bd08440
Correctly handle bookmark options for global.R and app.R
2016-08-05 16:08:49 -05:00
Winston Chang
8346f5ab08
Fix enableBookmarking references
2016-08-03 14:41:37 -05:00
Barbara Borges Ribeiro
8a2846461b
removed extra line at end of example section
2016-08-02 03:40:56 +01:00
Winston Chang
dcf321047f
When bookmarkStore="disable", don't restore
2016-07-21 13:55:45 -05:00
Winston Chang
f44d232e8b
Add check that UI is a function when restoring state
2016-07-05 16:28:09 -05:00
Winston Chang
cecb04b097
Make restore context available from server code
2016-05-12 10:06:43 -05:00
Winston Chang
a6a35905a7
Clearer variable names
2016-05-12 10:05:37 -05:00
Joe Cheng
f4a44664c7
Bookmarkable state wip
2016-05-12 10:05:36 -05:00
Winston Chang
760dc5d0c6
Add babel polyfill
2016-03-18 14:15:36 -05:00
mostly-harmless
b5cfd4152e
Fix for https://github.com/rstudio/shiny/issues/692
2016-02-12 22:15:34 -08:00
Winston Chang
0e894cb043
Use templates from htmltools
2015-12-10 15:11:03 -06:00
Joe Cheng
5c3ac75b34
Errors in ui function should get stack traces
2015-11-16 12:46:22 -08:00
Winston Chang
1e1a897970
Update to jQuery 1.11.3
2015-10-19 13:31:44 -05:00
Yihui Xie
9afcd2a411
don't declare encoding on the anonymouse file connection
...
otherwise writeLines(useBytes = TRUE) may not work (#961 )
2015-09-22 01:11:38 -05:00
Yihui Xie
0afd1649c1
textConnection() can be lossy; use an anonymous file connection instead to preserve UTF-8 characters
2015-09-22 01:11:37 -05:00
Yihui Xie
0947a63103
make sure writeLines() does not convert text to native encoding
2015-09-22 01:11:32 -05:00
Yihui Xie
79223bddc5
make sure the UI HTML is rendered into a connection with UTF-8 encoding
2015-09-21 22:25:12 -05:00
Winston Chang
241a482236
Add explicit namespace to non-base functions
2015-08-04 12:30:41 -05:00
Winston Chang
fdacb4fe7d
Add shiny.minified option for minified JavaScript. Closes #826
2015-06-01 20:58:10 -05:00
Winston Chang
f70fcddaad
Clarify docs for shinyServer and shinyUI
2015-02-10 10:46:51 -06:00
Winston Chang
b39fcc75d0
Add minified shiny.js
2014-12-08 16:23:02 -06:00
Joe Cheng
075583f4be
Use minified jquery
2014-12-08 09:17:04 -08:00
Winston Chang
ed368a225d
Refactor showcase ui code to handle body tags
2014-11-25 13:46:22 -06:00
Winston Chang
2f17f392d5
If UI has body tag, don't wrap in another body
2014-11-25 13:46:21 -06:00
Yihui Xie
ab1494777d
fixes #573 : use the new MathJax CDN
2014-08-20 16:40:00 -05:00
Winston Chang
d393577ba8
uiHttpHandler: return NULL if no ui
...
This restores missing UI detection for single-file apps, which was lost
in 0f431ed .
2014-08-13 15:39:18 -05:00
Winston Chang
0f431ed384
Detect showcase mode for single-file apps
2014-08-12 16:36:00 -05:00
Yihui Xie
ab56b72f39
json2.js modified and uglified from https://github.com/yihui/JSON-js via http://lisperator.net/uglifyjs/
...
I'm using the date of json2 as its version number, since it does not really have a version number
This should close rstudio/shiny-server#79
2014-07-10 17:56:23 -05:00
Yihui Xie
81e35f0cc3
make sure the HTML content is encoded in UTF8
2014-06-13 18:02:20 -05:00
Joe Cheng
eb9f5f9025
Dependency fixes
...
1) Give bootstrap deps a path so they can be used in static docs
2) Resolve dependencies before rendering page (whoops)
2014-05-31 08:06:03 -07:00
Joe Cheng
44a795bf18
Extract HTML functionality to htmltools library
2014-05-31 08:06:03 -07:00
Joe Cheng
77bff6e6c2
Allow shinyUI and shinyServer calls to not be the last expression in ui.R and server.R
2014-05-08 16:14:53 -07:00
Joe Cheng
e395ae6555
Merge branch 'html-deps'
...
Code reviewed by @jmcphers
Conflicts:
DESCRIPTION
R/bootstrap.R
R/reactives.R
2014-04-24 16:37:46 -07:00
Joe Cheng
4028dbfda1
Do typeset mathjax on initial load
...
Fixes initial load not being typeset on e.g.:
https://gist.github.com/jcheng5/a0d123d58737590ac21e
2014-04-21 13:59:17 -07:00
Joe Cheng
fcd941d33d
Use html_dependencies for showcase mode
...
For some reason, showcase mode was breaking sliders without this (e.g. 06_tabsets)
2014-04-21 12:34:54 -07:00
Yihui Xie
2720cfe346
should use MathJax.Hub.Queue() instead of .Typeset(): finally solved the mysterious race condition issue
...
http://docs.mathjax.org/en/latest/typeset.html
2014-04-21 01:02:05 -05:00
Joe Cheng
3deb4c3f42
Fix initial dependency handling, fix knit_print
2014-04-18 16:21:13 -07:00
Joe Cheng
6945091238
First attempt at HTML dependency management
2014-04-18 15:18:51 -07:00
Jonathan McPherson
81bd57c5ea
emit appropriate warnings in R Markdown mode; collect <head> contents
2014-04-11 10:53:25 -07:00
Joe Cheng
e5e54fe4c1
Implement reactive domains
2014-04-07 21:55:05 -07:00
Joe Cheng
df34dcdb0c
Pass R CMD check
2014-04-03 19:37:45 -07:00
Joe Cheng
b187485172
Major refactor of runApp/addSubApp pipeline
...
- shinyUI and shinyServer calls are no longer required in ui.R and server.R
- shinyAppObj renamed to shinyApp
- runApp can take pathname, list(ui=..., server=...), shinyApp, and shinyAppDir
as appDir argument
- Unify all Shiny app representations around shiny.appobj
- BREAKING CHANGE: shinyUI no longer has a "path" argument
- Instead of returning UI, ui.R can return a function that returns UI; it will
be invoked each time the page is requested. (Note that this is NOT the same
as saying ui.R will be run each time the page is requested.) The function can
take either no args or a single "req" arg which is the request.
2014-04-03 01:42:01 -07:00
Yihui Xie
35090251ef
basically library(pkg) = if (!require(pkg)) stop()
2014-03-24 23:49:34 -05:00
Winston Chang
93e276bd9b
Fix capitalization of markdown package
2014-03-24 12:35:12 -05:00
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
5c34aa0bb5
remove includeMathJax() and use withMathJax() instead, per suggestion of @jcheng5
2014-02-17 18:52:25 -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
3530871560
strip white spaces
2014-02-11 22:59:37 -06:00