Sha256: 0b09b56f06e8b317dc920889877ed94c47e8ed5c94ab8d38bd6cd06e5419e097

Contents?: true

Size: 319 Bytes

Versions: 3

Compression:

Stored size: 319 Bytes

Contents

//= require jquery.protip.min


$(document).ready(function(){
    <% path_to_file = "#{Rails.root}/config/protip.yml" %>
    <% if File.exist?(path_to_file) %>
    	protipconfig = <%= JSON.dump(YAML.load_file(path_to_file)) %>;
    <% else %>
      protipconfig = ''
    <% end %>  
    $.protip(protipconfig);
    
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails-protip-0.1.2 app/assets/javascripts/protip.js.erb
rails-protip-0.1.1 app/assets/javascripts/protip.js.erb
rails-protip-0.1.0 app/assets/javascripts/protip.js.erb