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

Handlesbars.js 4.7.8 is not compatible with any version of Jurassic #2054

Open
CSTPranshu opened this issue Nov 19, 2024 · 2 comments
Open

Comments

@CSTPranshu
Copy link

CSTPranshu commented Nov 19, 2024

I recently upgraded the handlesbar.js to the latest version which is 4.7.8, and it is not compatible with any version of Jurassic.
I am getting error at below statement:
engine.ExecuteFile(handleBarPath);

Error:
"Type Error: 'Object.prototype.defineGetter' is not a function"

Please let me know what could be the possible solution to this.

@jaylinski
Copy link
Member

I guess you are referring to https://github.com/paulbartrum/jurassic?

The handlebars source code only uses __defineGetter__ in its source code, not defineGetter, so I'm not sure if this is a handlebars problem.

And we create ECMAScript 5 compatible code, which should run fine in jurassic.

Please try and open an issue in the jurassic repo to verify if this is truly a handlebars.js issue.

@CSTPranshu
Copy link
Author

I actually copied out the error I was searching out on google.

It's "Type Error: 'Object.prototype.defineGetter' is not a function"

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

No branches or pull requests

2 participants