Biltong undefined when another library sets var exports
sporritt opened this issue · 1 comments
sporritt commented
from https://github.com/sporritt/jsPlumb/issues/215
When another program sets the variable exports before jsPlumb is loaded, on line 461 of jquery version, biltong is set as a local var, but not a global, so any subsequent calls to Biltong are undefined.
I believe the line (461 of jQuery version) should be changed from:
Biltong = exports;
To:
Biltong = root.Biltong = exports;
sporritt commented
fixed in 0.2