<commit_before>ckan.module('clipboard', function (jQuery, _) {
  return {
      initialize: function () {
      var el = this.el
      el.clipboard({
         path: '/jquery.clipboard.swf',
         copy: function() {
             return el.find('.data').text();
      }});
    }
  };
});<commit_msg>feedback on click<commit_after>ckan.module('clipboard', function (jQuery, _) {
  return {
      initialize: function () {
      var el = this.el
      el.clipboard({
         path: '/jquery.clipboard.swf',
         copy: function() {
            var c1 = el.css('color');
            var c2 = el.css('background-color');
            el.css({'color': c2, 'background-color': c1});
            setTimeout( function(){
                el.css({'color': c1, 'background-color': c2})}
                , 50);
             return el.find('.data').text();
      }});
    }
  };
});
{'fraction_non_alphanumeric': 0.17889908256880735, 'fraction_numerical': 0.009174311926605505, 'mean_word_length': 1.8529411764705883, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4315366', 'n_tokens_mistral': 269, 'n_tokens_neox': 264, 'n_words': 51}