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

Conversation

Projects
None yet
2 participants
@andykant
Contributor

andykant commented Jan 22, 2014

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

This comment has been minimized.

Show comment
Hide comment
@andykant

andykant Jan 22, 2014

Contributor

Good catch, thanks!

Contributor

andykant commented Jan 22, 2014

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

1 check passed

default The Travis CI build passed
Details

@andykant andykant deleted the can-list_doc_tweak branch Jan 22, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment