{:uriI"Ìfile:///Users/shanecav/Code/active_job_channel/vendor/assets/javascripts/active_job_channel.js?type=application/javascript&pipeline=self&id=1a5cdc434c919d9f3a47e2b5910669265e1e5cc3b56d6d3195943934a86b4c8e: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); } } ); }); ;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"wfile-digest:///Users/shanecav/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/actioncable-5.1.4/lib/assets/compiled;TTI"file-digest:///Users/shanecav/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/actioncable-5.1.4/lib/assets/compiled/action_cable;TTI"‚file-digest:///Users/shanecav/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/actioncable-5.1.4/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.1.4/lib/assets/compiled/action_cable.js?type=application/javascript&pipeline=self;TTF: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%ðÀÕ˜ Üþ¬Ø±¥äådþùÛ§þ–BÚ¸ A«Àv: lengthi¯:dependencies_digest"%ðÑŽãEëž&Šî¬6ƽˆ3³ªJ€žÍb/>Á\:idI"E1a5cdc434c919d9f3a47e2b5910669265e1e5cc3b56d6d3195943934a86b4c8e;F: mtimel+¡«ZZ