Sha256: d4f7eb69793f9d314adc1973e3561b67e1e650749d70ef5ee6d6e0b998209036

Contents?: true

Size: 1.31 KB

Versions: 33

Compression:

Stored size: 1.31 KB

Contents

/*
 * JSizes - JQuery plugin v0.33
 *
 * Licensed under the revised BSD License.
 * Copyright 2008-2010 Bram Stein
 * All rights reserved.
 */
(function(b){var a=function(c){return parseInt(c,10)||0};b.each(["min","max"],function(d,c){b.fn[c+"Size"]=function(g){var f,e;if(g){if(g.width!==undefined){this.css(c+"-width",g.width)}if(g.height!==undefined){this.css(c+"-height",g.height)}return this}else{f=this.css(c+"-width");e=this.css(c+"-height");return{width:(c==="max"&&(f===undefined||f==="none"||a(f)===-1)&&Number.MAX_VALUE)||a(f),height:(c==="max"&&(e===undefined||e==="none"||a(e)===-1)&&Number.MAX_VALUE)||a(e)}}}});b.fn.isVisible=function(){return this.is(":visible")};b.each(["border","margin","padding"],function(d,c){b.fn[c]=function(e){if(e){if(e.top!==undefined){this.css(c+"-top"+(c==="border"?"-width":""),e.top)}if(e.bottom!==undefined){this.css(c+"-bottom"+(c==="border"?"-width":""),e.bottom)}if(e.left!==undefined){this.css(c+"-left"+(c==="border"?"-width":""),e.left)}if(e.right!==undefined){this.css(c+"-right"+(c==="border"?"-width":""),e.right)}return this}else{return{top:a(this.css(c+"-top"+(c==="border"?"-width":""))),bottom:a(this.css(c+"-bottom"+(c==="border"?"-width":""))),left:a(this.css(c+"-left"+(c==="border"?"-width":""))),right:a(this.css(c+"-right"+(c==="border"?"-width":"")))}}}})})(jQueryWhowishWord);

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
whowish_word-1.0.0 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.6.5 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.6.4 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.6.3 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.6.2 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.6.2gem lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.6.1 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.6.0 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.5.5 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.5.4 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.5.3 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.5.2 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.5.1 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.5.0 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.4.0 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.3.3 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.3.2 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.3.1 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.3.0 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js
whowish_word-0.2.7 lib/whowish_word/rails/public/javascripts/1_jquery.sizes.min.js