server/src/main/webapp/js/main_coweb.js
author veltr
Fri, 07 Sep 2012 17:50:17 +0200
changeset 39 84eea249ce7e
parent 22 948283342245
child 45 37c9a17c3284
permissions -rw-r--r--
Added multiple graph publishing

//
// 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();
        this.collab = coweb.initCollab({id:'renkan'});
    });
});