opencoweb/coweb — Issue #136: [Optimization] org/cometd.js contains old style calls to dojo.provide
Author: rbackhouse
Created: 2011-10-31 13:07:40+00:00
State: open

org/cometd.js currently contains calls to dojo.provide that can cause problems for optimizers/build tools. The code is like this :

if (typeof dojo !== 'undefined')
{
dojo.provide('org.cometd');
}

It would be ideal if the 2 dojo.provide calls are removed when org/cometd.js is processed by the setup_js.sh script.