Sha256: ee45c8968d23492975649d4b2c17246c41f56aed6bfda1c4476ecb6d885daf86
Contents?: true
Size: 1.66 KB
Versions: 5
Compression:
Stored size: 1.66 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1360591474.3446131 $:@value{I" class:EFI"BundledAsset; FI"id; F"%0199f0c6e9d6def06c0d7ddd78338fdcI"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" body; 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"asset_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; FIu: Time nE :@_zoneI"EET; T: nano_numi: nano_deni: submicro"B:offseti I"hexdigest; F"%5f2a6adf86509eaed84372ca7c3aa7ddI" _version; F"%0868aba5d4b750d3a9421721ea3d9b9c
Version data entries
5 entries across 5 versions & 1 rubygems