Skip to content

Commit

Permalink
- hasValue moved deeper to hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickolay Platonov committed Oct 4, 2010
1 parent 90b8cf7 commit 042bcdf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/Joose/Managed/Attribute.js
Expand Up @@ -156,11 +156,6 @@ Joose.Managed.Attribute = new Joose.Managed.Class('Joose.Managed.Attribute', {
},


hasValue : function (instance) {
return instance.hasOwnProperty(this.slot)
},


initFromConfig : function (instance, config) {
var name = this.name

Expand Down
5 changes: 5 additions & 0 deletions lib/Joose/Managed/Property/Attribute.js
Expand Up @@ -29,6 +29,11 @@ Joose.Managed.Property.Attribute = new Joose.Proto.Class('Joose.Managed.Property
},


hasValue : function (instance) {
return instance.hasOwnProperty(this.slot)
},


getRawValueFrom : function (instance) {
return instance[this.slot]
},
Expand Down

0 comments on commit 042bcdf

Please sign in to comment.