Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phantomjs 2 #35

Closed
wants to merge 9 commits into from
Closed

Conversation

steakunderscore
Copy link

This is not needed, and is only causing issues. The dependency on >= 1.8.1.1 is for the Phantomjs#run method.

DEfusion and others added 8 commits October 8, 2015 19:10
For some reason it wasn't loading for me and thus the callback was never called. We don't need jQuery to do those calculations anyway so clean it up by removing it.
Happens when div loading is dependent on resources loading.
- Instead of modifying the height of the body (and html) after render we
  just set the mask to take care of it. The image we were getting was of
  the full size page cropped down to the height and the rest filled with
  white. I think this is because the larger initial page size caused the
  viewport to expand but then it didn’t contract.

- Since args.div will supersede the mask eventually, don’t set the mask
  up front if args.div is present. Set the mask solely on the height arg
  as we can default top and left to 0.

This fixes the failing unit tests when running locally.
@steakunderscore
Copy link
Author

I'm just working on why this is not building properly.

@DEfusion @jeremyk :
I might make a bit of noise, so perhaps it might be worth unsubscribing from this PR.

@steakunderscore
Copy link
Author

Never mind, I worked out what was wrong. It was an issue with the version of bundler on TravisCI. @maxwell It's over to you now.

I think we are striking this issue:
rubygems/bundler#3558
@@ -3,4 +3,6 @@ rvm:
- 2.0
- 2.1
- 2.2
before_install:
- gem update bundler
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! How did you figure that out?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a bit of googling for kittens ;)
On 22 Apr 2016 5:17 p.m., "Jeremy Kallman" [email protected] wrote:

In .travis.yml
#35 (comment):

@@ -3,4 +3,6 @@ rvm:

  • 2.0
  • 2.1
  • 2.2
    +before_install:
      • gem update bundler

Nice! How did you figure that out?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/maxwell/screencap/pull/35/files/0478476c539d753644599f4f679ba0ab546f2f99..d5b8a0e17ecd40a5fa38faaa71e08d916d591995#r60804388

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants