Sha256: a81e63880aa6167d99e54873461eef2b5b4640ff8b33c77975f41425e0c1d76e
Contents?: true
Size: 410 Bytes
Versions: 9
Compression:
Stored size: 410 Bytes
Contents
<% if Rails.env.test? %> var LunchPicker = { run: function(target) { $(target).change(function(e) { $(target).siblings('.lunch-comment').text('Good choice'); }); } } // jQuery plugin $.fn.lunchPicker = function(options) { return this.each(function() { LunchPicker.run(this); }); } <% else %> // This file is overrideable by the host app, allowing javascript customisation. <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems