Sha256: aca534b20a4ca75e49684f4d6eace6d93265e068c4dfb0bf38812f81569a6e69

Contents?: true

Size: 1.83 KB

Versions: 8

Compression:

Stored size: 1.83 KB

Contents

{:uriI"Åfile:///Users/madmax/Programs/itmammoth/with_popup/app/assets/javascripts/with_popup.js?type=application/javascript&pipeline=self&id=8eeaf34231e04a42da6dc3463fededf4ad0a1f65f9fca7788e6f0fe7a4418b31: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) {
          $this.on('click.withPopup', openPopup);
          $(this).data('withPopup' {
            target: $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) {
    window.open('', 'submit_with_popup');
  };
})(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"%lÓ~Öh¼ôf]ÀKvIq¹ŒKaÜÈ-RUáxíiH]:lengthi#:dependencies_digest"%ú8Ü	÷÷¡¶œ±³¾Qˆø2$Ý¢­JËÆÉ á«’q:idI"E8eeaf34231e04a42da6dc3463fededf4ad0a1f65f9fca7788e6f0fe7a4418b31;F:
mtimel+ï V

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
with_popup-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/oqgI5cZUwF48c5d9B7oMA1Xcg4hzIrbUOmQNT2jbxYE.cache
with_popup-0.0.7 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/oqgI5cZUwF48c5d9B7oMA1Xcg4hzIrbUOmQNT2jbxYE.cache
with_popup-0.0.6 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/oqgI5cZUwF48c5d9B7oMA1Xcg4hzIrbUOmQNT2jbxYE.cache
with_popup-0.0.5 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/oqgI5cZUwF48c5d9B7oMA1Xcg4hzIrbUOmQNT2jbxYE.cache
with_popup-0.0.4 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/oqgI5cZUwF48c5d9B7oMA1Xcg4hzIrbUOmQNT2jbxYE.cache
with_popup-0.0.3 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/oqgI5cZUwF48c5d9B7oMA1Xcg4hzIrbUOmQNT2jbxYE.cache
with_popup-0.0.2 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/oqgI5cZUwF48c5d9B7oMA1Xcg4hzIrbUOmQNT2jbxYE.cache
with_popup-0.0.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/oqgI5cZUwF48c5d9B7oMA1Xcg4hzIrbUOmQNT2jbxYE.cache