Using GeoComplete with RequireJS (with shim config) I am using the GeoComplete plugin with RequireJS
It works, but please could someone confirm I've done this correctly, mainly my understanding of shim:

    requirejs.config({
        waitSeconds: 120,
        paths: {
            async: './lib/async',
            jquery: './lib/jquery-1.7.2.min',
            geocomplete: './lib/jquery.geocomplete.min'
        },
        shim: {
            'geocomplete': ['jquery'],
        }
    });

    require(['async!http://maps.googleapis.com/maps/api/js?libraries=places&amp;sensor=false', 'jquery', 'geocomplete'], function () {
        $("#geocomplete").geocomplete({
            map: "#map_canvas"
        });
    }
    );


The way I understand shim, is, GeoComplete doesn't support AMD, but has a dependency on jQuery, so my set up basically says "load geocomplete after jquery"

Is that correct?
The only thing that I see looking at this code is that you didn't keep a fully consistent formatting, and I at first thought you had an extra set of brackets or parentheses.



You should do it like the }); farther above in the code.  

Keep everything consistent, you probably already know this though.