question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lodash 1.8.3 fails to draw the example

See original GitHub issue
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.13.1/lodash.min.js "></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.2.1/raphael.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-sequence-diagrams/1.0.6/sequence-diagram-min.js"></script>
<div id="diagram"></div>
<script>
  var diagram = Diagram.parse("A->B: Does something")
  diagram.drawSVG('diagram')
</script>

The error

sequence-diagram.js:1069Uncaught TypeError: Cannot read property '_actors_height' of undefined

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
brampcommented, Dec 27, 2016

Sorry for the delay here. You say "Lodash 1.8.3 " but your example shows “lodash.js/4.13.1/lodash.min.js”. Anyway I now test against Lodash 4.17.x, and after a few fixes ebb8987325d6d49287c8672f9b94aae90b03ca01 it all seems to work. Please wait for a v2.0.2 release.

0reactions
dcousenscommented, Dec 27, 2016

Thanks @bramp, looking back, I have no idea where 1.8.3 came from. Thanks for the hard work. 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why not upgrade to Lodash? (#16129) · Issues - GitLab.org
I created Lo-Dash to provide more consistent cross-environment iteration support for arrays, strings, objects, and arguments objects1.
Read more >
Importing Lodash as a Script Include - ServiceNow Community
I was able to save the code as a script include, but I am unable to use it. the _ doesn't seem to...
Read more >
Throttling with Lodash doesn't work - Stack Overflow
If you generate a new function each times the event is triggered you'll not throttle your function you will just have as many...
Read more >
Lodash
A JavaScript utility library delivering consistency, modularity, performance, & extras.
Read more >
lodash.js - Documentation
lodash.js ... var PLACEHOLDER = '__lodash_placeholder__';; /** `Object#toString` result references. ... Used to make template sourceURLs easier to identify.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found