spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 in flyboy-0.0.5 vs spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 in flyboy-0.0.6

- old
+ new

@@ -1,8 +1,8 @@ {I" class:EFI"BundledAsset;FI"logical_path;FI"application.js;TI" pathname;FI"0$root/app/assets/javascripts/application.js;TI"content_type;FI"application/javascript;FI" -mtime;Fl+ęUI" length;Fi4I" digest;F"%ccad13f64a955058eed40f9a74e81c11I" source;FI"4/*! +mtime;Fl+Ēj&UI" length;Fiˆ I" digest;F"%601e37220d4f8ffdae261a9c049369c2I" source;FI"ˆ /*! * jQuery JavaScript Library v1.11.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ @@ -10814,8 +10814,42 @@ rails.refreshCSRFTokens(); }); } })( jQuery ); +(function() { + $(function() { + return $("button.reset").click(function() { + var form; + form = $(this).parents("form"); + form.find("option").map(function() { + if (this.value === "") { + return this.selected = true; + } + }); + form.find("input").map(function() { + if (!this.type.match(/submit|hidden|button/)) { + return this.value = ""; + } + }); + return form.find("textarea").val(""); + }); + }); +}).call(this); +(function() { + $(document).on("ready page:load", function() { + var activeTab; + if (window.location.hash) { + activeTab = $('[href=' + window.location.hash + ']'); + activeTab && activeTab.tab('show'); + } + return $('.nav-tabs a').on('click', function(e) { + return window.location.hash = e.target.hash; + }); + }); -;TI"required_assets_digest;F"%4854e7f8c3c518324be436f5b4cb70c8I" _version;F"%64e62ddc273c2f5847f30d698ca14b67 +}).call(this); + + + +;TI"required_assets_digest;F"%79b215f62027016507be744047799f96I" _version;F"%64e62ddc273c2f5847f30d698ca14b67 \ No newline at end of file