Sha256: f31c6a6758d139b175da1e67ac59319b5a927faec50e5f204d25aa4bb4706a37

Contents?: true

Size: 944 Bytes

Versions: 8

Compression:

Stored size: 944 Bytes

Contents

#speed_gun(data-speed-gun-endpoint="#{SpeedGun.config.prefix}/profile" data-speed-gun-id="#{SpeedGun.current.id}" data-rack-ms="#{SpeedGun.current.profiles.first.elapsed_time * 1000}")
  - if SpeedGun.config.show_button?
    #speed_gun_button(style="position: fixed; bottom: 10px; right: 10px;")
      a#toggle_speed_gun(href="#{File.join(SpeedGun.config.prefix, 'profile', SpeedGun.current.id)}" target="_blank" style="display: block; padding: 2px 5px; font-size: 9px; line-height: 2;  box-shadow: 0 0 2px #333; background-color: #fff; color: #333; text-decoration: none; border-radius: 3px;")
        span#speed_gun_total(style="vertical-align: middle;")
  - unless SpeedGun.config.no_include_jquery?
    script(type="text/javascript" src="#{SpeedGun.config.prefix}/jquery-1.10.2.min.js")
  script(type="text/javascript" src="#{SpeedGun.config.prefix}/browser.js")
  script(type="text/javascript" src="#{SpeedGun.config.prefix}/profiler.js")

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
speed_gun-0.0.4 app/views/speed_gun/_meter.html.slim
speed_gun-0.0.4 lib/speed_gun/app/views/meter.html.slim
speed_gun-0.0.3 app/views/speed_gun/_meter.html.slim
speed_gun-0.0.3 lib/speed_gun/app/views/meter.html.slim
speed_gun-0.0.2 app/views/speed_gun/_meter.html.slim
speed_gun-0.0.2 lib/speed_gun/app/views/meter.html.slim
speed_gun-0.0.1 app/views/speed_gun/_meter.html.slim
speed_gun-0.0.1 lib/speed_gun/app/views/meter.html.slim