{:uriI"file:///Users/madmax/Programs/itmammoth/with_popup/app/assets/javascripts/with_popup.js?type=application/javascript&pipeline=self&id=a112b38ba537a36c957243b8cfbd566287e37339abb79bd1be6aff352675e886:ET:load_pathI"G/Users/madmax/Programs/itmammoth/with_popup/app/assets/javascripts;T: filenameI"U/Users/madmax/Programs/itmammoth/with_popup/app/assets/javascripts/with_popup.js;T: nameI"with_popup;T:logical_pathI"with_popup.self.js;T:content_typeI"application/javascript;T: sourceI"(function($){ var methods = { init: function(options) { return this.each(function() { var $this = $(this), data = $this.data('withPopup'); if (!data) { default_options = { windowOpenOption: '', } settings = $.extend({}, default_options, options); $this.on('click.withPopup', function(e) { openPopup(e, settings.windowOpenOption); }); $this.data('withPopup', $this); } }); }, }; $.fn.withPopup = function(method) { if (methods[method]) { return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); } else if (typeof method === 'object' || !method) { return methods.init.apply(this, arguments); } else { $.error( 'Method ' + method + ' does not exist on jQuery.withPopup'); } }; var openPopup = function(e, option) { window.open('', 'submitWithPopup', option); }; })(jQuery); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"cfile-digest:///Users/madmax/Programs/itmammoth/with_popup/app/assets/javascripts/with_popup.js;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%VEQ1b1C o: ": lengthi:dependencies_digest"%rEU ©D) KQo]}dO:idI"Ea112b38ba537a36c957243b8cfbd566287e37339abb79bd1be6aff352675e886;F: mtimel+ V