Sha256: 801475cc5b3f0cc93fba80abe1920085b6621b3bd18e38d426b9190c358f138e
Contents?: true
Size: 876 Bytes
Versions: 2
Compression:
Stored size: 876 Bytes
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 // the compiled file. // // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD // GO AFTER THE REQUIRES BELOW. // //= require jquery-1.8.3.min //= require_tree . jQuery(function($) { $('.letter-opener tr').click(function() { var $this = $(this); $('iframe').attr('src', $this.find('a').attr('href')); $this.parent().find('.active').removeClass('active'); $this.addClass('active'); }); });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
letter_opener_web-0.0.2 | app/assets/javascripts/letter_opener_web/application.js |
letter_opener_web-0.0.1 | app/assets/javascripts/letter_opener_web/application.js |