Sha256: 8213461d406dac9ca079d0337d664d8bf8a74cd876df029ba69e5cb10489fce4

Contents?: true

Size: 1.76 KB

Versions: 3

Compression:

Stored size: 1.76 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1352141591.040651:@value"¤{I"
class:EFI"BundledAsset;FI"logical_path;FI"&pivotal_reporter/report_button.js;FI"
pathname;FI"g/Users/pete/Projects/pivotal_reporter/app/assets/javascripts/pivotal_reporter/report_button.js.erb;FI"content_type;FI"application/javascript;FI"
mtime;FI"2012-11-05T12:53:06-06:00;FI"length;Fi«I"digest;F"%decfcbafdb68d954d3f44bad3d726d40I"source;FI"«$(document).ready(function(){
    var slide_action    = -1;
    var container_width = -1;

    $pr_toggle = $('<a href="#" id="pr_report_button" title="Report Bug or Request Feature">!</a>');
    $pr_container = $('<div id="pivotal_reporter">');
    $pr_frame = $('<iframe id="pivotal_reporter_window" border="0" >').attr('src', '/tracker');
    $pr_container.append($pr_frame).hide();

    $pr_toggle.click(function(e){
        h_slide_toggle($pr_container)
    });

    $pr_container
        .mouseover(function(e) {
            clearTimeout(slide_action);
        })
        .mouseout(function(e) {
            slide_action = setTimeout(toggle_report_window, 500);
        });

    $('body').prepend($pr_container).prepend($pr_toggle);

    var container_width = $pr_container.width();

    $pr_container.css('width', 0).css('top', $pr_toggle.css('top')).show();

    function toggle_report_window()
    {
        h_slide_toggle($pr_container);
    }
    function h_slide_toggle($obj)
    {
        var new_w = $obj.css('width') == '0px' ? container_width : 0;

        $obj.animate(
            {
                width: new_w
            },
            250,
            'swing');
    }

});
;FI"required_assets_digest;F"%dd58dc4fd441fd18e8f0729b0d2cca72I"
_version;F"%9f3b95dd7ea3030dc35985c0a8020862

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pivotal_reporter-0.7.2 test/dummy/tmp/cache/assets/D31/620/sprockets%2F6ce94a6b36d1bac354b15b306b4f7245
pivotal_reporter-0.7.1 test/dummy/tmp/cache/assets/D31/620/sprockets%2F6ce94a6b36d1bac354b15b306b4f7245
pivotal_reporter-0.7.0 test/dummy/tmp/cache/assets/D31/620/sprockets%2F6ce94a6b36d1bac354b15b306b4f7245