mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-10 23:48:01 -05:00
Compare commits
3 Commits
jeff/integ
...
joe/bugfix
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4b5997c86 | ||
|
|
7532ca53d9 | ||
|
|
80f8bf440e |
@@ -14,7 +14,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
||||
|
||||
var exports = window.Shiny = window.Shiny || {};
|
||||
|
||||
exports.version = "1.0.5.9000"; // Version number inserted by Grunt
|
||||
exports.version = "{{ VERSION }}"; // Version number inserted by Grunt
|
||||
|
||||
var origPushState = window.history.pushState;
|
||||
window.history.pushState = function () {
|
||||
@@ -3957,7 +3957,11 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
||||
var scripts = $.map(asArray(dep.script), function (scriptName) {
|
||||
return $("<script>").attr("src", href + "/" + encodeURI(scriptName));
|
||||
});
|
||||
$head.append(scripts);
|
||||
// avoid jQuery’s magic eval()
|
||||
scripts.forEach(function (e) {
|
||||
e[0].async = false;
|
||||
document.head.appendChild(e[0]);
|
||||
});
|
||||
}
|
||||
|
||||
if (dep.attachment) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
6
inst/www/shared/shiny.min.js
vendored
6
inst/www/shared/shiny.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -103,7 +103,11 @@ function renderDependency(dep) {
|
||||
var scripts = $.map(asArray(dep.script), function(scriptName) {
|
||||
return $("<script>").attr("src", href + "/" + encodeURI(scriptName));
|
||||
});
|
||||
$head.append(scripts);
|
||||
// avoid jQuery’s magic eval()
|
||||
scripts.forEach(function(e) {
|
||||
e[0].async = false;
|
||||
document.head.appendChild(e[0]);
|
||||
});
|
||||
}
|
||||
|
||||
if (dep.attachment) {
|
||||
|
||||
Reference in New Issue
Block a user