Git Product home page Git Product logo

Comments (6)

RobbieTheWagner avatar RobbieTheWagner commented on August 24, 2024 1

@teddyzeenny @locks @rwjblue @krisselden this is an extremely old issue. Do we still need to do anything here? If not, I am inclined to close. It must not be a huge deal, since it has been open for 5 years 😛

from ember-inspector.

locks avatar locks commented on August 24, 2024

the first time you inspect a controller for example, you may see 2 properties in “own properties” and the rest in inherited mixins
if you close it and re-inspect it (in the object controller) you will see that all properties were moved to “own properties"

Repro:

object.hasOwnProperty('foo'); // false
Ember.addObserver(object, 'foo', fn);
Ember.removeObserver(object, 'foo', fn);
object.hasOwnProperty('foo'); // true

Can we get some input on whether this is solvable, or if it even matters @krisselden?

from ember-inspector.

RobbieTheWagner avatar RobbieTheWagner commented on August 24, 2024

Is this still an issue @teddyzeenny?

from ember-inspector.

teddyzeenny avatar teddyzeenny commented on August 24, 2024

I believe it is, yes. It's a mandatory setter issue (in Ember core), not specific to the inspector, but the inspector exposes the issue as it both adds observers to all properties and displays the properties in a way that clearly differentiates "own properties" from the rest of the properties.

from ember-inspector.

RobbieTheWagner avatar RobbieTheWagner commented on August 24, 2024

@teddyzeenny is there a fix to do here or should we open an issue in Ember itself?

from ember-inspector.

RobbieTheWagner avatar RobbieTheWagner commented on August 24, 2024

Due to lack of response, I am closing this issue. If anyone would like to reopen, and this is still an issue we want to tackle, let me know.

from ember-inspector.

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.