Created
July 18, 2012 10:56
-
-
Save ndv/3135544 to your computer and use it in GitHub Desktop.
OnAPILoaded usage
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
<script src="//app.ecwid.com/script.js?1003" type="text/javascript" charset="UTF-8"></script> | |
<script> | |
Ecwid.OnAPILoaded.add(function() { | |
// Ecwid API is available, do something | |
alert(Ecwid.formatCurrency(123.45)); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment