Sha256: b8d76908afe21901fda32a7f66d137ad25ba085a2cda7d2435becd7b564e146f
Contents?: true
Size: 1.16 KB
Versions: 16
Compression:
Stored size: 1.16 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-4bcd673c23e1/app/assets/javascripts/think_feel_do_engine/devise/passwords/edit.js.erb;FI"content_type;TI"application/javascript;TI" mtime;Tl+���TI"length;TiaI"digest;TI"%aa9519dc760ead705ef8330a0b8ca300;FI"source;TI"a $(document).on('page:change, ready', function() { $("#new_participant #participant_password, #new_user #user_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"%ab80c208c6827513c2f0bbc23be593d3;FI" _version;TI"%e9ce4940b8cff776edd3f1531dfea685;F
Version data entries
16 entries across 8 versions & 1 rubygems