test/dummy/tmp/cache/assets/E8C/480/sprockets%2Fdacb331ac961cf7b7cbc69abe8fb74dd in cytoplasm-0.3.7 vs test/dummy/tmp/cache/assets/E8C/480/sprockets%2Fdacb331ac961cf7b7cbc69abe8fb74dd in cytoplasm-0.3.8

- old
+ new

@@ -1,8 +1,8 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1360699656.860242: @value"–{I" +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1360770922.8476381: @value"´{I" class:EFI"BundledAsset;FI"logical_path;FI"cytoplasm/cytoTable.js;FI" pathname;FI"f/Applications/XAMPP/xamppfiles/htdocs/cytoplasm/app/assets/javascripts/cytoplasm/cytoTable.js.erb;FI"content_type;FI"application/javascript;FI" -mtime;FI"2013-02-12T15:07:35-05:00;FI" length;Fi©I" digest;F"%2c571bd8ccfe1d8ec442a9ad931ba14fI" source;FI"©// CytoTable v0.1 +mtime;FI"2013-02-13T10:55:21-05:00;FI" length;FiÇI" digest;F"%dbcbf86421105ecc5f5cdcce5841ca19I" source;FI"Ç// CytoTable v0.1 // By MacKinley Smith (function($){ var defaults = { widget:{ table:{ @@ -66,11 +66,12 @@ }, events:{ onCreate:function(cy){}, onChange:function(cy,event){}, onDestroy:function(cy){}, - onResize:function(cy){} + onResize:function(cy){}, + beforeResize:function(cy){} } }; var methods = { init:function(options){ @@ -176,14 +177,14 @@ return this.each(function(){ var $this = $(this); var settings = $this.data('cytoTable'); if (!$this.hasClass('cytoTable') || settings==null) return console.warn("You must instanciate $.cytoTable before calling the resize method!"); - var w = settings.widget.wrapper.element.css({opacity:0}); + var t = settings.widget.table.element.css({opacity:0}); setTimeout(function(){ settings.events.beforeResize.apply($this,[settings]); - w.width(width).css({opacity:1}); + t.width(width).css({opacity:1}); settings.events.onResize.apply($this,[settings]); },1); }); }, destroy:function(){ @@ -217,6 +218,6 @@ } }); $('.cytoTable').cytoTable(); }); })(jQuery); -;FI"required_assets_digest;F"%88922f7e9ed3286bdbf665c4bfbaa56aI" _version;F"%6776f581a4329e299531e1d52aa59832 +;FI"required_assets_digest;F"%708cfaac51dccb8469592e45a2e9e1a2I" _version;F"%6776f581a4329e299531e1d52aa59832 \ No newline at end of file