test/dummy/tmp/cache/assets/DFB/400/sprockets%2F0c2b7f7aeeee011a378b79e3bc28fae5 in cytoplasm-0.3.5 vs test/dummy/tmp/cache/assets/DFB/400/sprockets%2F0c2b7f7aeeee011a378b79e3bc28fae5 in cytoplasm-0.3.6

- old
+ new

@@ -1,8 +1,9 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1357499072.603157: @value"¡{I" +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"2012-12-30T15:09:13-05:00;FI" length;FiOI" digest;F"%c7438692806ff5b1ace1ec6155185948I" source;FI"O// CytoField v0.1 +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:{ @@ -17,11 +18,11 @@ }; var methods = { init:function(options){ return this.each(function(){ - var $this = $(this); + var $this = $(this).addClass('cytoField'); var settings = $.extend(true,{},defaults,options); // Setup widget @@ -52,9 +53,29 @@ 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();}); + $.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"%769e615c88066725e40629b342455472I"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"2012-12-30T15:09:13-05:00;FI" digest;F"%85b142f2b0c533a91bbec0eaf9e62a15I" _version;F"%6776f581a4329e299531e1d52aa59832 +;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 \ No newline at end of file