Sha256: 54b72460094aeb645b5eafdc3a1b4b8ac643e55156ac8c8c635cad6cd0cb32b6
Contents?: true
Size: 1.34 KB
Versions: 2
Compression:
Stored size: 1.34 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1388436950.171595:@value"ñ{I" class:EFI"BundledAsset; FI"logical_path; FI"$mercury/modals/insertsnippet.js; FI" pathname; FI"ž/Users/jrissler/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/bundler/gems/mercury-6daffeeb487e/app/assets/javascripts/mercury/modals/insertsnippet.js.coffee; FI"content_type; FI"application/javascript; FI" mtime; FI"2013-11-20T08:09:45-05:00; FI"length; Fi½I"digest; F"%59bd764624e2913e06608744ddc441fdI"source; FI"½(function() { this.Mercury.modalHandlers.insertSnippet = function() { var _this = this; return this.element.find('form').on('submit', function(event) { var serializedForm, snippet; event.preventDefault(); serializedForm = _this.element.find('form').serializeObject(); if (Mercury.snippet) { snippet = Mercury.snippet; snippet.setOptions(serializedForm); Mercury.snippet = null; } else { snippet = Mercury.Snippet.create(_this.options.snippetName, serializedForm); } Mercury.trigger('action', { action: 'insertSnippet', value: snippet }); return _this.hide(); }); }; }).call(this); ; FI"required_assets_digest; F"%c11ec1069b0243588b8789c4e52ff1b6I" _version; F"%6776f581a4329e299531e1d52aa59832
Version data entries
2 entries across 2 versions & 1 rubygems