lib/speed_gun/app/views/meter.html.slim in speed_gun-0.0.4 vs lib/speed_gun/app/views/meter.html.slim in speed_gun-1.0.0.rc1

- old
+ new

@@ -1,9 +1,4 @@ -#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") +div.speed-gun(style="position: fixed; bottom: -1px; right: -1px; border: 1px solid #999; border-radius: 3px 0 0 0; background-color: white; font-size: 9px;") + a(href="#" style="display: block; padding: 5px 10px") + = "%0.2f" % (duration * 1000) + | ms