GDB AMD and RequireJS Support Example

Ms. Trunchbull
Edit the text above!

Model Data Structure

(Note: Because model updates are in realtime and the syntax highlighter is processor intensive, rapid input may slow this example. This behavior is not present in the production use of the plugin)



    baseUrl: './',
    paths: {
        jquery: "",
        gdb: "../jquery.gdb.min"

require(['jquery','gdb'], function( $, GDB ) {
    var model={name: "Ms. Trunchbull"};
    GDB({teacher: model}