Sha256: 802d4b1ef7ff3f1fcf8f9f02cc99d40cfbddb6c12c540e675f0f36ca9a446d20
Contents?: true
Size: 1.91 KB
Versions: 21
Compression:
Stored size: 1.91 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1357499072.621163:@value"<{I" class:EFI"BundledAsset; FI"logical_path; FI"cytoplasm/cytoField.js; FI" pathname; FI"f/Applications/XAMPP/xamppfiles/htdocs/cytoplasm/app/assets/javascripts/cytoplasm/cytoField.js.erb; FI"content_type; FI"application/javascript; FI" mtime; FI"2012-12-30T15:09:13-05:00; FI"length; FiOI"digest; F"%c7438692806ff5b1ace1ec6155185948I"source; FI"O// CytoField v0.1 // By MacKinley Smith (function($){ var defaults = { widget:{ field:{ } }, events:{ create:function(cy){}, change:function(cy,event){}, destroy:function(cy){} } }; var methods = { init:function(options){ return this.each(function(){ var $this = $(this); var settings = $.extend(true,{},defaults,options); // Setup widget $this.data('cytoField',settings); methods.resize.apply($this); }); }, resize:function(){ return this.each(function(){ var $this = $(this); var settings = $this.data('cytoField'); if (settings==null) return console.warn("You must instantiate $.cytoField before you call the resize method!"); $this.width("100%"); setTimeout(function(){ $this.width($this.width()-16); },1); }); }, destroy:function(){ return this.each(function(){ }); } }; $.fn.cytoField=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 $.cytoField!'); }; $(window).resize(function(){$('.cytoField').cytoField('resize');}); $.Cytoplasm("ready",function(){$('.cytoField').cytoField();}); })(jQuery); ; FI"required_assets_digest; F"%769e615c88066725e40629b342455472I" _version; F"%6776f581a4329e299531e1d52aa59832
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
cytoplasm-0.1.4 | test/dummy/tmp/cache/assets/D49/450/sprockets%2F2b7712073416ff8853efff262ddec53f |