petecoop / phantasma

A high level promise based wrapper for phantomjs
ISC License
33 stars 8 forks source link

Fix passing instance of phantasma to promise #2

Closed petecoop closed 9 years ago

petecoop commented 9 years ago

Promises need to have the instance of phantasma to refer back to - this is currently done globally, need to pass the instance so that the promise can refer back to the right phantasma instance - allowing for multiple phantasma instances at a time

petecoop commented 9 years ago

This is done, however will need to allow a port option in #1 to allow multiple processes. Could add something to automatically find an open port to use for simplicity