Browse Source

Precompiled assets

remotes/origin/master
echarp 2 years ago
parent
commit
fc498626d4
  1. 2
      public/assets/.sprockets-manifest-1ecf1692b9cfa13c0271559a479b9688.json
  2. 33491
      public/assets/active_admin-2e3a0403157a8ed68141cd8290d3bccbca5af7d9ae0d250ceeb3f8ea76dde342.js
  3. BIN
      public/assets/active_admin-2e3a0403157a8ed68141cd8290d3bccbca5af7d9ae0d250ceeb3f8ea76dde342.js.gz
  4. 53466
      public/assets/application-57a330c5f72fa5562b83ffbdd4a93d88a7cb9063c65ae842a6602939d6b44224.js
  5. BIN
      public/assets/application-57a330c5f72fa5562b83ffbdd4a93d88a7cb9063c65ae842a6602939d6b44224.js.gz
  6. 42
      public/assets/list-e31f674476f4f7c5b464b1ee3c6832f4dc7d0588597a383a6fb372127b2b27bd.js
  7. BIN
      public/assets/list-e31f674476f4f7c5b464b1ee3c6832f4dc7d0588597a383a6fb372127b2b27bd.js.gz

2
public/assets/.sprockets-manifest-1ecf1692b9cfa13c0271559a479b9688.json

File diff suppressed because one or more lines are too long

33491
public/assets/active_admin-2e3a0403157a8ed68141cd8290d3bccbca5af7d9ae0d250ceeb3f8ea76dde342.js

File diff suppressed because one or more lines are too long

BIN
public/assets/active_admin-2e3a0403157a8ed68141cd8290d3bccbca5af7d9ae0d250ceeb3f8ea76dde342.js.gz

Binary file not shown.

53466
public/assets/application-57a330c5f72fa5562b83ffbdd4a93d88a7cb9063c65ae842a6602939d6b44224.js

File diff suppressed because one or more lines are too long

BIN
public/assets/application-57a330c5f72fa5562b83ffbdd4a93d88a7cb9063c65ae842a6602939d6b44224.js.gz

Binary file not shown.

42
public/assets/list-e31f674476f4f7c5b464b1ee3c6832f4dc7d0588597a383a6fb372127b2b27bd.js

@ -0,0 +1,42 @@
(function() {
var visit;
$(document).on('turbolinks:load', function() {
$('table.list td.view a').each(function() {
return visit($(this));
});
return $('.pagination .next a').attr('data-remote', true).each(function() {
return $(document).scroll((function(_this) {
return function() {
if ($(_this).visible(true, true)) {
return $(_this).click().parents('.pagination').hide();
}
};
})(this));
});
});
$(document).on('ajax:success', '.pagination .next a', function(event, data) {
var next;
$(this).parents('tfoot').prev().append($('tbody tr', data)).find('td.view a').each(function() {
return visit($(this));
});
next = $('.pagination .next a', data).attr('href');
if (next != null) {
return $(this).attr('href', next).parents('.pagination').show();
}
});
visit = (function(_this) {
return function(elt) {
return elt.closest('tr').addClass('view').click(function(event) {
var target;
target = $(event.target);
if (!((target.attr('target') != null) || (target.parents('a').attr('target') != null))) {
return Turbolinks.visit(elt.attr('href'));
}
});
};
})(this);
}).call(this);

BIN
public/assets/list-e31f674476f4f7c5b464b1ee3c6832f4dc7d0588597a383a6fb372127b2b27bd.js.gz

Binary file not shown.
Loading…
Cancel
Save