server/src/main/webapp/js/main_coweb.js
author veltr
Fri, 17 Aug 2012 18:36:12 +0200
changeset 21 b43dd87f7ffa
parent 9 2ab67fa1e78d
child 22 948283342245
permissions -rw-r--r--
Added Drag+Drop from a tweet list

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