Skip to content
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.

Add DynamicEntity, which is an Entity that supports NSM-based property access. #12

Merged
merged 5 commits into from Jul 3, 2013

Conversation

alxhub
Copy link
Contributor

@alxhub alxhub commented Jul 3, 2013

No description provided.

// Setter member names have an '=' at the end, strip it.
var key = memberName.substring(0, memberName.length - 1);
this[key] = invocation.positionalArguments[0];
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Throw if invocation is neither getter nor setter.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@yjbanov
Copy link
Member

yjbanov commented Jul 3, 2013

LGTM

alxhub added a commit that referenced this pull request Jul 3, 2013
Add DynamicEntity, which is an Entity that supports NSM-based property access.
@alxhub alxhub merged commit 513ccd9 into google:master Jul 3, 2013
@albertog albertog mentioned this pull request Dec 30, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants