Sha256: 0a7ae62f5aa3a2901319df7074fd24b27d581b8c69a911b9c21e3dd4dfd9edc3

Contents?: true

Size: 1.85 KB

Versions: 4

Compression:

Stored size: 1.85 KB

Contents

{:uriI"Èfile:///Users/shanecav/Code/pendant/app/assets/javascripts/pendant/channels/application.js?type=application/javascript&pipeline=self&id=8c1473d7457938395410195022ba62cc0b7ed7afb5db4b54e925f9f8b7081953: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 = "Pendant::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"%~ÿN–	F©ÊÀ|ª‘ˆ[…áfjëìÂ
…ä‹[:lengthi:dependencies_digest"%èðʆï#àÀá³ß‘ÄÝ*°k)Ì&{›Ý½,÷ŠzO:idI"E8c1473d7457938395410195022ba62cc0b7ed7afb5db4b54e925f9f8b7081953;F:
mtimel+DIñY

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_job_channel-0.3.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/qF/qFCA2FZetxWzblDtPbOZY_4Oqwz7snB4VdU6-q2mb0A.cache
active_job_channel-0.0.3 spec/dummy/tmp/cache/assets/sprockets/v3.0/qF/qFCA2FZetxWzblDtPbOZY_4Oqwz7snB4VdU6-q2mb0A.cache
active_job_channel-0.0.2 spec/dummy/tmp/cache/assets/sprockets/v3.0/qF/qFCA2FZetxWzblDtPbOZY_4Oqwz7snB4VdU6-q2mb0A.cache
active_job_channel-0.0.1 spec/dummy/tmp/cache/assets/sprockets/v3.0/qF/qFCA2FZetxWzblDtPbOZY_4Oqwz7snB4VdU6-q2mb0A.cache