Sha256: 8e9278bfb0e5ce49b4139b73130436765eca8c245cc8d3938a6ba4e9675c6ac4
Contents?: true
Size: 1.69 KB
Versions: 33
Compression:
Stored size: 1.69 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1361715777.6348431 ĦE:@value"S{I" class:EFI"ProcessedAsset; FI"logical_path; FI"+translation_center/translation_keys.js; FI" pathname; FI"a/home/bdrit/translation_center/app/assets/javascripts/translation_center/translation_keys.js; FI"content_type; FI"application/javascript; FI" mtime; FI"2013-02-11T16:04:33+02:00; FI"length; Fi I"digest; F"%b160e0099475e35637d2907db91c80c4I"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"dependency_digest; F"%8f31fc279b573bc601306b6f8009dff8I"required_paths; F[I"a/home/bdrit/translation_center/app/assets/javascripts/translation_center/translation_keys.js; FI"dependency_paths; F[{I" path; FI"a/home/bdrit/translation_center/app/assets/javascripts/translation_center/translation_keys.js; FI" mtime; FI"2013-02-11T16:04:33+02:00; FI"digest; F"%c97834d014870db04b68383a2de01e40I" _version; F"%6776f581a4329e299531e1d52aa59832
Version data entries
33 entries across 33 versions & 1 rubygems