puppeteer/lib
JoelEinbinder bbde8fd1c2 page.evaluate takes a string in addition to function (#135)
This patch improves on page.evaluate to accept a string.
The string can have a trailing '//# sourceURL=' comment which would
name the evaluation to make stacks beautiful.

In order to make sourceURL comments possible, this patch:
- removes wrapping of the client function into `Promise.resolve()`
- stops passing `awaitPromise` parameter to `Runtime.evaluate`
- starts to await promise via the `Runtime.awaitPromise` if the return type of the evaluation
  is promise

closes #118
2017-07-27 12:23:41 -07:00
..
.eslintrc.js Introduce Eslint to validate style 2017-06-11 01:32:59 -07:00
Browser.js Clean up Browser annotations. (#138) 2017-07-25 20:39:50 -07:00
Connection.js Small fixes to jsdoc (#140) 2017-07-26 09:58:03 -07:00
Dialog.js Introduce DEBUG module which traces public API calls 2017-07-18 21:06:03 -07:00
EmulationManager.js Get rid of page.emulate() / page.emulatedDevices() methods 2017-07-20 23:53:06 -07:00
FrameManager.js page.evaluate takes a string in addition to function (#135) 2017-07-27 12:23:41 -07:00
helper.js page.evaluate takes a string in addition to function (#135) 2017-07-27 12:23:41 -07:00
Input.js Wait for double raf after all mouse events. (#123) 2017-07-25 17:03:13 -07:00
NavigatorWatcher.js fix linter (#136) 2017-07-25 16:47:49 -07:00
NetworkManager.js Drop Headers class in favor of a Map object 2017-07-27 09:35:44 -07:00
Page.js page.evaluate takes a string in addition to function (#135) 2017-07-27 12:23:41 -07:00