dojo.publish

Deprecated. Dojo.publish() has been replaced by the dojo/topic module's publish() method.

Publishing code is changed from:

dojo.publish("some/topic", [1, 2, 3]);

to:

require(["dojo/topic"], function(topic){
    topic.publish("some/topic", 1, 2, 3);
});

Note that array brackets are no longer needed.