Giter VIP home page Giter VIP logo

Comments (7)

heapwolf avatar heapwolf commented on June 1, 2024

I am unable to reproduce this, there are a few possibilities. 1) not all my code is committed properly (I've been traveling while working on this), 2) I've not published latest to npm (or you need to update from npm), 3) make sure you git pull from head. Let me know

from eventemitter2.

kadirpekel avatar kadirpekel commented on June 1, 2024

I see...

I'm using the latest 'master' commit 9757112
fyi.

from eventemitter2.

kadirpekel avatar kadirpekel commented on June 1, 2024

Hmmm, also the cases above works for the latest npm version.

If you work with a dirty HEAD beyond npm releases, please omit this, otherwise i think that is a problem to fix :)

fyi, again...

from eventemitter2.

heapwolf avatar heapwolf commented on June 1, 2024

looking at this now that im back.

from eventemitter2.

heapwolf avatar heapwolf commented on June 1, 2024

Issue 1 resolved. Working on issue 2.

from eventemitter2.

heapwolf avatar heapwolf commented on June 1, 2024

Heh. Issue 2 is expected behavior.

['foo','bar','baz'] !== ['foo','*']
['foo','bar','baz'] === ['foo','*','*']

I am lead to believe that you desire the wild card to mean "everything after, unconditionally". The current behavior models the unix file-system wild-card style, its segment explicit, rather than arbitrary. I'm open to changing this if people want it.

from eventemitter2.

kadirpekel avatar kadirpekel commented on June 1, 2024

Hi, issue1 seems to be solved, thanks!

Personally if we talk about the 'namespace' concept, i expect the wildcard matches 'everything after, unconditionally'. And i suppose that we are talking about 'Namespaced events' in a programmatic manner imho.

But of course, your choice is your flavor all time.

from eventemitter2.

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.