Sha256: 45e5d531686c8ff5e076efcc15452955a47b22848ec6970e8d17ce1260f56875
Contents?: true
Size: 1.47 KB
Versions: 53
Compression:
Stored size: 1.47 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1319712231.990046 \ê:@value{ I"length:EFiîI"digest; F"%de5734e65a83e3840930d9d9629c47d8I"source; FI"î(function() { $(document).ready(function() { var data; data = $('#lab_list_container').data('labs'); window.lab_list = new window.OrderedLabList([]); window.map_view = new window.MapView(lab_list); window.lab_list_view = new window.LabListView(lab_list); LabList.tracker_elem.change(function() { return console.log('changed'); }); LabList.tracker_elem.change(); if (data.labs) { window.map_view.center_point = data.zip_location; window.lab_list.setLabs(data.labs); } else { console.log('no data'); } return $("form#lab_data_search").bind('ajax:beforeSend', function(event, data) { var span, zip_code; zip_code = $(this).find('#zip_code').val(); if (!zip_code.match(/\d{5}/)) { span = $('<span>Zip code should be 5 digits</span>'); $('form#lab_data_search .error_message').append(span); span.fadeOut(4000); return false; } }).bind('ajax:success', function(event, data) { window.map_view.center_point = data.zip_location; window.lab_list.setLabs(data.labs); return $('form#lab_data_search input[type=submit]').prop("disabled", false); }).bind('ajax:complete', function(event, data) {}); }); }).call(this); ; FI" _version; F"%ea688e5604d8d55a32508c85ec456677
Version data entries
53 entries across 53 versions & 1 rubygems