Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can.List.Map documentation #675

Merged
merged 1 commit into from
Jan 22, 2014
Merged

can.List.Map documentation #675

merged 1 commit into from
Jan 22, 2014

Conversation

andykant
Copy link
Contributor

The can.List.Map example do not work.

The Map type is passed in the instanceProperties instead of the staticProperties.

User.List = can.List.extend({
Map: User
});

It should be :
User.List = can.List.extend({
Map: User
}, {});

@andykant
Copy link
Contributor

Good catch, thanks!

@Mamuuut Mamuuut closed this Jan 22, 2014
@andykant andykant reopened this Jan 22, 2014
andykant added a commit that referenced this pull request Jan 22, 2014
@andykant andykant merged commit 8a56c68 into master Jan 22, 2014
@andykant andykant deleted the can-list_doc_tweak branch January 22, 2014 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants