From 870334be3f58507c05bfc72f3edbe5db10af4caf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 2 Apr 2013 20:06:16 +0400 Subject: remove dojo uncompressed files --- lib/dojo/topic.js.uncompressed.js | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 lib/dojo/topic.js.uncompressed.js (limited to 'lib/dojo/topic.js.uncompressed.js') diff --git a/lib/dojo/topic.js.uncompressed.js b/lib/dojo/topic.js.uncompressed.js deleted file mode 100644 index 35e193739..000000000 --- a/lib/dojo/topic.js.uncompressed.js +++ /dev/null @@ -1,38 +0,0 @@ -define("dojo/topic", ["./Evented"], function(Evented){ - - // module: - // dojo/topic - - var hub = new Evented; - return { - // summary: - // Pubsub hub. - // example: - // | topic.subscribe("some/topic", function(event){ - // | ... do something with event - // | }); - // | topic.publish("some/topic", {name:"some event", ...}); - - publish: function(topic, event){ - // summary: - // Publishes a message to a topic on the pub/sub hub. All arguments after - // the first will be passed to the subscribers, so any number of arguments - // can be provided (not just event). - // topic: String - // The name of the topic to publish to - // event: Object - // An event to distribute to the topic listeners - return hub.emit.apply(hub, arguments); - }, - - subscribe: function(topic, listener){ - // summary: - // Subscribes to a topic on the pub/sub hub - // topic: String - // The topic to subscribe to - // listener: Function - // A function to call when a message is published to the given topic - return hub.on.apply(hub, arguments); - } - }; -}); -- cgit v1.2.3-54-g00ecf