Sha256: 1e7b0f46eb6f796a3a30b0596682e29bc82b0bfe8eda9ace84897b1828d6db0a

Contents?: true

Size: 229 Bytes

Versions: 11

Compression:

Stored size: 229 Bytes

Contents

u = up.util
$ = jQuery

# We have a lot of specs that measure the distance of elements
# from the screen edge, so we can't have the Jasmine runner to have
# any margins on the body.
beforeEach ->
  $('body').css('margin-top': 0)

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
unpoly-rails-1.0.3 spec_app/spec/javascripts/helpers/remove_body_margin.js.coffee
unpoly-rails-1.0.1 spec_app/spec/javascripts/helpers/remove_body_margin.js.coffee
unpoly-rails-1.0.0 spec_app/spec/javascripts/helpers/remove_body_margin.js.coffee
unpoly-rails-0.62.1 spec_app/spec/javascripts/helpers/remove_body_margin.js.coffee
unpoly-rails-0.62.0 spec_app/spec/javascripts/helpers/remove_body_margin.js.coffee
unpoly-rails-0.61.1 spec_app/spec/javascripts/helpers/remove_body_margin.js.coffee
unpoly-rails-0.61.0 spec_app/spec/javascripts/helpers/remove_body_margin.js.coffee
unpoly-rails-0.60.3 spec_app/spec/javascripts/helpers/remove_body_margin.js.coffee
unpoly-rails-0.60.2 spec_app/spec/javascripts/helpers/remove_body_margin.js.coffee
unpoly-rails-0.60.1 spec_app/spec/javascripts/helpers/remove_body_margin.js.coffee
unpoly-rails-0.60.0 spec_app/spec/javascripts/helpers/remove_body_margin.js.coffee