Skip to content
This repository has been archived by the owner on Jan 12, 2018. It is now read-only.

Assigning properties should mark them as own properties #93

Open
ghost opened this issue Sep 3, 2013 · 0 comments
Open

Assigning properties should mark them as own properties #93

ghost opened this issue Sep 3, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 3, 2013

When assigning a property, the following should hold:

class Foo extends Serenade.Model
  @property "name"

foo = new Foo()
Object.hasOwnProperty(foo, "name") # => false
foo.name = "bar"
Object.hasOwnProperty(foo, "name") # => true
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants