server/src/main/webapp/js/main_coweb.js
author veltr
Wed, 05 Sep 2012 14:49:33 +0200
changeset 36 d249d36ecc37
parent 22 948283342245
child 45 37c9a17c3284
permissions -rw-r--r--
Add Edge button, French translation and various bugfixes

//
// 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'});
    });
});