Sha256: d69dde98826e0f5b12e03cd08f4f7b264d061160eb6de46cdae3d03688295f98
Contents?: true
Size: 1.13 KB
Versions: 16
Compression:
Stored size: 1.13 KB
Contents
{I" class:ETI"BundledAsset; FI"logical_path; TI"2think_feel_do_engine/devise/passwords/edit.js; TI" pathname; TI"¤/Users/usabilitymonitor/.rvm/gems/ruby-2.1.2/bundler/gems/think_feel_do_engine-9bc104b9aad7/app/assets/javascripts/think_feel_do_engine/devise/passwords/edit.js.erb; FI"content_type; TI"application/javascript; TI" mtime; Tl+•ˆTI"length; TiGI"digest; TI"%61994e95b238e893a2f77c818f135b70; FI"source; TI"G $(document).on('page:change, ready', function() { $("#new_participant #participant_password").on("keyup", function() { $.getJSON("/password_entropy_bits", { password: $(this).val() }, function(data) { if (data.bits < 10) { $("#password-strength").html("<span class='text-danger'>Weak</span>"); } else if (data.bits < 18) { $("#password-strength").html("<span class='text-primary'>Medium</span>"); } else { $("#password-strength").html("<span class='text-success'>Strong <i class='fa fa-check'></i></span>"); } }); }); }); ; TI"required_assets_digest; TI"%3eddb086d772345c0479458a60e8d841; FI" _version; TI"%e9ce4940b8cff776edd3f1531dfea685; F
Version data entries
16 entries across 8 versions & 1 rubygems