{I" class:ETI"ProcessedAsset;FI"logical_path;TI"contour/global.js;FI" pathname;TI"W/Users/remo/code/ruby/gems/contour/app/assets/javascripts/contour/global.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;Tl+?ò,QI" length;Ti& I" digest;TI"%9497bf98e4374e0cfa7458de23624887;FI" source;TI"& (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() { var error; try { return $(this).val($.datepicker.formatDate('mm/dd/yy', $.datepicker.parseDate('mm/dd/yy', $(this).val()))); } catch (_error) { error = _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;TI"%6287a453b4834b4b3459ec6c2f206152;FI"required_paths;T[I"W/Users/remo/code/ruby/gems/contour/app/assets/javascripts/contour/global.js.coffee;FI"dependency_paths;T[{I" path;TI"W/Users/remo/code/ruby/gems/contour/app/assets/javascripts/contour/global.js.coffee;FI" mtime;TI"2013-02-26T12:34:55-05:00;TI" digest;TI"%937ccdfb15ea1dafc77c573b612b429c;FI" _version;TI"%028fb680519e7ffd8214646ef90363c7;F