Sha256: 28cda8f41a734f81a573458476bbde1b28cc892883a4f08fd10aebf5feb373a9
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. // // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // compiled file. // // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details // about supported directives. // //= require jquery //= require jquery_ujs //= require turbolinks function ready() { /* Form: Focus and Hint */ $('input[type="text"], input[type="password"], textarea').focus(function() { $(this).parent().find('.hint').show(); $(this).css("box-shadow", "#ccc 0 0 5px"); }); $('input[type="text"], input[type="password"], textarea').blur(function() { $(this).parent().find('.hint').hide(); $(this).css("box-shadow", "none"); }); } $(document).ready(ready); $(document).on('page:load', ready);
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pah-0.0.12 | lib/pah/files/app/assets/javascripts/application.js |
pah-0.0.11 | lib/pah/files/app/assets/javascripts/application.js |