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

Uncaught TypeError: Object #<Object> has no method 'merge' #260

Closed
luisjotapepe opened this issue Jul 16, 2013 · 2 comments
Closed

Uncaught TypeError: Object #<Object> has no method 'merge' #260

luisjotapepe opened this issue Jul 16, 2013 · 2 comments

Comments

@luisjotapepe
Copy link

I am using dev2.0 version for Swagger UI

When trying to load the page i get this:

screen shot 2013-07-15 at 10 09 16 pm

Anyone has an idea how to fix this.

@luisjotapepe
Copy link
Author

So i was able to temporarily solve the issue by replacing all encounters of line

helpers = this.merge(helpers, Handlebars.helpers); data = data || {};

with

helpers = helpers || Handlebars.helpers; data = data || {};

as suggested by @w33ble in handlebars-lang/handlebars.js#547

Is there a better solution to this? Something that could come by default in dev2.0. There seems to be a problem with handlebars. Maybe you can include 1.0.11 version in dev2.0 for the mean time?

@fehguy
Copy link
Contributor

fehguy commented Aug 2, 2014

this should be supported in 2.0.19

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

No branches or pull requests

2 participants