Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions minpubsub.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* Copyright(c) 2011 Daniel Lamb <daniellmb.com>
* MIT Licensed
*/
(function (context) {
(function () {
var MinPubSub = {};

var context = this.window || window;
// the topic/subscription hash
var cache = context.c_ || {}; //check for 'c_' cache for unit testing

Expand Down Expand Up @@ -92,4 +92,4 @@
context.unsubscribe = MinPubSub.unsubscribe;
}

})(this.window);
})();