最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to customly build r shiny javascript - Stack Overflow

programmeradmin1浏览0评论

I'm developing an R shiny application, however I need to edit the source js code of the Shiny package slightly. Specifically, I want to modify and edit the function:

value: function $sendMsg(msg) {
          if (!this.$socket.readyState) {
            this.$pendingMessages.push(msg);
          } else {
            this.$socket.send(msg);
          }
        }

which, in my version of shiny (version 1.7.1), is line 12339 of the shiny.js file.

However when downloading the specific version of Shiny from github (i.e. version 1.7.1), updating the relevant file and building the package, the js does not seem to update accordingly.

Hence, can someone point me in right the direction, to how I can update my local clone of the Shiny package with my own js code? Do i need to build the TypeScript files or how does it work?

发布评论

评论列表(0)

  1. 暂无评论