Giter VIP home page Giter VIP logo

Comments (4)

sverweij avatar sverweij commented on May 18, 2024

@hefroy thanks for finding & reporting this! Fix is on its way.

from state-machine-cat.

sverweij avatar sverweij commented on May 18, 2024

@hefroy I've deployed a new version on live (https://state-machine-cat.js.org) in which this issue is fixed - npm will follow suit in about 5 minutes.

=> Could you let me know in case this doesn't solve your issue?

from state-machine-cat.

hefroy avatar hefroy commented on May 18, 2024

Hi @sverweij, thanks for the very fast response! Glad to help out, I really like what you've done here.
Yep, your fix looks good to me!

from state-machine-cat.

hefroy avatar hefroy commented on May 18, 2024

One last thought about this one: do you think it's worth mandating that the escape character '\' is also escaped? About the only reason to do would be for when you have a '\' character at the end of your action string, which will probably never be the case, apart from a weird comment such as:

a -> b : "my_action(); // Here's a bat emoji /|\ ^._.^ /|\";

But it probably isn't worth making users do this for such a slim use-case. What do you think?

from state-machine-cat.

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.