bmuschko/grails-google-visualization — pull request #18 by LinuxBozo (2013-10-04 20:31:41+00:00)
Title: Add in feature to use a callback with the jsapi for calling google.load

This patch allows you to define a callback for the Google JSAPI. This is helpful when dynamically inserting the output from a GSP into another page, ensuring loading order of the Javascript. This is particularly useful when trying to create all-in-one widgets from various GSP pages that will be inserted elsewhere.

For instance, if you have the following simple GSP:
```

```

This now will create the following output:

```

```
This now explicitly ensures that the JSAPI will load before trying to call google.load.