{"size": 673, "ext": "js", "max_stars_repo_path": "dist/js/component-forms.js", "max_stars_repo_name": "haubek/bootstrap4c-forms", "max_stars_repo_stars_event_min_datetime": "2018-04-03T09:28:33.000Z", "max_stars_repo_stars_event_max_datetime": "2020-05-04T19:02:17.000Z", "max_issues_repo_path": "dist/js/component-forms.js", "max_issues_repo_name": "haubek/bootstrap4c-forms", "max_issues_repo_issues_event_min_datetime": "2020-03-16T02:19:39.000Z", "max_issues_repo_issues_event_max_datetime": "2020-04-24T02:18:12.000Z", "max_forks_repo_path": "dist/js/component-forms.js", "max_forks_repo_name": "haubek/bootstrap4c-forms", "max_forks_repo_forks_event_min_datetime": "2018-04-03T09:28:37.000Z", "max_forks_repo_forks_event_max_datetime": "2020-07-20T06:55:30.000Z"}
{"max_stars_count": 3, "max_issues_count": 2, "max_forks_count": 3, "avg_line_length": 39.5882352941, "max_line_length": 90, "alphanum_fraction": 0.6315007429}
$(function() {
  $('body').on('input propertychange', '.form-group-floating-label', function(e) {
    $(this).toggleClass('form-group-floating-label-with-value', !!$(e.target).val());
  }).on('focus', '.form-group-floating-label', function() {
    $(this).addClass('form-group-floating-label-with-focus');
  }).on('blur', '.form-group-floating-label', function() {
    $(this).removeClass('form-group-floating-label-with-focus');
  });
});

$(function() {
  $('.form-group-floating-label .form-control').focusout(function () {
    var text_val = $(this).val();
    $(this).parent().toggleClass('form-group-floating-label-with-value', text_val !== "");
  }).focusout();
});
