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

Allow for passing templates on view initialization. Fixes #75 #76

Merged
merged 1 commit into from Nov 26, 2014

Conversation

Projects
None yet
5 participants
@kamilogorek
Member

kamilogorek commented Nov 5, 2014

Issue mentioned here #75
What I'm only not quite sure is whether we should make it prior or after initialize function itself.

Show outdated Hide outdated ampersand-view.js
@wraithgar

This comment has been minimized.

Show comment
Hide comment
@wraithgar

wraithgar Nov 5, 2014

Member

+1 I was wrong @kamilogorek was right and also made a good PR with a test.

Member

wraithgar commented Nov 5, 2014

+1 I was wrong @kamilogorek was right and also made a good PR with a test.

@wraithgar

This comment has been minimized.

Show comment
Hide comment
@wraithgar

wraithgar Nov 5, 2014

Member

Sorry didn't see your this.initialize comment. Definitely needs to go before because if it's set in .extend it will be present, so it needs to be present if set during init. Does that make sense?

Member

wraithgar commented Nov 5, 2014

Sorry didn't see your this.initialize comment. Definitely needs to go before because if it's set in .extend it will be present, so it needs to be present if set during init. Does that make sense?

@kamilogorek

This comment has been minimized.

Show comment
Hide comment
@kamilogorek

kamilogorek Nov 5, 2014

Member

You want to set it in a way that template will be available inside initialize function right? Makes sense.

Member

kamilogorek commented Nov 5, 2014

You want to set it in a way that template will be available inside initialize function right? Makes sense.

@latentflip

This comment has been minimized.

Show comment
Hide comment
@latentflip

latentflip Nov 12, 2014

Contributor

+1 it'd have been nice if template was already a prop, but meh, we shouldn't be binding to it ever so I'm okay enough with this.

Contributor

latentflip commented Nov 12, 2014

+1 it'd have been nice if template was already a prop, but meh, we shouldn't be binding to it ever so I'm okay enough with this.

@latentflip

This comment has been minimized.

Show comment
Hide comment
@latentflip

latentflip Nov 12, 2014

Contributor

Is this ready to go then?

Contributor

latentflip commented Nov 12, 2014

Is this ready to go then?

@kamilogorek

This comment has been minimized.

Show comment
Hide comment
@kamilogorek

kamilogorek Nov 12, 2014

Member

Looks like it is.

Member

kamilogorek commented Nov 12, 2014

Looks like it is.

@latentflip

This comment has been minimized.

Show comment
Hide comment
@latentflip

latentflip Nov 12, 2014

Contributor

@kamilogorek wanna do the honours then? :)

Contributor

latentflip commented Nov 12, 2014

@kamilogorek wanna do the honours then? :)

@kamilogorek

This comment has been minimized.

Show comment
Hide comment
@kamilogorek

kamilogorek Nov 12, 2014

Member

@latentflip I don't have npm accesses to release it, so feel free to do that :)

Member

kamilogorek commented Nov 12, 2014

@latentflip I don't have npm accesses to release it, so feel free to do that :)

latentflip added a commit that referenced this pull request Nov 26, 2014

Merge pull request #76 from kamilogorek/feature/initialization-template
Allow for passing templates on view initialization. Fixes #75

@latentflip latentflip merged commit f5488e6 into AmpersandJS:master Nov 26, 2014

@latentflip

This comment has been minimized.

Show comment
Hide comment
@latentflip

latentflip Nov 26, 2014

Contributor

Released at 7.2.0

Contributor

latentflip commented Nov 26, 2014

Released at 7.2.0

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