o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1360871912.235003: @value"#{I" class:EFI"ProcessedAsset;FI"logical_path;FI"cytoplasm/cytoSlider.js;FI" pathname;FI"g/Applications/XAMPP/xamppfiles/htdocs/cytoplasm/app/assets/javascripts/cytoplasm/cytoSlider.js.erb;FI"content_type;FI"application/javascript;FI" mtime;FI"2013-02-14T14:40:46-05:00;FI" length;FiºI" digest;F"%74a92b5041382395ff0c8392804a2792I" source;FI"º// CytoSlider v0.5 // By MacKinley Smith (function($){ var defaults = { dimensions:1, widget:{ label:{ css:{ font:'13px TitilliumTextThin' }, element:false, html:"", readout:{ css:{}, unit:false } }, sliders:{ css:{}, elements:[], options:{ min:0, max:100, value:0, step:1, slide:function(e,ui){}, change:function(e,ui){} } }, wrapper:{ css:{ padding:"5px 0px" }, element:false } }, events:{ create:function(cy){}, change:function(cy,event){}, destroy:function(cy){}, resize:function(cy,event){} } }; var methods = { init:function(options,reinit){ if (reinit==null) reinit = false; return this.each(function(){ var $this = $(this); if ($this.data('cytoSlider')!=null) return console.warn("You cannot reinstatiate cytoSlider before calling the destroy method.\nProtip: Use the refresh method to reinstantiate in one move."); if (!$this.hasClass('cytoSlider')) $this.addClass("cytoSlider"); // Initialize settings var settings; if (!reinit) { settings = $.extend(true,{},defaults,options); if ($this.data('settings')!=null) settings = $.extend(true,{},settings,$this.data('settings')); if ($this.data('dimensions')!=null) settings.dimensions = $this.data('dimensions'); if ($this.data('label')!=null) settings.widget.label.html = $this.data('label'); if ($this.data('unit')!=null) settings.widget.label.readout.unit = $this.data('unit'); if ($this.data('min')!=null) settings.widget.sliders.options.min = $this.data('min'); if ($this.data('max')!=null) settings.widget.sliders.options.max = $this.data('max'); if ($this.data('step')!=null) settings.widget.sliders.options.step = $this.data('step'); if ($this.val()!=null && $this.val()!="") settings.widget.sliders.options.value = parseInt($this.val()); } else settings = options; // Generate widget settings.widget.wrapper.element = $this.wrap("
").parent().addClass('cytoSlider-wrapper').css(settings.widget.wrapper.css); settings.widget.label.element = $('