Code Monkey home page Code Monkey logo

Comments (3)

cmather avatar cmather commented on August 15, 2024

Yeah I guess my approach was naive, since I'm not controlling which order the prototype chains actually get hooked up in. So, it looks like this happens when the SuperController also uses create but it's prototype chain gets connected after the child prototyping has already completed. Sigh. Investigating.

from iron-router.

cmather avatar cmather commented on August 15, 2024

Okay, I think I'm going to call this inheritance order thing a botch for now. See #10. My solution only caused inheritance to be delayed until after initial script loading, but didn't build a dependency tree so it only works in some cases. I think that @tmeasday is right - this belongs in Meteor. So for now I'll convert my controllers into a package to control load order in our app and roll back the changes I made to the router.

from iron-router.

cmather avatar cmather commented on August 15, 2024

Keeping list of things to lobby Meteor for pre 1.0. After the fiasco of moving controllers into a package, I'd have to say, controlling load order in app space is a high priority for us at least :-).

from iron-router.

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.