Sha256: fb6088c2b4a4f12653ba974f2938f1d7d88494df6e938fc4c20363eae2ac34de

Contents?: true

Size: 900 Bytes

Versions: 3

Compression:

Stored size: 900 Bytes

Contents

// This is a manifest file that'll be compiled into including all the files listed below.
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
// be included in the compiled file accessible from http://example.com/assets/application.js
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
//= require jquery
//= require jquery_ujs
//= require rails.validations
//= require rostra/jquery.jeditable

$(document).ready(function() {

  var show_message_when_logged_out_user_attempts_to_vote = function() {
    $('a.login_flash').click(function() {
      $('.flash').fadeIn();
      return false;
    });
  }();

  // $('.editable').editable($('.editable').attr('data-ajax_url'), {
  //   type: 'textarea',
  //   cancel: 'Cancel',
  //   submit: 'Update',
  //   method: 'PUT'
  // });

});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rostra-0.0.3 app/assets/javascripts/rostra/application.js
rostra-0.0.2 app/assets/javascripts/rostra/application.js
rostra-0.0.1 app/assets/javascripts/rostra/application.js