{I" class:EFI"ProcessedAsset;FI"logical_path;FI"contour/global.js;TI" pathname;FI"W/Users/remo/code/ruby/gems/contour/app/assets/javascripts/contour/global.js.coffee;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-02-26T12:34:55-05:00;FI" length;Fiþ I" digest;F"%1a2b8cdb2ad13f2c07311081fbcabddeI" source;FI"þ (function() { this.showWaiting = function(element_id, text, centered) { var element; element = $(element_id); if (element && centered) { return element.html('
\"...\"' + text + '

'); } else if (element) { return element.html('\"...\"' + text); } }; this.flashMessage = function(message, alert_type, overwrite) { var div_block, flash_container; if (alert_type == null) { alert_type = 'success'; } if (overwrite == null) { overwrite = true; } div_block = ""; flash_container = $('[data-object~="flash-container"]'); if (overwrite) { return flash_container.html(div_block); } else { return flash_container.append(div_block); } }; this.nonStandardClick = function(event) { return event.which > 1 || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey; }; $(document).on('change', '.datepicker', function() { try { return $(this).val($.datepicker.formatDate('mm/dd/yy', $.datepicker.parseDate('mm/dd/yy', $(this).val()))); } catch (error) { } }).on('click', ".pagination a, .page a, .next a, .prev a", function() { if ($(this).parent().is('.active, .disabled, .per_page')) { return false; } $.get(this.href, null, null, "script"); return false; }).on("click", ".per_page a", function() { var object_class; object_class = $(this).data('object'); $.get($("#" + object_class + "_search").attr("action"), $("#" + object_class + "_search").serialize() + "&" + object_class + "_per_page=" + $(this).data('count'), null, "script"); return false; }).on('click', '[data-object~="order"]', function() { $('#order').val($(this).data('order')); $($(this).data('form')).submit(); return false; }); this.ready = function() { $(".timepicker").timepicker({ showMeridian: false, showSeconds: true, defaultTime: false }); $(".datepicker").datepicker('remove'); $(".datepicker").datepicker({ autoclose: true }); return $('[data-object~="form-load"]').submit(); }; $(document).ready(ready); }).call(this); ;TI"dependency_digest;F"%d4bec24450d3884e28572561558a64d3I"required_paths;F[I"W/Users/remo/code/ruby/gems/contour/app/assets/javascripts/contour/global.js.coffee;TI"dependency_paths;F[{I" path;FI"W/Users/remo/code/ruby/gems/contour/app/assets/javascripts/contour/global.js.coffee;TI" mtime;FI"2013-02-26T12:34:55-05:00;FI" digest;F"%fba1da06fd338873a8c39873e47c561cI" _version;F"%2692bb1967ad3852f45b9762089d56f3