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.

Table of Contents

Error in the documentation? Can’t find what you are looking for? Let us know!