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

__get__ not supported in block helper functions #18

Closed
donpark opened this issue Sep 13, 2011 · 7 comments
Closed

__get__ not supported in block helper functions #18

donpark opened this issue Sep 13, 2011 · 7 comments
Labels

Comments

@donpark
Copy link
Collaborator

donpark commented Sep 13, 2011

this.__get__ function is supposed to be there but is not.

It's not clear if this is a Handlebars bug or not.

@defunctzombie
Copy link
Collaborator

Is there more information for this or a stacktrace?

@donpark
Copy link
Collaborator Author

donpark commented May 2, 2012

Yes, issue #14

@fellars
Copy link

fellars commented May 3, 2012

Also, stackoverflow discussion here: http://stackoverflow.com/questions/9551614/what-happened-to-the-get-function-in-handlebars-js/10421938

This problem is in handlebars - I don't think that function exists anymore. I don't use hbs (yet :) ), just using handlebars clientside and get same error, so I think this function was removed at some point from handlebars. Not sure why as I would like to use it.

@defunctzombie
Copy link
Collaborator

I have opened a new issue there handlebars-lang/handlebars.js#234

We will see what they say. I have a feeling that __get__ no longer exists and this will no longer be the way to access the context in a block.

@donpark
Copy link
Collaborator Author

donpark commented May 3, 2012

Time heals all wounds...and bugs. :-)

@defunctzombie
Copy link
Collaborator

Closing since I don't think the issue is valid anymore given the different ways to do things now.

@donpark
Copy link
Collaborator Author

donpark commented Oct 31, 2012

agreed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants