{:uriI"Ìfile:///Users/shanecav/Code/active_job_channel/vendor/assets/javascripts/active_job_channel.js?type=application/javascript&pipeline=self&id=91223d16e6c5e3f5a259c31936e70404af249f3c19fb92ad9a75f25bb952bcd7:ET:load_pathI"F/Users/shanecav/Code/active_job_channel/vendor/assets/javascripts;T: filenameI"\/Users/shanecav/Code/active_job_channel/vendor/assets/javascripts/active_job_channel.js;T: nameI"active_job_channel;T:logical_pathI"active_job_channel.self.js;T:content_typeI"application/javascript;T: sourceI"ù (function() { // Setup ActionCable connection this.App || (this.App = {}); App.cable = ActionCable.createConsumer('/cable/active-job-channel'); // Setup up ActiveJobChannel received method this.ActiveJobChannel || (this.ActiveJobChannel = {}); ActiveJobChannel.received = ActiveJobChannel.received || function(data) { var status = data.status; var job_name = data.job_name; if (status === 'success') { console.log(job_name + ' succeeded!'); } else if (status === 'failure') { console.log(job_name + ' failed!'); } else { console.error('Job status could not be determined'); } } }).call(this); // Setup ActionCable subscriber document.addEventListener("DOMContentLoaded", function (_event) { const CHANNEL = "::ActiveJobChannel::Channel"; App.active_job_channel = App.cable.subscriptions.create( { channel: CHANNEL }, { received: function (data) { ActiveJobChannel.received(data); } }, { subscribed: function (data) { ActiveJobChannel.received(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"jfile-digest:///Users/shanecav/Code/active_job_channel/vendor/assets/javascripts/active_job_channel.js;TTI"$file-digest://app/assets/config;TTI"1file-digest://app/assets/config/action_cable;TTI"$file-digest://app/assets/images;TTI"1file-digest://app/assets/images/action_cable;TTI")file-digest://app/assets/javascripts;TTI"6file-digest://app/assets/javascripts/action_cable;TTI")file-digest://app/assets/stylesheets;TTI"6file-digest://app/assets/stylesheets/action_cable;TTI"Tfile-digest:///Users/shanecav/Code/active_job_channel/vendor/assets/javascripts;TTI"afile-digest:///Users/shanecav/Code/active_job_channel/vendor/assets/javascripts/action_cable;TTI"}file-digest:///Users/shanecav/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/actioncable-5.2.0.beta2/lib/assets/compiled;TTI"…file-digest:///Users/shanecav/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/actioncable-5.2.0.beta2/lib/assets/compiled/action_cable;TTI"ˆfile-digest:///Users/shanecav/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/actioncable-5.2.0.beta2/lib/assets/compiled/action_cable.js;TTF: requiredo;;}I"«file:///Users/shanecav/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/actioncable-5.2.0.beta2/lib/assets/compiled/action_cable.js?type=application/javascript&pipeline=self;TTF: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%“š‰Ž‡Aß}Ã}OÛÞCAÁå°zú5ÔJÕô"ï·’: lengthiù:dependencies_digest"%¬³+å®`ÚüÎ7 D'ÕÆ/æ´»Ö®iÑNûÏ:idI"E91223d16e6c5e3f5a259c31936e70404af249f3c19fb92ad9a75f25bb952bcd7;F: mtimel+s¤ZZ