Open ticlaudeberube opened 9 years ago
Replaced _underscore with lodash in /app/index.html. Wondering what is _underscore dependency for?
HI, I am trying to resolve this bug, I included underscore.js and loadash.js files, but it still throws me the below error
_.merge is not a function at Object.WidgetModel (/js/angular/angular-ui-dashboard.js:848:56)
can you please help..
Is anybody able to resolve this.. I am also getting the same error. can anyone help ... thank you
Yes, I got it working I believe by using loadash instead of underscore.
Claude
Claude Bérubé, PMP, PSM claude.berube@gmail.com 514-529-0338
http://cberube.azurewebsites.net/ http://cberube.azurewebsites.net/
2015-10-15 21:24 GMT-04:00 shadeeka notifications@github.com:
Is anybody able to resolve this.. I am also getting the same error. can anyone help ... thank you
— Reply to this email directly or view it on GitHub https://github.com/DataTorrent/malhar-dashboard-webapp/issues/6#issuecomment-148569969 .
thanks man, I removed underscore.js also and it works just fine !!
fixed???
There is an issue with underscore and lodash. _.merge is undefined.
at Object.WidgetModel (http://localhost:9000/bower_components/malhar-angular-dashboard/dist/malhar-angular-dashboard.js:848:42)
// Extend this with the widget definition object with overrides merged in (deep extended). angular.extend(this, defaults(), _.merge(angular.copy(widgetDefinition), overrides));