Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Small improvements in the way the "usage message" is printed. #17

Closed
wants to merge 7 commits into from
Closed

Small improvements in the way the "usage message" is printed. #17

wants to merge 7 commits into from

Conversation

detro
Copy link
Collaborator

@detro detro commented Mar 24, 2011

That's at least the idea.

Somehow though I don't seem to be able to just pick the last commit: it must be the fact that I just merged your master tree into mine, creating sort of a dependency tree that comes with my latest commit.

The stuff in those previous commits is already in other pull requests: do as it suits you.

I'm currently on hold for doing the "small class refactoring" that I mentioned before: but the more the code grows, the more I feel like classes should be separated into headers and sources.

Ivan

detro added 7 commits March 1, 2011 12:09
* 'phantom.simulateMouseClick' accepts a 'selector' and clicks on every element that matches the selector
* Added a couple of 'qDebug()' to help debugging PhantomJS
* "phantom.loadJs()" loads a JS file and executes it's content within the current Document Context. It's synchronous.
* "phantom.includeJs()" adds a <script> tag include. It's asynchronous and accepts as second parameter a "callback", fired when the js file has been loaded.
* Some more qDebug() calls
* qDebug() output disabled by default in the .pro file

NOTE: I'm adding qDebug() calls to make development of phantomjs easier and "debuggable"
…rce".

Also:
* I added a couple of "qFatal" where it makes sense.
* Usage now mentions the fact that the input files that finish by ".coffee" are also acceptable
@ariya
Copy link
Owner

ariya commented Mar 25, 2011

A common practice to avoid this kind of confusion is to create a separate branch, from which the pull request is made. Then it should be easy to isolate/control which commit(s) should be in that branch.

@ariya ariya closed this Mar 25, 2011
@detro
Copy link
Collaborator Author

detro commented Mar 25, 2011

About qFatal: I added that there because if the loading of that resource file, something really wrong must be going on. Hence, the use of qFatal.

Anyway, I will sort out the pull request again. Bear with me.

PS I assume that you still don't want to pull in "simulateMouseClick" and "loadJs" :)

@ariya
Copy link
Owner

ariya commented Mar 25, 2011

I already cherry picked the latest commit.

@detro
Copy link
Collaborator Author

detro commented Mar 25, 2011

Ops. Didn't see that.

Have a good day than :)

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

Successfully merging this pull request may close these issues.

2 participants