Git Product home page Git Product logo

Comments (6)

ConradIrwin avatar ConradIrwin commented on July 30, 2024

raw is only needed to stop rails HTML-escaping the result, the .to_json.gsub() is the only bit you need, and the standard libraries' JSON will work just fine.

from showterm.io.

zotherstupidguy avatar zotherstupidguy commented on July 30, 2024

thanks for the tip, i have been running into some weird issues if the replay contains emacs, is there a way to debug showterm to understand which sequence is causing the error and maybe trace it?

from showterm.io.

ConradIrwin avatar ConradIrwin commented on July 30, 2024

you might want to try upgrading the js emulator, the showterm code itself doesn't do much with the values

from showterm.io.

zotherstupidguy avatar zotherstupidguy commented on July 30, 2024

Thanks again!! really appreciate it! I did upgrade the term.js file but still getting the same error, "Uncaught TypeError: Cannot set property 'innerHTML' of undefined" the latest term.js file "this.children[y].innerHTML = out;"

it could help to track down whats wrong if i am sure it is not something related to the showterm improved script implementation as i am not using it for this quick hack. so I guess its a term.js issue now!

from showterm.io.

ConradIrwin avatar ConradIrwin commented on July 30, 2024

The script implementation in the repo is just for mac users, it's probably out of date by now too :) I don't think I changed anything

from showterm.io.

zotherstupidguy avatar zotherstupidguy commented on July 30, 2024

I think i was getting errors due to big terminal dimensions!!

from showterm.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.