Split up shiny.js

This commit is contained in:
Winston Chang
2015-03-23 13:57:45 -05:00
parent b7fe3ed745
commit ceb428b8bd
38 changed files with 4449 additions and 255 deletions

View File

@@ -0,0 +1,11 @@
var textOutputBinding = new OutputBinding();
$.extend(textOutputBinding, {
find: function(scope) {
return $(scope).find('.shiny-text-output');
},
renderValue: function(el, data) {
$(el).text(data);
}
});
outputBindings.register(textOutputBinding, 'shiny.textOutput');