test/dummy/tmp/cache/assets/test/sprockets/a3a6cd207915c1867e51fa92ea7827b8 in contour-2.0.0.beta.4 vs test/dummy/tmp/cache/assets/test/sprockets/a3a6cd207915c1867e51fa92ea7827b8 in contour-2.0.0.beta.5

- old
+ new

@@ -1,21 +1,24 @@ {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() { - +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('<br /><div class=\"center\"><img width=\"13\" height=\"13\" src=\"' + root_url + 'assets/contour/ajax-loader.gif\" align=\"absmiddle\" alt=\"...\" />' + text + '</div><br />'); } else if (element) { return element.html('<img width=\"13\" height=\"13\" src=\"' + root_url + 'assets/contour/ajax-loader.gif\" align=\"absmiddle\" alt=\"...\" />' + 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; @@ -32,23 +35,26 @@ 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) { - + } 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')); @@ -70,7 +76,7 @@ }; $(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 +;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 \ No newline at end of file