o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1371157313.103322: @value"R {I" class:EFI"ProcessedAsset;FI"logical_path;FI" lentil/addinfinitescroll.js;FI" pathname;FI"W/Users/jmcasden/Code/lentil/app/assets/javascripts/lentil/addinfinitescroll.js.erb;FI"content_type;FI"application/javascript;FI" mtime;FI"2013-05-10T14:53:56-04:00;FI" length;Fi(I" digest;F"%f5a2455c70dbaa20271a3bd0f3a8406fI" source;FI"(function hideOverlayDestroySpinner() { $('#spinner-overlay').hide(); FANCYBOX_SPINNER.stop(); } function addinfinitescroll() { if ($("div#paging a").length > 0) { $('div.images').infinitescroll({ loading: { msgText: "Loading more photos...", img: "/assets/lentil/loadingsquares.gif", finishedMsg: "No more photos to load." }, state : { isDone : false }, navSelector : "div#paging", // selector for the paged navigation (it will be hidden) nextSelector : "div#paging a:first", // selector for the NEXT link (to page 2) itemSelector : "div.image-tile", // selector for all items you'll retrieve animate: true, extraScrollPx: 30, appendCallback: true, errorCallback: function() { hideOverlayDestroySpinner() } }, function () { addfancybox(); addimageerrors(); // on callback, if fancybox is open // then close it and reopen at the same spot // this fakes dynamic loading of new images if ($.fancybox.isOpen) { start = $.fancybox.current.index; FancyBoxCloseFunctionState.fancyboxvisible = false; $.fancybox.close(); $(".fancybox").eq(start).trigger('click'); hideOverlayDestroySpinner(); } }); } } ; ;FI"dependency_digest;F"%7c98b82007e4d6f9dea4534d5be30153I"required_paths;F[I"W/Users/jmcasden/Code/lentil/app/assets/javascripts/lentil/addinfinitescroll.js.erb;FI"dependency_paths;F[{I" path;FI"W/Users/jmcasden/Code/lentil/app/assets/javascripts/lentil/addinfinitescroll.js.erb;FI" mtime;FI"2013-05-10T14:53:56-04:00;FI" digest;F"%c9d6b7b38a71ab7906381bca10f56a10I" _version;F"%ffd318ca8b794f42f5029101c2cf5d91