Skip to content

Commit

Permalink
- getRawValueFrom renamed to getValueFrom
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickolay Platonov committed Oct 5, 2010
1 parent da9290a commit 3fc476c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/KiokuJS/Test/TypeMap/Person.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Class('KiokuJS.Test.TypeMap.Person', {
//
// Joose.O.each(instance.meta.getAttributes(), function (attribute, name) {
//
// data[ name ] = collapser.visit(attribute.getRawValueFrom(instance))
// data[ name ] = collapser.visit(attribute.getValueFrom(instance))
// })
//
// return data
Expand Down
2 changes: 1 addition & 1 deletion lib/KiokuJS/TypeMap/Joose.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Class('KiokuJS.TypeMap.Joose', {

if (attribute.hasValue(instance))
if (attributeLevel) {
data[ name ] = collapser.visit(attribute.getRawValueFrom(instance))
data[ name ] = collapser.visit(attribute.getValueFrom(instance))

if (attributeLevel == 2 && attribute.meta.does(KiokuJS.Aspect.AfterCollapse)) attribute.afterCollapse(instance, data[ name ], node, collapser, attribute)

Expand Down

0 comments on commit 3fc476c

Please sign in to comment.