{:uriI"Ôfile:///Users/himn1/dev/rails/engines/loco/lib/assets/javascripts/loco/base/mixins/connectivity.coffee?type=application/javascript&pipeline=self&id=4f47812776179e9f8c24a838761fc746f7ef1ac069876c939589c85e2728e130:ET:load_pathI"?/Users/himn1/dev/rails/engines/loco/lib/assets/javascripts;T: filenameI"d/Users/himn1/dev/rails/engines/loco/lib/assets/javascripts/loco/base/mixins/connectivity.coffee;T: nameI""loco/base/mixins/connectivity;T:logical_pathI"*loco/base/mixins/connectivity.self.js;T:content_typeI"application/javascript;T: sourceI"g(function() { App.Mixins.Connectivity = (function() { function Connectivity() {} Connectivity.prototype.connectWith = function(data, opts) { var i, identity, len, ref; if (opts == null) { opts = {}; } if (data == null) { return null; } if (data.constructor.name === "Array") { ref = App.Utils.Array.uniq(App.Utils.Array.map(data, function(obj) { return obj.getIdentity(); })); for (i = 0, len = ref.length; i < len; i++) { identity = ref[i]; App.IdentityMap.addCollection(identity, { to: this }); if (opts.receiver != null) { this.receivers[identity] = opts.receiver; } } return; } if (opts.receiver != null) { this.receivers[data.toKey()] = opts.receiver; } return App.IdentityMap.connect(this, { "with": data }); }; Connectivity.prototype.receiverFor = function(data) { if (data.constructor.name === "String") { if (this.receivers[data] != null) { return this.receivers[data]; } else { return null; } } if (this.receivers[data.toKey()] != null) { return this.receivers[data.toKey()]; } return null; }; return Connectivity; })(); }).call(this); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"rfile-digest:///Users/himn1/dev/rails/engines/loco/lib/assets/javascripts/loco/base/mixins/connectivity.coffee;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%¾¾´P[eÀ+7BŽùÊ„Õã7Ï…Ï¢K³M;¡"—: lengthig:dependencies_digest"%UÛ–»ruýªáò8dC ‡ˆàö7½xIÔÄiâ:idI"E4f47812776179e9f8c24a838761fc746f7ef1ac069876c939589c85e2728e130;F: mtimel+K>õV