You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like d4 variable isn't available inside subsequent closures after the first when compiling with Browserify. As a quick-fix, I declared d4 variable outside all closures. Thoughts?
vard4;(function(){'use strict';varroot=this;varbreaker={};// Create a safe reference to the d4 object.d4=function(obj){if(objinstanceofd4){returnobj;}if(!(thisinstanceofd4)){returnnewd4(obj);}this.d4Wrapped=obj;};
...
The text was updated successfully, but these errors were encountered:
Looks reasonable to me. I'd suggest making this change as a PR after you ensure all tests pass (and adding tests as you feel necessary). I'd be happy to merge it down then.
Looks like d4 variable isn't available inside subsequent closures after the first when compiling with Browserify. As a quick-fix, I declared d4 variable outside all closures. Thoughts?
The text was updated successfully, but these errors were encountered: