server/src/main/webapp/js/main_coweb.js
author veltr
Thu, 16 Aug 2012 16:03:52 +0200
changeset 15 de8528eb3662
parent 9 2ab67fa1e78d
child 22 948283342245
permissions -rw-r--r--
Commit before merge

//
// Cooperative web application template.
//
// Copyright (c) The Dojo Foundation 2011. All Rights Reserved.
//

// assumes admin servlet deployed with the application 
var cowebConfig = {
    adminUrl : './admin'
};

require({moduleUrl : 'lib'},
        ['coweb/main','dojo'],
function(coweb, dojo) {
    // do application setup here
    
    dojo.ready(function() {
        // on page load, prepare, join, and update in a session
        var sess = coweb.initSession();
        sess.prepare();
    });
});