Sha256: 3cc3e38a3f3c912e02837f60407d9c0defabc7c5a4157b15b9046dc482d6a56c
Contents?: true
Size: 1.84 KB
Versions: 4
Compression:
Stored size: 1.84 KB
Contents
{:uriI"Èfile:///Users/shanecav/Code/pendant/app/assets/javascripts/pendant/channels/application.js?type=application/javascript&pipeline=self&id=52c73c3b2ca6a4a149cae7f932346fa90ea2f8dd62f501b4ecdd14622bc819bf:ET:load_pathI"8/Users/shanecav/Code/pendant/app/assets/javascripts;T: filenameI"X/Users/shanecav/Code/pendant/app/assets/javascripts/pendant/channels/application.js;T: nameI"!pendant/channels/application;T:logical_pathI")pendant/channels/application.self.js;T:content_typeI"application/javascript;T:sourceI"øconst CHANNEL = "PendantChannel" document.addEventListener("DOMContentLoaded", function(_event) { App.pendant = App.cable.subscriptions.create({ channel: CHANNEL }, { connected: function () { // Called when the subscription is ready for use on the server console.log('Successfully connected to ' + CHANNEL); }, disconnected: function () { // Called when the subscription has been terminated by the server console.log('Successfully disconnected from ' + CHANNEL); }, received: function (data) { // Called when there's incoming data on the websocket for this channel console.log('Successfully received data from' + CHANNEL); console.log(data); } } ); }); ;T: metadata{:dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"ffile-digest:///Users/shanecav/Code/pendant/app/assets/javascripts/pendant/channels/application.js;TTF: requiredo;;} F:stubbedo;;} F: linkso;;} F:charsetI" utf-8;F:digest"%z;(áÇMõÁ§Á`¼Ê(wnQÀŒK¿†ºø@Qx:lengthiø:dependencies_digest"%s¼n*Ó^èduÛÕqD¤ŽóÁ#ëç=°ûB0Y':idI"E52c73c3b2ca6a4a149cae7f932346fa90ea2f8dd62f501b4ecdd14622bc819bf;F: mtimel+ÉHñY
Version data entries
4 entries across 4 versions & 1 rubygems