giscloud.ready() example

This is an example of the giscloud.ready() method.

The ready method is passed an anonymous function as a parameter which is executed once the DOM and the API are loaded by the browser.

			
giscloud.ready(function() {

    alert("Giscloud is loaded and ready!");

});