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:EFiI"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

Version Path
translation_center-1.6.9 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.6.8 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.6.7 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.6.6 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.6.5 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.6.4 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.6.3 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.6.2 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.6.1 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.6.0 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.5.9 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.5.8 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.5.7 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.5.6 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.5.5 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.5.4 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.5.3 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.5.2 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.5.1 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb
translation_center-1.5.0 test/dummy/tmp/cache/assets/D99/060/sprockets%2F8d89619d7615dbbcdbba425f1c1133fb