Sha256: 889b80a4a8f20133dead7bd47a8a6dd224bc2c77acd46412280b959b3140eff3
Contents?: true
Size: 943 Bytes
Versions: 75
Compression:
Stored size: 943 Bytes
Contents
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's // vendor/assets/javascripts directory can be referenced here using a relative path. // // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // compiled file. JavaScript code in this file should be added after the last require_* statement. // // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details // about supported directives. // //= require rails-ujs //= require jquery //= require activestorage //= require clipboard //= require_tree . $(document).ready(function(){ var clipboard = new Clipboard('.clipboard-btn'); clipboard.on('success', function(e) { $(e.trigger).text('Copied!'); $(e.trigger).addClass('is-copy'); }); });
Version data entries
75 entries across 22 versions & 1 rubygems