Sha256: 03dbfb9c408dd396a82c2260081fe81a85cb8f960373ebb90bee56b0c79966f8
Contents?: true
Size: 1009 Bytes
Versions: 32
Compression:
Stored size: 1009 Bytes
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1361880316.93117 ˜J:@value{ I"length:EFi I"digest; F"%82b1af4a324b8f0229e55738ac16e98eI"source; FI" // Place all the behaviors and hooks related to the matching controller here. // All this logic will automatically be available in application.js. $(document).ready(function(){ current_page = 1; var fetching = false $(document).on('mousewheel DOMMouseScroll', '.translation_keys_listing', function(e) { if(e.originalEvent.wheelDelta < 0 && $(this).scrollTop() + $(this).innerHeight() >= $(this)[0].scrollHeight - 100 && !fetching) { fetching = true; current_page++ $.ajax({ type: 'GET', url: Routes.translation_center_category_more_keys_path(Category.key()) + '.js', data: { page : current_page }, complete: (function(){ fetching = false }) }); } }) }); ; FI" _version; F"%683e273ce9decb2b8dfa0109197fa309
Version data entries
32 entries across 32 versions & 1 rubygems