o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1360694894.4732401: @value"ª {I" class:EFI"ProcessedAsset;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"2013-02-12T13:48:14-05:00;FI" length;FiXI" digest;F"%4841405fe56dd5ae53db7eeae9fe63bfI" source;FI"X// 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).addClass('cytoField'); 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(){ $.Cytoplasm("addStyles","cytofield_styles",{ ".cytoField":{ width:"100%", border:"1px solid #aaa", "border-radius":"5px", "font":$.Cytoplasm("vars","fonts.sizes.normal")+" "+$.Cytoplasm("vars","fonts.faces.regular"), "box-shadow":"inset 0px 0px 5px rgba(0,0,0,0.25)", "&[type=text],&[type=password],&[type=email]":{ height:"28px", padding:"0px 7px" } }, "textarea.cytoField":{ resize:"none", height:"200px", padding:"7px" } }); $('.cytoField').cytoField(); }); })(jQuery); ;FI"dependency_digest;F"%cf1c5f8ed496717c4cb49c0bdb8971bcI"required_paths;F[I"f/Applications/XAMPP/xamppfiles/htdocs/cytoplasm/app/assets/javascripts/cytoplasm/cytoField.js.erb;FI"dependency_paths;F[{I" path;FI"f/Applications/XAMPP/xamppfiles/htdocs/cytoplasm/app/assets/javascripts/cytoplasm/cytoField.js.erb;FI" mtime;FI"2013-02-12T13:48:14-05:00;FI" digest;F"%b656aae9af59b1f4be793e70e187ab4bI" _version;F"%6776f581a4329e299531e1d52aa59832