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:
- Created 7 years ago
- Comments:6 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
Thanks @bramp, looking back, I have no idea where
1.8.3
came from. Thanks for the hard work. 👍