Code Monkey home page Code Monkey logo

Comments (4)

kevinranks avatar kevinranks commented on July 17, 2024

Hi ZxBud.

Could you please provide a real life example so we can understand your needs better?

from emojione.

bud-mo avatar bud-mo commented on July 17, 2024

I'm trying to integrate the module in a system which uses regexps to find if there are objects which need to be replace and then (asynchronously) the system will apply the modifications.

A simple :

    ns.asciiRegexp = asciiRegexp;
    ns.unicodeRegexp = unicodeRegexp;
    ns.shortnameRegexp = shortnameRegexp;
    ns.emojioneList = emojioneList;
    ns.asciiList = asciiList;

will be enough, I'm trying to avoid to fork the module to maintain it updated.

The List export is useful to build a complete list at runtime.

from emojione.

kevinranks avatar kevinranks commented on July 17, 2024

I wanted to leave these variables out of the emojione namespace because I don't want to encourage users to modify the variables at their will. However, I don't see much harm coming from it so I went ahead and updated the JS as per your request. We just released 1.2.5 so it should be on jsdelivr within 30mins. Thanks!

from emojione.

bud-mo avatar bud-mo commented on July 17, 2024

Thankyou, I Think the regexes can be cloned before the export in order to avoid contamination.

from emojione.

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.