Git Product home page Git Product logo

Comments (6)

indirect avatar indirect commented on June 21, 2024

I should point out that, for the record, I am seeing this problem both in an ember-cli application running Ember 2.0.1 and an ember-cli addon running Ember 2.0.1. It was easier to create the minimal reproduction case based on the addon, so I did that.

If there's anything else I can do that would be helpful (or if there are any pointers that would help in debugging this), please let me know. I've already spent a lot of time digging around inside the broccoli trees, and I don't mind spending more if it will help get the problem solved.

Thanks!

from ember-moment.

stefanpenner avatar stefanpenner commented on June 21, 2024

It appears included isn't being invoked twice but the addon tree is invoked twice. (which itself is dubious).

Taking a look..

from ember-moment.

stefanpenner avatar stefanpenner commented on June 21, 2024

A quick fix would be for this check to be inverted, rather make the legacy the opt in, rather then opt out.

The root issue appears to be multiple paths to initializing addons due to how the legacy registry worked...

from ember-moment.

jasonmit avatar jasonmit commented on June 21, 2024

I am fine at this point dropping legacy support and versioning accordingly. Thoughts Stefan?

from ember-moment.

stefanpenner avatar stefanpenner commented on June 21, 2024

I am fine at this point dropping legacy support and versioning accordingly. Thoughts Stefan?

👍

from ember-moment.

jasonmit avatar jasonmit commented on June 21, 2024

Versioned as 4.0.0 and also will resolve this issue.

from ember-moment.

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.