spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af in flyboy-0.0.5 vs spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af 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; Fi4I"digest; F"%8a7850f07e39896bd8552fb191e792a3I"source; FI"4/*!
+mtime; Fl+{&UI"length; FiI"digest; F"%b072881b116e0807bb9fcdf42420b333I"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"%c5a909c924033bae93b7eff2fc170853I"
_version; F"%4bf7b15359fe8e0974f7f263e26e27f4
+}).call(this);
+
+
+
+; TI"required_assets_digest; F"%5e111b357f931d2e0d48222d487f2d09I"
_version; F"%4bf7b15359fe8e0974f7f263e26e27f4
\ No newline at end of file