Created
February 18, 2015 15:55
-
-
Save davidbiehl/d58d9f9e273aeda0e3bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VsrLoader.bootstrap().then(function() { | |
console.warn("first", Ecwid, Ecwid.Cart); // Ecwid.Cart is undefined | |
Ecwid.OnAPILoaded.add(function() { | |
console.warn("loaded", Ecwid, Ecwid.Cart); // Ecwid.Cart is available | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment